C# Class CSharpGL.Teapot

Teapot.

Uses OneIndexBuffer

Inheritance: IBufferable
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

Teapot ( ) : System

UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

GetIndexBuffer() public method

public GetIndexBuffer ( ) : IndexBuffer
return IndexBuffer

GetVertexAttributeBuffer() public method

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

Teapot() public method

public Teapot ( ) : System
return System

UsesZeroIndexBuffer() public method

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