 | DataBufferBufferUsage Property |
Get the buffer object's usage pattern.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic DataBufferUsage BufferUsage { get; }Public ReadOnly Property BufferUsage As DataBufferUsage
Get
public:
property DataBufferUsage BufferUsage {
DataBufferUsage get ();
}member BufferUsage : DataBufferUsage with get
Property Value
Type:
DataBufferUsageThe usage pattern.
Exceptions| Exception | Condition |
|---|
| GLException | InvalidOperation if no buffer is bound. |
RemarksNote: 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