C# Class GridViewer.QuadStripColoredModel

/|\ y | | | ---------------> x (0, 0) 0 2 4 6 8 10 -------------------------- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------------------------- 1 3 5 7 9 11 side length is 1.
Inheritance: IBufferable
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
GetIndexBuffer ( ) : IndexBuffer

GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer

QuadStripColoredModel ( int quadCount, Bitmap bitmap ) : System
UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

GetIndexBuffer() public method

public GetIndexBuffer ( ) : IndexBuffer
return CSharpGL.IndexBuffer

GetVertexAttributeBuffer() public method

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

QuadStripColoredModel() public method

public QuadStripColoredModel ( int quadCount, Bitmap bitmap ) : System
quadCount int
bitmap System.Drawing.Bitmap
return System

UsesZeroIndexBuffer() public method

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