enum Gloop::Buffer::AccessMask

Overview

Options for mapping a subset of a buffer.

Defined in:

gloop/buffer/access_mask.cr

Enum Members

Read = 1_u32
Write = 2_u32
InvalidateRange = 4_u32
InvalidateBuffer = 8_u32
FlushExplicit = 16_u32
Unsynchronized = 32_u32
Persistent = 64_u32
Coherent = 128_u32
None = 0_u32
All = 255_u32

Instance Method Summary

Instance Method Detail

def coherent? #

[View source]
def flush_explicit? #

[View source]
def invalidate_buffer? #

[View source]
def invalidate_range? #

[View source]
def none? #

[View source]
def persistent? #

[View source]
def read? #

[View source]
def read_only? #

Indicates whether the mapped data will be read-only with the selected flags.


[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]
def unsynchronized? #

[View source]
def write? #

[View source]