Partager via


ParameterDescription Structure (Microsoft.DirectX.Direct3D)

Describes a parameter that is used for an effect object.

Definition

Visual Basic Public Structure ParameterDescription
C# public struct ParameterDescription 
C++ public value class ParameterDescription 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.

Methods

Method Description
ParameterDescription Initializes a new instance of the ParameterDescription class.
ToString Obtains a string representation of the current instance.

Properties

Property Description
Annotations Retrieves the number of annotations for the parameter description.
Bytes Contains the size of the parameter in bytes.
Class Retrieves the parameter class, which is one of the values in the ParameterClass enumeration.
Columns Retrieves the number of columns in the array.
Elements Retrieves the number of elements in the array.
Flags Retrieves the parameter attributes.
Name Retrieves the name of the parameter.
Rows Retrieves the number of rows in the array.
Semantic Retrieves the semantic meaning, also called the usage.
StructMembers Retrieves the number of structure members.
Type Retrieves the parameter type, which is one of the values in the ParameterType enumeration.

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