pub struct GemBufferObject {
pub handle: u32,
pub size: usize,
pub domain: MemoryDomain,
pub cache_mode: CacheMode,
pub pinned: bool,
pub data: Vec<u8>,
pub name: [u8; 32],
pub name_len: usize,
/* private fields */
}Expand description
GEM buffer object
Fields§
§handle: u32Unique handle
size: usizeSize in bytes
domain: MemoryDomainCurrent memory domain
cache_mode: CacheModeCache mode
pinned: boolWhether the buffer is pinned (cannot be evicted)
data: Vec<u8>Backing storage
name: [u8; 32]Name (for debugging)
name_len: usize