enum GpuCapabilityBits

Enum describing the different hardware capabilities we can check for.

Values

NameValueDescription
RSC_TEXTURE_COMPRESSION_BC 1 Supports compressed textures in the BC formats.
RSC_TEXTURE_COMPRESSION_ETC2 2 Supports compressed textures in the ETC2 and EAC format.
RSC_TEXTURE_COMPRESSION_ASTC 4 Supports compressed textures in the ASTC format.
RSC_GEOMETRY_PROGRAM 8 Supports GPU geometry programs.
RSC_TESSELLATION_PROGRAM 16 Supports GPU tessellation programs.
RSC_COMPUTE_PROGRAM 32 Supports GPU compute programs.
RSC_LOAD_STORE 64 Supports load-store (unordered access) writes to textures/buffers in GPU programs.
RSC_LOAD_STORE_MSAA 128 Supports load-store (unordered access) writes to textures with multiple samples.
RSC_TEXTURE_VIEWS 256 Supports views that allow a sub-set of a texture to be bound to a GPU program. (i.e. specific mip level or mip range, and/or specific array slice or array slice range)
RSC_BYTECODE_CACHING 512 GPU programs are allowed to cache their bytecode for faster compilation.
RSC_RENDER_TARGET_LAYERS 1024 Supports rendering to multiple layers of a render texture at once.
RSC_MULTI_THREADED_CB 2048 Has native support for command buffers that can be populated from secondary threads.
RSC_TIMER_QUERIES 4096 Supports GPU timer queries for measuring elapsed time of GPU work.