C# Class CSharpGL.Axis

an 3D axis
Inheritance: IBufferable
Mostrar archivo Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Axis ( int partCount = 24, float radius = 0.5f ) : System

an 3D axis

GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

Axis() public method

an 3D axis
public Axis ( int partCount = 24, float radius = 0.5f ) : System
partCount int
radius float
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