Microsoft DirectX 9.0 SDK Update (October 2004)

ShaderConstantTable Structure

Language:

Note: This documentation is preliminary and is subject to change.

Contains the shader constant table that is embedded inside the shader.

Definition

Visual Basic .NET Public Structure ShaderConstantTable
C# public struct ShaderConstantTable
Managed C++ public __value struct ShaderConstantTable
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
ShaderConstantTable Initializes a new instance of the ShaderConstantTable class.
ToString Obtains a string representation of the current instance.
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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center