C# Class CSharpGL.RandomPointsModel

Model of random points.
Inheritance: CSharpGL.IBufferable
Show file Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
GetIndexBuffer ( ) : CSharpGL.IndexBuffer
GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : CSharpGL.VertexBuffer
RandomPointsModel ( vec3 lengths, int pointCount ) : System
UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

GetIndexBuffer() public method

public GetIndexBuffer ( ) : CSharpGL.IndexBuffer
return CSharpGL.IndexBuffer

GetVertexAttributeBuffer() public method

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

RandomPointsModel() public method

public RandomPointsModel ( vec3 lengths, int pointCount ) : System
lengths vec3
pointCount int
return System

UsesZeroIndexBuffer() public method

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