WebGPU Headers: Constants
Constants. More...
Macros | |
| #define | WGPU_TRUE (UINT32_C(1)) |
| #define | WGPU_FALSE (UINT32_C(0)) |
| #define | WGPU_ARRAY_LAYER_COUNT_UNDEFINED (UINT32_MAX) |
| #define | WGPU_COPY_STRIDE_UNDEFINED (UINT32_MAX) |
| #define | WGPU_DEPTH_CLEAR_VALUE_UNDEFINED (NAN) |
| #define | WGPU_DEPTH_SLICE_UNDEFINED (UINT32_MAX) |
| #define | WGPU_LIMIT_U32_UNDEFINED (UINT32_MAX) |
| #define | WGPU_LIMIT_U64_UNDEFINED (UINT64_MAX) |
| #define | WGPU_MIP_LEVEL_COUNT_UNDEFINED (UINT32_MAX) |
| #define | WGPU_QUERY_SET_INDEX_UNDEFINED (UINT32_MAX) |
| #define | WGPU_STRLEN (SIZE_MAX) |
| #define | WGPU_WHOLE_MAP_SIZE (SIZE_MAX) |
| #define | WGPU_WHOLE_SIZE (UINT64_MAX) |
Constants.
◆ WGPU_TRUE
#define WGPU_TRUE (UINT32_C(1))
◆ WGPU_FALSE
#define WGPU_FALSE (UINT32_C(0))
◆ WGPU_ARRAY_LAYER_COUNT_UNDEFINED
#define WGPU_ARRAY_LAYER_COUNT_UNDEFINED (UINT32_MAX)
Indicates no array layer count is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_COPY_STRIDE_UNDEFINED
#define WGPU_COPY_STRIDE_UNDEFINED (UINT32_MAX)
Indicates no copy stride is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_DEPTH_CLEAR_VALUE_UNDEFINED
#define WGPU_DEPTH_CLEAR_VALUE_UNDEFINED (NAN)
Indicates no depth clear value is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_DEPTH_SLICE_UNDEFINED
#define WGPU_DEPTH_SLICE_UNDEFINED (UINT32_MAX)
Indicates no depth slice is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_LIMIT_U32_UNDEFINED
#define WGPU_LIMIT_U32_UNDEFINED (UINT32_MAX)
For uint32_t limits, indicates no limit value is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_LIMIT_U64_UNDEFINED
#define WGPU_LIMIT_U64_UNDEFINED (UINT64_MAX)
For uint64_t limits, indicates no limit value is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_MIP_LEVEL_COUNT_UNDEFINED
#define WGPU_MIP_LEVEL_COUNT_UNDEFINED (UINT32_MAX)
Indicates no mip level count is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_QUERY_SET_INDEX_UNDEFINED
#define WGPU_QUERY_SET_INDEX_UNDEFINED (UINT32_MAX)
Indicates no query set index is specified. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_STRLEN
#define WGPU_STRLEN (SIZE_MAX)
Sentinel value used in WGPUStringView to indicate that the pointer is to a null-terminated string, rather than an explicitly-sized string.
◆ WGPU_WHOLE_MAP_SIZE
#define WGPU_WHOLE_MAP_SIZE (SIZE_MAX)
Indicates a size extending to the end of the buffer. For more info, see Sentinel Values and the places that use this sentinel value.
◆ WGPU_WHOLE_SIZE
#define WGPU_WHOLE_SIZE (UINT64_MAX)
Indicates a size extending to the end of the buffer. For more info, see Sentinel Values and the places that use this sentinel value.