Click or drag to resize

DataBufferSize Property

Get the size of the buffer in bytes.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int Size { get; }

Property Value

Type: Int32
The size of the buffer in bytes.
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_SIZE)

See Also