Method | Description | |
---|---|---|
GetIndexBuffer ( ) : |
|
|
GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : |
|
|
UsesZeroIndexBuffer ( ) : bool |
|
|
ZeroAttributeModel ( DrawMode mode, int firstVertex, int vertexCount, int primCount = 1 ) : System |
Bufferable model with zero vertex attribute.
|
public GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : |
||
bufferName | string | |
varNameInShader | string | |
return |
public ZeroAttributeModel ( DrawMode mode, int firstVertex, int vertexCount, int primCount = 1 ) : System | ||
mode | DrawMode | 渲染模式。 |
firstVertex | int | 要渲染的第一个顶点的位置。 |
vertexCount | int | 要渲染多少个元素? |
primCount | int | primCount in instanced rendering. |
return | System |