C# Класс Fusion.Drivers.Graphics.VertexAttribute

Наследование: System.Attribute
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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