The ID3DXTextureShader interface.
Method | Description |
---|---|
ID3DXTextureShader::GetConstant | Gets a constant by looking up its index. |
ID3DXTextureShader::GetConstantBuffer | Get a pointer to the constant table. |
ID3DXTextureShader::GetConstantByName | Gets a constant by looking up its name. |
ID3DXTextureShader::GetConstantDesc | Gets a pointer to the array of constants in the constant table. |
ID3DXTextureShader::GetConstantElement | Get a constant from the constant table. |
ID3DXTextureShader::GetDesc | Gets a description of the constant table. |
ID3DXTextureShader::GetFunction | Gets a pointer the the function DWORD stream. |
ID3DXTextureShader::SetBool | Sets a BOOL value. |
ID3DXTextureShader::SetBoolArray | Sets an array of BOOL values. |
ID3DXTextureShader::SetDefaults | Sets the constants to the default values declared in the shader. |
ID3DXTextureShader::SetFloat | Sets a floating-point number. |
ID3DXTextureShader::SetFloatArray | Sets an array of floating-point numbers. |
ID3DXTextureShader::SetInt | Sets an integer value. |
ID3DXTextureShader::SetIntArray | Sets an array of integers. |
ID3DXTextureShader::SetMatrix | Sets a non-transposed matrix. |
ID3DXTextureShader::SetMatrixArray | Sets an array of non-transposed matrices. |
ID3DXTextureShader::SetMatrixPointerArray | Sets an array of pointers to non-transposed matrices. |
ID3DXTextureShader::SetMatrixTranspose | Sets a transposed matrix. |
ID3DXTextureShader::SetMatrixTransposeArray | Sets an array of transposed matrices. |
ID3DXTextureShader::SetMatrixTransposePointerArray | Sets an array of pointers to transposed matrices. |
ID3DXTextureShader::SetValue | Sets the constant table with the data in the buffer. |
ID3DXTextureShader::SetVector | Sets a 4D vector. |
ID3DXTextureShader::SetVectorArray | Sets an array of 4D vectors. |
The ID3DXTextureShader interface is obtained by calling the D3DXCreateTextureShader function.
The ID3DXTextureShader interface, like all COM interfaces, inherits the IUnknown interface.
The LPD3DXTEXTURESHADER type is defined as a pointer to the ID3DXTextureShader interface.
typedef interface ID3DXTextureShader *LPD3DXTEXTURESHADER;
Header: Declared in D3dx9shader.h.
Import Library: Use D3dx9.lib.