C# 클래스 Vector.Gpu.VertexDeclaration

Vertex Declaration

Describes a Vertex

파일 보기 프로젝트 열기: sinclairzx81/vector-cs 1 사용 예제들

공개 메소드들

메소드 설명
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