ShaderConstantTable Structure
|
Language: |
Contains the shader constant table that is embedded inside the shader.
Definition
Visual Basic |
Public Structure ShaderConstantTable |
C# |
public struct ShaderConstantTable |
C++ |
public value class ShaderConstantTable sealed |
JScript |
In JScript, you can use structures, but you cannot define your own. |
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method |
Description |
ShaderConstantTable
|
Initializes a new instance of the ShaderConstantTable class. |
ToString
|
Obtains a string representation of the current instance. |
Properties
Property |
Description |
BuildInfo
|
Retrieves or sets the offset, in bytes, to the build information. |
ConstantInformation
|
Retrieves or sets the offset, in bytes, to the constant information. |
Constants
|
Retrieves or sets the number of constants. |
Creator
|
Retrieves or sets the offset, in bytes, to the name of the effect creator. |
Flags
|
Retrieves or sets one or more values from the ShaderFlags enumeration that specify the compiler flags used to build the shader. |
Size
|
Retrieves or sets the size of a constant. |
Target
|
Retrieves or sets the offset, in bytes, into the string that contains the target. |
Version
|
Retrieves or sets the shader version. |
Structure Information
Namespace |
Microsoft.DirectX.Direct3D |
Assembly |
Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) |
Strong Name |
Microsoft.DirectX.Direct3DX,
Version=1.0.900.0,
Culture=neutral,
PublicKeyToken=d3231b57b74a1492 |
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center