Bitmap for WPF
InputElement コンストラクタ(String,Int32,Format,Int32,Int32)

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > InputElement 構造体 > InputElement コンストラクタ : InputElement コンストラクタ(String,Int32,Format,Int32,Int32)
The HLSL semantic associated with this element in a shader input-signature.
The semantic index for the element. A semantic index modifies a semantic, with an integer index number. A semantic index is only needed in a case where there is more than one element with the same semantic. For example, a 4x4 matrix would have four components each with the semantic name matrix, however each of the four component would have different semantic indices (0, 1, 2, and 3).
The data type of the element data.
Offset (in bytes) between each element. Use AppendAligned for convenience to define the current element directly after the previous one, including any packing if necessary.
An integer value that identifies the input-assembler. Valid values are between 0 and 15.
Initializes a new instance of the InputElementstruct.
シンタックス
'宣言
 
Public Function New( _
   ByVal name As System.String, _
   ByVal index As System.Integer, _
   ByVal format As Format, _
   ByVal offset As System.Integer, _
   ByVal slot As System.Integer _
)
public InputElement( 
   System.string name,
   System.int index,
   Format format,
   System.int offset,
   System.int slot
)

パラメータ

name
The HLSL semantic associated with this element in a shader input-signature.
index
The semantic index for the element. A semantic index modifies a semantic, with an integer index number. A semantic index is only needed in a case where there is more than one element with the same semantic. For example, a 4x4 matrix would have four components each with the semantic name matrix, however each of the four component would have different semantic indices (0, 1, 2, and 3).
format
The data type of the element data.
offset
Offset (in bytes) between each element. Use AppendAligned for convenience to define the current element directly after the previous one, including any packing if necessary.
slot
An integer value that identifies the input-assembler. Valid values are between 0 and 15.
参照

InputElement 構造体
InputElement メンバ
オーバーロード一覧