C# Class CSharpGL.Demos.PointSpriteRenderer.PointSpriteModel

Inheritance: IBufferable
ファイルを表示 Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
GetIndexBuffer ( ) : IndexBuffer
GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer
PointSpriteModel ( int particleCount ) : System
UsesZeroIndexBuffer ( ) : bool

Uses ZeroIndexBuffer or OneIndexBuffer.

Method Details

GetIndexBuffer() public method

public GetIndexBuffer ( ) : IndexBuffer
return IndexBuffer

GetVertexAttributeBuffer() public method

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

PointSpriteModel() public method

public PointSpriteModel ( int particleCount ) : System
particleCount int
return System

UsesZeroIndexBuffer() public method

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