C# Class CSharpGL.BoundingBoxModel

bounding box's model.
Inheritance: IBufferable
Mostra file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
BoundingBoxModel ( vec3 lengths ) : System

bounding box.

GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

BoundingBoxModel() public method

bounding box.
public BoundingBoxModel ( vec3 lengths ) : System
lengths vec3 bounding box's length at x, y, z axis.
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