Closed PhoneCoolie closed 1 year ago
I'm attempting to migrate the following code from SharpDX but cant work out the equivalent in Vortice.Windows:
UntexturedVertexShaderByteCode = ShaderBytecode.Compile(UntexturedShaderBytes, "VS", "vs_4_0"); UntexturedVertexShader = new VertexShader(DeviceFactory.D3DDevice, UntexturedVertexShaderByteCode);
UntexturedInputSignature = ShaderSignature.GetInputSignature(UntexturedVertexShaderByteCode); UntexturedInputLayout = new InputLayout(DeviceFactory.D3DDevice, UntexturedInputSignature, elements);
Could you point me in the right direction please?
Thanks Paul
Discussed in https://github.com/amerkoleci/Vortice.Windows/discussions/153
I'm attempting to migrate the following code from SharpDX but cant work out the equivalent in Vortice.Windows:
UntexturedVertexShaderByteCode = ShaderBytecode.Compile(UntexturedShaderBytes, "VS", "vs_4_0"); UntexturedVertexShader = new VertexShader(DeviceFactory.D3DDevice, UntexturedVertexShaderByteCode);
UntexturedInputSignature = ShaderSignature.GetInputSignature(UntexturedVertexShaderByteCode); UntexturedInputLayout = new InputLayout(DeviceFactory.D3DDevice, UntexturedInputSignature, elements);
Could you point me in the right direction please?
Thanks Paul