C# Class CSharpGL.PixelUnpackBuffer

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

Public Methods

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

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

Private Methods

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

pixel unpack buffer's pointer.

Method Details

Create() public static method

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