ShaderConstantInformation Structure
|
Language: |
Contains shader constant information.
Definition
Visual Basic |
Public Structure ShaderConstantInformation |
C# |
public struct ShaderConstantInformation |
C++ |
public value class ShaderConstantInformation 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 |
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.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