ShaderConstant Members
The following tables list the members exposed by the ShaderConstant type.
Public Properties
Name | Description | |
---|---|---|
ColumnCount | Gets the number of columns in the ShaderConstant. | |
ElementCount | Gets the number of elements in the ShaderConstant. | |
Name | Gets the name of the ShaderConstant. | |
ParameterClass | Gets the EffectParameterClass of the ShaderConstant. | |
ParameterType | Gets the EffectParameterType of the ShaderConstant. | |
RegisterCount | Gets the number of registers that contain data. | |
RegisterIndex | Gets the index of the ShaderConstant in the constant table. | |
RegisterSet | Gets the data type of the shader register. | |
RowCount | Gets the number of rows in the ShaderConstant. | |
SamplerIndex | Gets the sampler index number of the ShaderConstant from the constant table. | |
StructureMemberCount | Gets the number of structure member subparameters. |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
SetValue | Overloaded. Sets the value of a ShaderConstant. | |
SetValueTranspose | Overloaded. Sets the value of a ShaderConstant to an array. | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
ShaderConstant Class
Microsoft.Xna.Framework.Graphics Namespace