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
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public GetIndexBuffer ( ) : IndexBuffer
Résultat CSharpGL.IndexBuffer

GetVertexAttributeBuffer() public méthode

public GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer
bufferName string
varNameInShader string
Résultat CSharpGL.VertexBuffer

QuadStripColoredModel() public méthode

public QuadStripColoredModel ( int quadCount, Bitmap bitmap ) : System
quadCount int
bitmap System.Drawing.Bitmap
Résultat System

UsesZeroIndexBuffer() public méthode

Uses ZeroIndexBuffer or OneIndexBuffer.
public UsesZeroIndexBuffer ( ) : bool
Résultat bool