C# Class CSharpGL.Chain

链条。若干个点用直线连接起来。

使用ZeroIndexBuffer

Inheritance: IBufferable
Afficher le fichier Open project: bitzhuwei/CSharpGL

Méthodes publiques

Méthode Description
Chain ( int pointCount = 10, int length = 5, int width = 5, int height = 5 ) : System

链条。若干个点用直线连接起来。

GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

Chain() public méthode

链条。若干个点用直线连接起来。
public Chain ( int pointCount = 10, int length = 5, int width = 5, int height = 5 ) : System
pointCount int 有多少个点
length int 点的范围(长度)
width int 点的范围(宽度)
height int 点的范围(高度)
Résultat System

GetIndexBuffer() public méthode

public GetIndexBuffer ( ) : IndexBuffer
Résultat IndexBuffer

GetVertexAttributeBuffer() public méthode

public GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer
bufferName string
varNameInShader string
Résultat VertexBuffer

UsesZeroIndexBuffer() public méthode

Uses ZeroIndexBuffer or OneIndexBuffer.
public UsesZeroIndexBuffer ( ) : bool
Résultat bool