C# Class Fusion.Drivers.Graphics.VertexAttribute

Inheritance: System.Attribute
显示文件 Open project: demiurghg/FusionEngine

Public Properties

Property Type Description
Index int
InputSlot int
InstanceStepRate int
Name string

Public Methods

Method Description
VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System

Method Details

VertexAttribute() public method

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.
return 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
return 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
return 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
return int

Name public_oe property

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