C# Class Fusion.Drivers.Graphics.VertexAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: demiurghg/FusionEngine

Méthodes publiques

Свойство Type Description
Index int
InputSlot int
InstanceStepRate int
Name string

Méthodes publiques

Méthode Description
VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System

Method Details

VertexAttribute() public méthode

public VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System
name string The HLSL semantic associated with this element in a shader input-signature.
index int 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.
inputSlot int An integer value that identifies the input-assembler (see input slot). Valid values are between 0 and 15.
instanceStepRate int The number of instances to draw using the same per-instance data before advancing in the buffer by one element. Zero means pervertex data.
Résultat System

Property Details

Index public_oe property

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.
public int Index
Résultat int

InputSlot public_oe property

An integer value that identifies the input-assembler (see input slot). Valid values are between 0 and 15.
public int InputSlot
Résultat int

InstanceStepRate public_oe property

The number of instances to draw using the same per-instance data before advancing in the buffer by one element. Zero means per-vertex data.
public int InstanceStepRate
Résultat int

Name public_oe property

The HLSL semantic associated with this element in a shader input-signature.
public string Name
Résultat string