enum Gloop::Buffer::Storage

Overview

Flags indicating how a buffer's immutable storage can be used.

Defined in:

gloop/buffer/storage.cr

Enum Members

MapRead = 1_u32
MapWrite = 2_u32
MapPersistent = 64_u32
MapCoherent = 128_u32
DynamicStorage = 256_u32
ClientStorage = 512_u32

Instance Method Summary

Instance Method Detail

def client_storage? #

[View source]
def dynamic_storage? #

[View source]
def map_coherent? #

[View source]
def map_persistent? #

[View source]
def map_read? #

[View source]
def map_write? #

[View source]
def none? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]