I've read that the input layout is bound to the vertex format and to the shader. Do you have to create a seperate input layout for every VertexFormat/VertexShader combinationen Thanks.
I've read that the input layout is bound to the vertex format and to the shader. Do you have to create a seperate input layout for every VertexFormat/VertexShader combinationen Thanks.
Input Layout and Shaders
yonderstar
JonasSam
Do you mean the new InputLayout from Direct3D 10 or the VertexDeclaration for Direct3D 9 In the case of Direct3D 10 you should use the beta newsgroups for your question. See http://msdn.com/directx/beta for more information.
Anyway independent form the version you need normally one for each combination of vertex buffers you use as long as you always use the same semantic in your vertex shaders.
thenujay