C# 클래스 Fusion.Drivers.Graphics.VertexAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: demiurghg/FusionEngine

공개 프로퍼티들

프로퍼티 타입 설명
Index int
InputSlot int
InstanceStepRate int
Name string

공개 메소드들

메소드 설명
VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System

메소드 상세

VertexAttribute() 공개 메소드

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.
리턴 System

프로퍼티 상세

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.
public int Index
리턴 int

InputSlot 공개적으로 프로퍼티

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

InstanceStepRate 공개적으로 프로퍼티

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
리턴 int

Name 공개적으로 프로퍼티

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