Custom DxcIncludeHandler #378
PhoneCoolie
started this conversation in
General
Replies: 1 comment
-
Please use Discussions in future, anyway: You can take look here how to compile shader: There are lot of samples on how to create vertex/pixel/InputLayout under D3D11, like this one: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #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
Beta Was this translation helpful? Give feedback.
All reactions