C# Class CSharpGL.Cube

Cube. http://images.cnblogs.com/cnblogs_com/bitzhuwei/554293/o_CubeModel.jpg

Uses OneIndexBuffer

Inheritance: IBufferable
Mostrar archivo Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Cube ( ) : System

Cube ( vec3 lengths ) : System

GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

Cube() public method

public Cube ( ) : System
return System

Cube() public method

public Cube ( vec3 lengths ) : System
lengths vec3
return System

GetIndexBuffer() public method

public GetIndexBuffer ( ) : IndexBuffer
return IndexBuffer

GetVertexAttributeBuffer() public method

public GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer
bufferName string
varNameInShader string
return VertexBuffer

UsesZeroIndexBuffer() public method

Uses ZeroIndexBuffer or OneIndexBuffer.
public UsesZeroIndexBuffer ( ) : bool
return bool