I would like to be able to set a constant value for a particular attribute in 3D 11.
What will be the equivalent of the following code in D11?
glVertexAttribPointer (pos, and pos [0], ...); GlEnableVertexAttribArray (POS); GlVertexAttribPointer (color, faucet, ...); GlDisableVertexAttribArray (color); GlVertexAttrib4fv (color, & default color); GlDrawArrays (...);
When you create input layout Input Assembler you can specify that a Feature of went or not towards the top or counter-example:
typed Faanm 3D 11_INPUT_CLASSIFICATION {D3D11_INPUT_PER_VERTEX_DATA = 0, 3D 11_INPUT_PER_INSTANCE_DATA = 1} 3D 11_INPUT_CLASSIFICATION; If you have sustained all corners depending on the counter-example can provide color.
No comments:
Post a Comment