MemoryRequirements

Undocumented in source.

Members

Variables

alignment
size_t alignment;

alignment required when binding the resource to a memory with offset

memTypeMask
uint memTypeMask;

mask where each bit is set if the corresponding memory type is supported. For example if the resource supports types 0 and 2 from MemoryProperties, memTypeMask will be 00000101

size
size_t size;

minimal allocation requirement

Meta