Méthode | Description | |
---|---|---|
GetIndexBuffer ( ) : IndexBuffer | ||
GetPosition ( double t ) : vec3 | ||
GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer |
获取指定的顶点属性缓存。 Gets specified vertex buffer object.
|
|
TrefoilKnotModel ( double interval = 0.02 ) : System | ||
UsesZeroIndexBuffer ( ) : bool |
Uses ZeroIndexBuffer or OneIndexBuffer.
|
Méthode | Description | |
---|---|---|
GetPositionBuffer ( string varNameInShader ) : VertexBuffer | ||
GetTexCoordBuffer ( string varNameInShader ) : VertexBuffer | ||
GetUCount ( double interval ) : int |
public GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer | ||
bufferName | string | buffer name(Gets this name from 'strPosition' etc. |
varNameInShader | string | name in vertex shader like `in vec3 in_Position;`. |
Résultat | VertexBuffer |
public TrefoilKnotModel ( double interval = 0.02 ) : System | ||
interval | double | |
Résultat | System |