Esempio n. 1
0
    public override void CreateShader()
    {
        FreeResource();

        mDeviceShader = new SharpDX.Direct3D11.VertexShader(_device.Device, mCompiledShader);
        if (_device.IsDebugDevice())
        {
            mDeviceShader.DebugName = Name;
        }
    }