C# Class CSharpGL.TextureBuffer

Buffer object that not work as input variable in shader.
Inheritance: Buffer
Exibir arquivo Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Create ( Type elementType, int length, BufferUsage usage ) : TextureBuffer

Creates a TextureBuffer object directly in server side(GPU) without initializing its value.

Private Methods

Method Description
TextureBuffer ( uint bufferId, int length, int byteLength ) : System

TextureBufferObject matches uniform samplerBuffer xxx; in GLSL shader.

Method Details

Create() public static method

Creates a TextureBuffer object directly in server side(GPU) without initializing its value.
public static Create ( Type elementType, int length, BufferUsage usage ) : TextureBuffer
elementType System.Type
length int
usage BufferUsage
return TextureBuffer