C# Class CSharpGL.Demos.SimpleComputeRenderer.SimpleCompute

Inheritance: IBufferable
显示文件 Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
GetIndexBuffer ( ) : IndexBuffer
GetVertexAttributeBuffer ( string bufferName, string varNameInShader ) : VertexBuffer
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

UsesZeroIndexBuffer() public method

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