Microsoft DirectX 8.1 (C++) |
Direct3DX supplies the following shader functions.
Assemble Shader | D3DXAssembleShader |
D3DXAssembleShaderFromFile | |
D3DXAssembleShaderFromResource |
The assembler assumes that it is assembling a vertex shader (version 1.0) unless a version token is encountered at the start of the assembly.
For more information about coding vertex and pixel shaders, see Direct3DX Shader Assemblers Reference.
For more information about using vertex shaders, see Vertex Shaders.
For more information about using pixel shaders, see Pixel Shaders.