Blender V5.0
GPU_format.hh File Reference
#include "BLI_assert.h"
#include "BLI_sys_types.h"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define DECLARE(a, b, c, blender_enum, d, e, f, g, h)
#define GPU_DATA_FORMAT_EXPAND(impl)
#define CASE(a, size, c, blender_enum, d, e, f, g, h)
#define CASE(a, b, comp, blender_enum, d, e, f, g, h)
Standard Formats
#define SNORM_8_(impl)
#define SNORM_8_8_(impl)
#define SNORM_8_8_8_(impl)
#define SNORM_8_8_8_8_(impl)
#define SNORM_16_(impl)
#define SNORM_16_16_(impl)
#define SNORM_16_16_16_(impl)
#define SNORM_16_16_16_16_(impl)
#define UNORM_8_(impl)
#define UNORM_8_8_(impl)
#define UNORM_8_8_8_(impl)
#define UNORM_8_8_8_8_(impl)
#define UNORM_16_(impl)
#define UNORM_16_16_(impl)
#define UNORM_16_16_16_(impl)
#define UNORM_16_16_16_16_(impl)
#define SINT_8_(impl)
#define SINT_8_8_(impl)
#define SINT_8_8_8_(impl)
#define SINT_8_8_8_8_(impl)
#define SINT_16_(impl)
#define SINT_16_16_(impl)
#define SINT_16_16_16_(impl)
#define SINT_16_16_16_16_(impl)
#define SINT_32_(impl)
#define SINT_32_32_(impl)
#define SINT_32_32_32_(impl)
#define SINT_32_32_32_32_(impl)
#define UINT_8_(impl)
#define UINT_8_8_(impl)
#define UINT_8_8_8_(impl)
#define UINT_8_8_8_8_(impl)
#define UINT_16_(impl)
#define UINT_16_16_(impl)
#define UINT_16_16_16_(impl)
#define UINT_16_16_16_16_(impl)
#define UINT_32_(impl)
#define UINT_32_32_(impl)
#define UINT_32_32_32_(impl)
#define UINT_32_32_32_32_(impl)
#define SFLOAT_16_(impl)
#define SFLOAT_16_16_(impl)
#define SFLOAT_16_16_16_(impl)
#define SFLOAT_16_16_16_16_(impl)
#define SFLOAT_32_(impl)
#define SFLOAT_32_32_(impl)
#define SFLOAT_32_32_32_(impl)
#define SFLOAT_32_32_32_32_(impl)
Special Formats
#define SNORM_10_10_10_2_(impl)
#define UNORM_10_10_10_2_(impl)
#define UINT_10_10_10_2_(impl)
#define UFLOAT_11_11_10_(impl)
#define UFLOAT_9_9_9_EXP_5_(impl)
#define SRGBA_8_8_8_8_(impl)
#define SRGBA_8_8_8_(impl)
#define UNORM_16_DEPTH_(impl)
#define UNORM_24_DEPTH_(impl)
#define UNORM_24_DEPTH_UINT_8_(impl)
#define SFLOAT_32_DEPTH_(impl)
#define SFLOAT_32_DEPTH_UINT_8_(impl)
#define SNORM_DXT1_(impl)
#define SNORM_DXT3_(impl)
#define SNORM_DXT5_(impl)
#define SRGB_DXT1_(impl)
#define SRGB_DXT3_(impl)
#define SRGB_DXT5_(impl)

Enumerations

Data Formats
enum class  blender::gpu::DataFormat : uint8_t { blender::gpu::Invalid = 0 }

Functions

Utilities

Allow querying information about the format enum values.

int blender::gpu::to_bytesize (const DataFormat format)
int blender::gpu::format_component_len (const DataFormat format)

Macro Definition Documentation

◆ CASE [1/2]

#define CASE ( a,
b,
comp,
blender_enum,
d,
e,
f,
g,
h )
Value:
case DataFormat::blender_enum: \
return comp;

◆ CASE [2/2]

#define CASE ( a,
size,
c,
blender_enum,
d,
e,
f,
g,
h )
Value:
case DataFormat::blender_enum: \
return size;
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition btDbvt.cpp:52

Referenced by blender::gpu::format_component_len(), blender::gpu::gpu_texture_format_to_metal(), blender::gpu::to_bytesize(), blender::gpu::to_gl_internal_format(), and blender::gpu::to_vk_format().

◆ DECLARE

#define DECLARE ( a,
b,
c,
blender_enum,
d,
e,
f,
g,
h )
Value:
blender_enum,

Definition at line 131 of file GPU_format.hh.

◆ GPU_DATA_FORMAT_EXPAND

#define GPU_DATA_FORMAT_EXPAND ( impl)

Definition at line 133 of file GPU_format.hh.

Referenced by blender::gpu::format_component_len(), and blender::gpu::to_bytesize().

◆ SFLOAT_16_

#define SFLOAT_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 1, 1, SFLOAT_16, R16_SFLOAT, R16Float, Half1, R16F, r16_sfloat)

Definition at line 74 of file GPU_format.hh.

◆ SFLOAT_16_16_

#define SFLOAT_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 2, 2, SFLOAT_16_16, R16G16_SFLOAT, RG16Float, Half2, RG16F, rg16_sfloat)

Definition at line 75 of file GPU_format.hh.

◆ SFLOAT_16_16_16_

#define SFLOAT_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 3, 3, SFLOAT_16_16_16, R16G16B16_SFLOAT, RGBA16Float, Half3, RGB16F, rgb16_sfloat)

Definition at line 76 of file GPU_format.hh.

◆ SFLOAT_16_16_16_16_

#define SFLOAT_16_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 4, 4, SFLOAT_16_16_16_16, R16G16B16A16_SFLOAT, RGBA16Float, Half4, RGBA16F, rgba16_sfloat)

Definition at line 77 of file GPU_format.hh.

◆ SFLOAT_32_

#define SFLOAT_32_ ( impl)
Value:
impl(float, 4 * 1, 1, SFLOAT_32, R32_SFLOAT, R32Float, Float1, R32F, r32_sfloat)

Definition at line 79 of file GPU_format.hh.

◆ SFLOAT_32_32_

#define SFLOAT_32_32_ ( impl)
Value:
impl(float2, 4 * 2, 2, SFLOAT_32_32, R32G32_SFLOAT, RG32Float, Float2, RG32F, rg32_sfloat)

Definition at line 80 of file GPU_format.hh.

◆ SFLOAT_32_32_32_

#define SFLOAT_32_32_32_ ( impl)
Value:
impl(float3, 4 * 3, 3, SFLOAT_32_32_32, R32G32B32_SFLOAT, RGBA32Float, Float3, RGB32F, rgb32_sfloat)

Definition at line 81 of file GPU_format.hh.

◆ SFLOAT_32_32_32_32_

#define SFLOAT_32_32_32_32_ ( impl)
Value:
impl(float4, 4 * 4, 4, SFLOAT_32_32_32_32, R32G32B32A32_SFLOAT, RGBA32Float, Float4, RGBA32F, rgba32_sfloat)

Definition at line 82 of file GPU_format.hh.

◆ SFLOAT_32_DEPTH_

#define SFLOAT_32_DEPTH_ ( impl)
Value:
impl(/*TODO*/, 4, 1, SFLOAT_32_DEPTH, D32_SFLOAT, Depth32Float, /* n/a */, DEPTH_COMPONENT32F, /* n/a */ )

Definition at line 107 of file GPU_format.hh.

◆ SFLOAT_32_DEPTH_UINT_8_

#define SFLOAT_32_DEPTH_UINT_8_ ( impl)
Value:
impl(/*TODO*/, 8, 1, SFLOAT_32_DEPTH_UINT_8, D32_SFLOAT_S8_UINT, Depth32Float_Stencil8, /* n/a */, DEPTH32F_STENCIL8, /* n/a */ )

Definition at line 108 of file GPU_format.hh.

◆ SINT_16_

#define SINT_16_ ( impl)
Value:
impl(int16_t, 2 * 1, 1, SINT_16, R16_SINT, R16Sint, Short1, R16I, r16_sint)

Definition at line 49 of file GPU_format.hh.

◆ SINT_16_16_

#define SINT_16_16_ ( impl)
Value:
impl(short2, 2 * 2, 2, SINT_16_16, R16G16_SINT, RG16Sint, Short2, RG16I, rg16_sint)
VecBase< short, 2 > short2

Definition at line 50 of file GPU_format.hh.

◆ SINT_16_16_16_

#define SINT_16_16_16_ ( impl)
Value:
impl(short3, 2 * 3, 3, SINT_16_16_16, R16G16B16_SINT, RGBA16Sint, Short3, RGB16I, rgb16_sint)
VecBase< short, 3 > short3

Definition at line 51 of file GPU_format.hh.

◆ SINT_16_16_16_16_

#define SINT_16_16_16_16_ ( impl)
Value:
impl(short4, 2 * 4, 4, SINT_16_16_16_16, R16G16B16A16_SINT, RGBA16Sint, Short4, RGBA16I, rgba16_sint)
VecBase< short, 4 > short4

Definition at line 52 of file GPU_format.hh.

◆ SINT_32_

#define SINT_32_ ( impl)
Value:
impl(int32_t, 4 * 1, 1, SINT_32, R32_SINT, R32Sint, Int1, R32I, r32_sint)

Definition at line 54 of file GPU_format.hh.

◆ SINT_32_32_

#define SINT_32_32_ ( impl)
Value:
impl(int2, 4 * 2, 2, SINT_32_32, R32G32_SINT, RG32Sint, Int2, RG32I, rg32_sint)

Definition at line 55 of file GPU_format.hh.

◆ SINT_32_32_32_

#define SINT_32_32_32_ ( impl)
Value:
impl(int3, 4 * 3, 3, SINT_32_32_32, R32G32B32_SINT, RGBA32Sint, Int3, RGB32I, rgb32_sint)

Definition at line 56 of file GPU_format.hh.

◆ SINT_32_32_32_32_

#define SINT_32_32_32_32_ ( impl)
Value:
impl(int4, 4 * 4, 4, SINT_32_32_32_32, R32G32B32A32_SINT, RGBA32Sint, Int4, RGBA32I, rgba32_sint)

Definition at line 57 of file GPU_format.hh.

◆ SINT_8_

#define SINT_8_ ( impl)
Value:
impl(int8_t, 1 * 1, 1, SINT_8, R8_SINT, R8Sint, Char1, R8I, r8_sint)

Definition at line 44 of file GPU_format.hh.

◆ SINT_8_8_

#define SINT_8_8_ ( impl)
Value:
impl(char2, 1 * 2, 2, SINT_8_8, R8G8_SINT, RG8Sint, Char2, RG8I, rg8_sint)
VecBase< char, 2 > char2

Definition at line 45 of file GPU_format.hh.

◆ SINT_8_8_8_

#define SINT_8_8_8_ ( impl)
Value:
impl(char3, 1 * 3, 3, SINT_8_8_8, R8G8B8_SINT, RGBA8Sint, Char3, RGB8I, rgb8_sint)
VecBase< char, 3 > char3

Definition at line 46 of file GPU_format.hh.

◆ SINT_8_8_8_8_

#define SINT_8_8_8_8_ ( impl)
Value:
impl(char4, 1 * 4, 4, SINT_8_8_8_8, R8G8B8A8_SINT, RGBA8Sint, Char4, RGBA8I, rgba8_sint)
VecBase< char, 4 > char4

Definition at line 47 of file GPU_format.hh.

◆ SNORM_10_10_10_2_

#define SNORM_10_10_10_2_ ( impl)
Value:
impl(/*TODO*/, 4, 4, SNORM_10_10_10_2, A2B10G10R10_SNORM_PACK32, /* n/a */, Int1010102Normalized, /* n/a */, /* n/a */ )

Definition at line 94 of file GPU_format.hh.

◆ SNORM_16_

#define SNORM_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 1, 1, SNORM_16, R16_SNORM, R16Snorm, Short1Normalized, R16_SNORM, r16_snorm)

Definition at line 29 of file GPU_format.hh.

◆ SNORM_16_16_

#define SNORM_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 2, 2, SNORM_16_16, R16G16_SNORM, RG16Snorm, Short2Normalized, RG16_SNORM, rg16_snorm)

Definition at line 30 of file GPU_format.hh.

◆ SNORM_16_16_16_

#define SNORM_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 3, 3, SNORM_16_16_16, R16G16B16_SNORM, RGBA16Snorm, Short3Normalized, RGB16_SNORM, rgb16_snorm)

Definition at line 31 of file GPU_format.hh.

◆ SNORM_16_16_16_16_

#define SNORM_16_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 4, 4, SNORM_16_16_16_16, R16G16B16A16_SNORM, RGBA16Snorm, Short4Normalized, RGBA16_SNORM, rgba16_snorm)

Definition at line 32 of file GPU_format.hh.

◆ SNORM_8_

#define SNORM_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 1, 1, SNORM_8, R8_SNORM, R8Snorm, Char1Normalized, R8_SNORM, r8_snorm)

Definition at line 24 of file GPU_format.hh.

◆ SNORM_8_8_

#define SNORM_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 2, 2, SNORM_8_8, R8G8_SNORM, RG8Snorm, Char2Normalized, RG8_SNORM, rg8_snorm)

Definition at line 25 of file GPU_format.hh.

◆ SNORM_8_8_8_

#define SNORM_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 3, 3, SNORM_8_8_8, R8G8B8_SNORM, RGBA8Snorm, Char3Normalized, RGB8_SNORM, rgb8_snorm)

Definition at line 26 of file GPU_format.hh.

◆ SNORM_8_8_8_8_

#define SNORM_8_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 4, 4, SNORM_8_8_8_8, R8G8B8A8_SNORM, RGBA8Snorm, Char4Normalized, RGBA8_SNORM, rgba8_snorm)

Definition at line 27 of file GPU_format.hh.

◆ SNORM_DXT1_

#define SNORM_DXT1_ ( impl)
Value:
impl(/* n/a */, 1, 1, SNORM_DXT1, BC1_RGBA_UNORM_BLOCK, BC1_RGBA, /* n/a */, COMPRESSED_RGBA_S3TC_DXT1_EXT, /* n/a */ )

Definition at line 110 of file GPU_format.hh.

◆ SNORM_DXT3_

#define SNORM_DXT3_ ( impl)
Value:
impl(/* n/a */, 1, 1, SNORM_DXT3, BC2_UNORM_BLOCK, BC2_RGBA, /* n/a */, COMPRESSED_RGBA_S3TC_DXT3_EXT, /* n/a */ )

Definition at line 111 of file GPU_format.hh.

◆ SNORM_DXT5_

#define SNORM_DXT5_ ( impl)
Value:
impl(/* n/a */, 1, 1, SNORM_DXT5, BC3_UNORM_BLOCK, BC3_RGBA, /* n/a */, COMPRESSED_RGBA_S3TC_DXT5_EXT, /* n/a */ )

Definition at line 112 of file GPU_format.hh.

◆ SRGB_DXT1_

#define SRGB_DXT1_ ( impl)
Value:
impl(/* n/a */, 1, 1, SRGB_DXT1, BC1_RGBA_SRGB_BLOCK, BC1_RGBA_sRGB, /* n/a */, COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, /* n/a */ )

Definition at line 113 of file GPU_format.hh.

◆ SRGB_DXT3_

#define SRGB_DXT3_ ( impl)
Value:
impl(/* n/a */, 1, 1, SRGB_DXT3, BC2_SRGB_BLOCK, BC2_RGBA_sRGB, /* n/a */, COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, /* n/a */ )

Definition at line 114 of file GPU_format.hh.

◆ SRGB_DXT5_

#define SRGB_DXT5_ ( impl)
Value:
impl(/* n/a */, 1, 1, SRGB_DXT5, BC3_SRGB_BLOCK, BC3_RGBA_sRGB, /* n/a */, COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, /* n/a */ )

Definition at line 115 of file GPU_format.hh.

◆ SRGBA_8_8_8_

#define SRGBA_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 3, 3, SRGBA_8_8_8, R8G8B8_SRGB, RGBA8Unorm_sRGB, /* n/a */, SRGB8, /* n/a */ )

Definition at line 102 of file GPU_format.hh.

◆ SRGBA_8_8_8_8_

#define SRGBA_8_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 4, 4, SRGBA_8_8_8_8, R8G8B8A8_SRGB, RGBA8Unorm_sRGB, /* n/a */, SRGB8_ALPHA8, /* n/a */ )

Definition at line 101 of file GPU_format.hh.

◆ UFLOAT_11_11_10_

#define UFLOAT_11_11_10_ ( impl)
Value:
impl(/*TODO*/, 4, 3, UFLOAT_11_11_10, B10G11R11_UFLOAT_PACK32, RG11B10Float, FloatRG11B10, R11F_G11F_B10F, r11_g11_b10_ufloat)

Definition at line 98 of file GPU_format.hh.

◆ UFLOAT_9_9_9_EXP_5_

#define UFLOAT_9_9_9_EXP_5_ ( impl)
Value:
impl(/*TODO*/, 4, 3, UFLOAT_9_9_9_EXP_5, E5B9G9R9_UFLOAT_PACK32, RGB9E5Float, FloatRGB9E5, RGB9_E5, /* n/a */)

Definition at line 99 of file GPU_format.hh.

◆ UINT_10_10_10_2_

#define UINT_10_10_10_2_ ( impl)
Value:
impl(/*TODO*/, 4, 4, UINT_10_10_10_2, A2B10G10R10_UINT_PACK32, RGB10A2Uint, /* n/a */, RGB10_A2UI, rgb10_a2_uint )

Definition at line 96 of file GPU_format.hh.

◆ UINT_16_

#define UINT_16_ ( impl)
Value:
impl(uint16_t, 2 * 1, 1, UINT_16, R16_UINT, R16Uint, UShort1, R16UI, r16_uint)

Definition at line 64 of file GPU_format.hh.

◆ UINT_16_16_

#define UINT_16_16_ ( impl)
Value:
impl(ushort2, 2 * 2, 2, UINT_16_16, R16G16_UINT, RG16Uint, UShort2, RG16UI, rg16_uint)
VecBase< ushort, 2 > ushort2

Definition at line 65 of file GPU_format.hh.

◆ UINT_16_16_16_

#define UINT_16_16_16_ ( impl)
Value:
impl(ushort3, 2 * 3, 3, UINT_16_16_16, R16G16B16_UINT, RGBA16Uint, UShort3, RGB16UI, rgb16_uint)
VecBase< ushort, 3 > ushort3

Definition at line 66 of file GPU_format.hh.

◆ UINT_16_16_16_16_

#define UINT_16_16_16_16_ ( impl)
Value:
impl(ushort4, 2 * 4, 4, UINT_16_16_16_16, R16G16B16A16_UINT, RGBA16Uint, UShort4, RGBA16UI, rgba16_uint)

Definition at line 67 of file GPU_format.hh.

◆ UINT_32_

#define UINT_32_ ( impl)
Value:
impl(uint32_t, 4 * 1, 1, UINT_32, R32_UINT, R32Uint, UInt1, R32UI, r32_uint)

Definition at line 69 of file GPU_format.hh.

◆ UINT_32_32_

#define UINT_32_32_ ( impl)
Value:
impl(uint2, 4 * 2, 2, UINT_32_32, R32G32_UINT, RG32Uint, UInt2, RG32UI, rg32_uint)

Definition at line 70 of file GPU_format.hh.

◆ UINT_32_32_32_

#define UINT_32_32_32_ ( impl)
Value:
impl(uint3, 4 * 3, 3, UINT_32_32_32, R32G32B32_UINT, RGBA32Uint, UInt3, RGB32UI, rgb32_uint)

Definition at line 71 of file GPU_format.hh.

◆ UINT_32_32_32_32_

#define UINT_32_32_32_32_ ( impl)
Value:
impl(uint4, 4 * 4, 4, UINT_32_32_32_32, R32G32B32A32_UINT, RGBA32Uint, UInt4, RGBA32UI, rgba32_uint)

Definition at line 72 of file GPU_format.hh.

◆ UINT_8_

#define UINT_8_ ( impl)
Value:
impl(uint8_t, 1 * 1, 1, UINT_8, R8_UINT, R8Uint, UChar1, R8UI, r8_uint)

Definition at line 59 of file GPU_format.hh.

◆ UINT_8_8_

#define UINT_8_8_ ( impl)
Value:
impl(uchar2, 1 * 2, 2, UINT_8_8, R8G8_UINT, RG8Uint, UChar2, RG8UI, rg8_uint)

Definition at line 60 of file GPU_format.hh.

◆ UINT_8_8_8_

#define UINT_8_8_8_ ( impl)
Value:
impl(uchar3, 1 * 3, 3, UINT_8_8_8, R8G8B8_UINT, RGBA8Uint, UChar3, RGB8UI, rgb8_uint)

Definition at line 61 of file GPU_format.hh.

◆ UINT_8_8_8_8_

#define UINT_8_8_8_8_ ( impl)
Value:
impl(uchar4, 1 * 4, 4, UINT_8_8_8_8, R8G8B8A8_UINT, RGBA8Uint, UChar4, RGBA8UI, rgba8_uint)

Definition at line 62 of file GPU_format.hh.

◆ UNORM_10_10_10_2_

#define UNORM_10_10_10_2_ ( impl)
Value:
impl(/*TODO*/, 4, 4, UNORM_10_10_10_2, A2B10G10R10_UNORM_PACK32, RGB10A2Unorm, UInt1010102Normalized, RGB10_A2, rgb10_a2_unorm )

Definition at line 95 of file GPU_format.hh.

◆ UNORM_16_

#define UNORM_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 1, 1, UNORM_16, R16_UNORM, R16Unorm, UShort1Normalized, R16, r16_unorm)

Definition at line 39 of file GPU_format.hh.

◆ UNORM_16_16_

#define UNORM_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 2, 2, UNORM_16_16, R16G16_UNORM, RG16Unorm, UShort2Normalized, RG16, rg16_unorm)

Definition at line 40 of file GPU_format.hh.

◆ UNORM_16_16_16_

#define UNORM_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 3, 3, UNORM_16_16_16, R16G16B16_UNORM, RGBA16Unorm, UShort3Normalized, RGB16, rgb16_unorm)

Definition at line 41 of file GPU_format.hh.

◆ UNORM_16_16_16_16_

#define UNORM_16_16_16_16_ ( impl)
Value:
impl(/*TODO*/, 2 * 4, 4, UNORM_16_16_16_16, R16G16B16A16_UNORM, RGBA16Unorm, UShort4Normalized, RGBA16, rgba16_unorm)

Definition at line 42 of file GPU_format.hh.

◆ UNORM_16_DEPTH_

#define UNORM_16_DEPTH_ ( impl)
Value:
impl(/*TODO*/, 4, 1, UNORM_16_DEPTH, D16_UNORM, Depth16Unorm, /* n/a */, DEPTH_COMPONENT16, /* n/a */ )

Definition at line 104 of file GPU_format.hh.

◆ UNORM_24_DEPTH_

#define UNORM_24_DEPTH_ ( impl)
Value:
impl(/*TODO*/, 4, 1, UNORM_24_DEPTH, X8_D24_UNORM_PACK32, Depth24Unorm_Stencil8, /* n/a */, DEPTH_COMPONENT24, /* n/a */ )

Definition at line 105 of file GPU_format.hh.

◆ UNORM_24_DEPTH_UINT_8_

#define UNORM_24_DEPTH_UINT_8_ ( impl)
Value:
impl(/*TODO*/, 8, 1, UNORM_24_DEPTH_UINT_8, D24_UNORM_S8_UINT, Depth24Unorm_Stencil8, /* n/a */, DEPTH24_STENCIL8, /* n/a */ )

Definition at line 106 of file GPU_format.hh.

◆ UNORM_8_

#define UNORM_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 1, 1, UNORM_8, R8_UNORM, R8Unorm, UChar1Normalized, R8, r8_unorm)

Definition at line 34 of file GPU_format.hh.

◆ UNORM_8_8_

#define UNORM_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 2, 2, UNORM_8_8, R8G8_UNORM, RG8Unorm, UChar2Normalized, RG8, rg8_unorm)

Definition at line 35 of file GPU_format.hh.

◆ UNORM_8_8_8_

#define UNORM_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 3, 3, UNORM_8_8_8, R8G8B8_UNORM, RGBA8Unorm, UChar3Normalized, RGB8, rgb8_unorm)

Definition at line 36 of file GPU_format.hh.

◆ UNORM_8_8_8_8_

#define UNORM_8_8_8_8_ ( impl)
Value:
impl(/*TODO*/, 1 * 4, 4, UNORM_8_8_8_8, R8G8B8A8_UNORM, RGBA8Unorm, UChar4Normalized, RGBA8, rgba8_unorm)

Definition at line 37 of file GPU_format.hh.