enum Gloop::Buffer::Usage

Overview

Hints indicating how a buffer's data will be used.

Defined in:

gloop/buffer/usage.cr

Enum Members

StreamDraw = 35040_u32
StreamRead = 35041_u32
StreamCopy = 35042_u32
StaticDraw = 35044_u32
StaticRead = 35045_u32
StaticCopy = 35046_u32
DynamicDraw = 35048_u32
DynamicRead = 35049_u32
DynamicCopy = 35050_u32

Instance Method Summary

Instance Method Detail

def dynamic_copy? #

[View source]
def dynamic_draw? #

[View source]
def dynamic_read? #

[View source]
def static_copy? #

[View source]
def static_draw? #

[View source]
def static_read? #

[View source]
def stream_copy? #

[View source]
def stream_draw? #

[View source]
def stream_read? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]