C# Класс Vector.Gpu.VertexDeclaration

Vertex Declaration

Describes a Vertex

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetDeclarationFromType ( Type vertexStructure ) : VertexDeclaration

Builds a VertexDeclaration based on a Vertex structure type. The Vertex Structure "must" have a StructLayout and also have VertexAttributes applied to its fields.

ToString ( ) : string

Returns a string representation of this Vertex Declaration.

VertexDeclaration ( ) : System
VertexDeclaration ( VertexElement elements ) : System

Описание методов

GetDeclarationFromType() публичный статический Метод

Builds a VertexDeclaration based on a Vertex structure type. The Vertex Structure "must" have a StructLayout and also have VertexAttributes applied to its fields.
public static GetDeclarationFromType ( Type vertexStructure ) : VertexDeclaration
vertexStructure System.Type
Результат VertexDeclaration

ToString() публичный Метод

Returns a string representation of this Vertex Declaration.
public ToString ( ) : string
Результат string

VertexDeclaration() публичный Метод

public VertexDeclaration ( ) : System
Результат System

VertexDeclaration() публичный Метод

public VertexDeclaration ( VertexElement elements ) : System
elements VertexElement
Результат System