Game Development Reference
In-Depth Information
The first two parameters are standard: the unsigned char array that contains the
bytes for the shader data and the length of the data. The third parameter provides
the class linkage data. However, unless you're working with the advanced features
in Shader Model 5 you won't need this; passing the nullptr is fine. Finally you get
the shader from the final parameter using a pointer to an ID3D11VertexShader-
pointer . Pixel shaders are similar; just change the name.
Search WWH ::




Custom Search