ShaderConstantInformation Structure
|
Language: |
Note: This documentation is preliminary and is subject to change.
Contains shader constant information.
Definition
Visual Basic .NET |
Public Structure ShaderConstantInformation |
C# |
public struct ShaderConstantInformation |
Managed C++ |
public __value struct ShaderConstantInformation |
JScript .NET |
In JScript .NET, 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 |
ShaderConstantInformation
|
Initializes a new instance of the ShaderConstantInformation class. |
ToString
|
Obtains a string representation of the current instance. |
Properties
Property |
Description |
DefaultValue
|
Retrieves or sets the offset, in bytes, to the string that contains the default value of the shader constant. |
Name
|
Retrieves or sets the offset, in bytes, to the name of the shader constant. |
RegisterCount
|
Retrieves or sets the number of registers. |
RegisterIndex
|
Retrieves or sets the register index. |
RegisterSet
|
Retrieves or sets a value from the RegisterSet enumeration that specifies the shader register data type. |
TypeInformation
|
Retrieves or sets the offset, in bytes, to the type information of a shader constant. |
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