ChannelData Bytecodes

The ChannelData bytecodes are defined in the MemoryAllocationRequest struct, specifying memory allocations for resources like command buffers and textures in the Channel paradigm.

MemoryAllocationRequest Struct

Field Type Description
ma_size uint64_t Size of allocation
ma_name void * Name or identifier
ma_ram_type uint8_t Memory domain (e.g., GPU)
ma_data_type uint8_t Data type (e.g., float)
ma_dimension_type uint8_t Dimensionality (e.g., array)
ma_flags uint8_t Modifiers (e.g., signed)
ma_pad char[24] Alignment padding

Bytecode Definitions

ma_ram_type

ma_data_type

ma_dimension_type

ma_flags

These bytecodes enable precise resource allocation for blitter commands, supporting Vulkan’s memory model with 64-bit alignment.