 | 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)
Syntaxpublic DataBuffer.Usage BufferUsage { get; }
Public ReadOnly Property BufferUsage As DataBuffer.Usage
Get
public:
property DataBuffer.Usage BufferUsage {
DataBuffer.Usage get ();
}
member BufferUsage : DataBuffer.Usage with get
Property Value
Type:
DataBuffer.UsageThe usage pattern.
ExceptionsException | 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