C# Class CSharpGL.TextureBuffer

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

Méthodes publiques

Méthode Description
Create ( Type elementType, int length, BufferUsage usage ) : TextureBuffer

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

Private Methods

Méthode Description
TextureBuffer ( uint bufferId, int length, int byteLength ) : System

TextureBufferObject matches uniform samplerBuffer xxx; in GLSL shader.

Method Details

Create() public static méthode

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
Résultat TextureBuffer