Click or drag to resize

DataBuffer.BufferUsage Property

Get the buffer object's usage pattern.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public DataBuffer.Usage BufferUsage { get; }

Property Value

Type: DataBuffer.Usage
The usage pattern.
Exceptions
ExceptionCondition
GLExceptionInvalidOperation if no buffer is bound.
Remarks
Note: in DEBUG mode with assertions enabled, an error will be logged to the debug console if this buffer is not bound.

OpenGL API: glGetBufferParameteriv(GL_BUFFER_USAGE)

See Also