Share via


ShaderConstant Members

The following tables list the members exposed by the ShaderConstant type.

Public Properties

Name Description
Public Property ColumnCount Gets the number of columns in the ShaderConstant.
Public Property ElementCount Gets the number of elements in the ShaderConstant.
Public Property Name Gets the name of the ShaderConstant.
Public Property ParameterClass Gets the EffectParameterClass of the ShaderConstant.
Public Property ParameterType Gets the EffectParameterType of the ShaderConstant.
Public Property RegisterCount Gets the number of registers that contain data.
Public Property RegisterIndex Gets the index of the ShaderConstant in the constant table.
Public Property RegisterSet Gets the data type of the shader register.
Public Property RowCount Gets the number of rows in the ShaderConstant.
Public Property SamplerIndex Gets the sampler index number of the ShaderConstant from the constant table.
Public Property StructureMemberCount Gets the number of structure member subparameters.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetValue Overloaded. Sets the value of a ShaderConstant.
Public Method SetValueTranspose Overloaded. Sets the value of a ShaderConstant to an array.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

ShaderConstant Class
Microsoft.Xna.Framework.Graphics Namespace