RenderingDevice

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Methods

void

barrier ( int from=7, int to=7 )

Error

buffer_clear ( RID buffer, int offset, int size_bytes, int post_barrier=7 )

PackedByteArray

buffer_get_data ( RID buffer )

Error

buffer_update ( RID buffer, int offset, int size_bytes, PackedByteArray data, int post_barrier=7 )

void

capture_timestamp ( String name )

void

compute_list_add_barrier ( int compute_list )

int

compute_list_begin ( bool allow_draw_overlap=false )

void

compute_list_bind_compute_pipeline ( int compute_list, RID compute_pipeline )

void

compute_list_bind_uniform_set ( int compute_list, RID uniform_set, int set_index )

void

compute_list_dispatch ( int compute_list, int x_groups, int y_groups, int z_groups )

void

compute_list_end ( int post_barrier=7 )

void

compute_list_set_push_constant ( int compute_list, PackedByteArray buffer, int size_bytes )

RID

compute_pipeline_create ( RID shader, RDPipelineSpecializationConstant[] specialization_constants=[] )

bool

compute_pipeline_is_valid ( RID compute_pieline )

RenderingDevice

create_local_device ( )

void

draw_command_begin_label ( String name, Color color )

void

draw_command_end_label ( )

void

draw_command_insert_label ( String name, Color color )

int

draw_list_begin ( RID framebuffer, InitialAction initial_color_action, FinalAction final_color_action, InitialAction initial_depth_action, FinalAction final_depth_action, PackedColorArray clear_color_values=PackedColorArray(), float clear_depth=1.0, int clear_stencil=0, Rect2 region=Rect2(0, 0, 0, 0), Array storage_textures=[] )

int

draw_list_begin_for_screen ( int screen=0, Color clear_color=Color(0, 0, 0, 1) )

PackedInt64Array

draw_list_begin_split ( RID framebuffer, int splits, InitialAction initial_color_action, FinalAction final_color_action, InitialAction initial_depth_action, FinalAction final_depth_action, PackedColorArray clear_color_values=PackedColorArray(), float clear_depth=1.0, int clear_stencil=0, Rect2 region=Rect2(0, 0, 0, 0), RID[] storage_textures=[] )

void

draw_list_bind_index_array ( int draw_list, RID index_array )

void

draw_list_bind_render_pipeline ( int draw_list, RID render_pipeline )

void

draw_list_bind_uniform_set ( int draw_list, RID uniform_set, int set_index )

void

draw_list_bind_vertex_array ( int draw_list, RID vertex_array )

void

draw_list_disable_scissor ( int draw_list )

void

draw_list_draw ( int draw_list, bool use_indices, int instances, int procedural_vertex_count=0 )

void

draw_list_enable_scissor ( int draw_list, Rect2 rect=Rect2(0, 0, 0, 0) )

void

draw_list_end ( int post_barrier=7 )

void

draw_list_set_blend_constants ( int draw_list, Color color )

void

draw_list_set_push_constant ( int draw_list, PackedByteArray buffer, int size_bytes )

int

draw_list_switch_to_next_pass ( )

PackedInt64Array

draw_list_switch_to_next_pass_split ( int splits )

RID

framebuffer_create ( RID[] textures, int validate_with_format=-1, int view_count=1 )

RID

framebuffer_create_empty ( Vector2i size, TextureSamples samples=0, int validate_with_format=-1 )

RID

framebuffer_create_multipass ( RID[] textures, RDFramebufferPass[] passes, int validate_with_format=-1, int view_count=1 )

int

framebuffer_format_create ( RDAttachmentFormat[] attachments, int view_count=1 )

int

framebuffer_format_create_empty ( TextureSamples samples=0 )

int

framebuffer_format_create_multipass ( RDAttachmentFormat[] attachments, RDFramebufferPass[] passes, int view_count=1 )

TextureSamples

framebuffer_format_get_texture_samples ( int format, int render_pass=0 )

int

framebuffer_get_format ( RID framebuffer )

bool

framebuffer_is_valid ( RID framebuffer ) const

void

free_rid ( RID rid )

void

full_barrier ( )

int

get_captured_timestamp_cpu_time ( int index ) const

int

get_captured_timestamp_gpu_time ( int index ) const

String

get_captured_timestamp_name ( int index ) const

int

get_captured_timestamps_count ( ) const

int

get_captured_timestamps_frame ( ) const

String

get_device_name ( ) const

String

get_device_pipeline_cache_uuid ( ) const

String

get_device_vendor_name ( ) const

int

get_driver_resource ( DriverResource resource, RID rid, int index )

int

get_frame_delay ( ) const

int

get_memory_usage ( MemoryType type ) const

RID

index_array_create ( RID index_buffer, int index_offset, int index_count )

RID

index_buffer_create ( int size_indices, IndexBufferFormat format, PackedByteArray data=PackedByteArray(), bool use_restart_indices=false )

int

limit_get ( Limit limit ) const

RID

render_pipeline_create ( RID shader, int framebuffer_format, int vertex_format, RenderPrimitive primitive, RDPipelineRasterizationState rasterization_state, RDPipelineMultisampleState multisample_state, RDPipelineDepthStencilState stencil_state, RDPipelineColorBlendState color_blend_state, int dynamic_state_flags=0, int for_render_pass=0, RDPipelineSpecializationConstant[] specialization_constants=[] )

bool

render_pipeline_is_valid ( RID render_pipeline )

RID

sampler_create ( RDSamplerState state )

int

screen_get_framebuffer_format ( ) const

int

screen_get_height ( int screen=0 ) const

int

screen_get_width ( int screen=0 ) const

void

set_resource_name ( RID id, String name )

PackedByteArray

shader_compile_binary_from_spirv ( RDShaderSPIRV spirv_data, String name="" )

RDShaderSPIRV

shader_compile_spirv_from_source ( RDShaderSource shader_source, bool allow_cache=true )

RID

shader_create_from_bytecode ( PackedByteArray binary_data )

RID

shader_create_from_spirv ( RDShaderSPIRV spirv_data, String name="" )

int

shader_get_vertex_input_attribute_mask ( RID shader )

RID

storage_buffer_create ( int size_bytes, PackedByteArray data=PackedByteArray(), int usage=0 )

void

submit ( )

void

sync ( )

RID

texture_buffer_create ( int size_bytes, DataFormat format, PackedByteArray data=PackedByteArray() )

Error

texture_clear ( RID texture, Color color, int base_mipmap, int mipmap_count, int base_layer, int layer_count, int post_barrier=7 )

Error

texture_copy ( RID from_texture, RID to_texture, Vector3 from_pos, Vector3 to_pos, Vector3 size, int src_mipmap, int dst_mipmap, int src_layer, int dst_layer, int post_barrier=7 )

RID

texture_create ( RDTextureFormat format, RDTextureView view, PackedByteArray[] data=[] )

RID

texture_create_shared ( RDTextureView view, RID with_texture )

RID

texture_create_shared_from_slice ( RDTextureView view, RID with_texture, int layer, int mipmap, int mipmaps=1, TextureSliceType slice_type=0 )

PackedByteArray

texture_get_data ( RID texture, int layer )

bool

texture_is_format_supported_for_usage ( DataFormat format, int usage_flags ) const

bool

texture_is_shared ( RID texture )

bool

texture_is_valid ( RID texture )

Error

texture_resolve_multisample ( RID from_texture, RID to_texture, int post_barrier=7 )

Error

texture_update ( RID texture, int layer, PackedByteArray data, int post_barrier=7 )

RID

uniform_buffer_create ( int size_bytes, PackedByteArray data=PackedByteArray() )

RID

uniform_set_create ( RDUniform[] uniforms, RID shader, int shader_set )

bool

uniform_set_is_valid ( RID uniform_set )

RID

vertex_array_create ( int vertex_count, int vertex_format, RID[] src_buffers )

RID

vertex_buffer_create ( int size_bytes, PackedByteArray data=PackedByteArray(), bool use_as_storage=false )

int

vertex_format_create ( RDVertexAttribute[] vertex_descriptions )

Enumerations

enum DeviceType:

  • DEVICE_TYPE_OTHER = 0 --- Rendering device type does not match any of the other enum values or is unknown.

  • DEVICE_TYPE_INTEGRATED_GPU = 1 --- Rendering device is an integrated GPU, which is typically (but not always) slower than dedicated GPUs (DEVICE_TYPE_DISCRETE_GPU). On Android and iOS, the rendering device type is always considered to be DEVICE_TYPE_INTEGRATED_GPU.

  • DEVICE_TYPE_DISCRETE_GPU = 2 --- Rendering device is a dedicated GPU, which is typically (but not always) faster than integrated GPUs (DEVICE_TYPE_INTEGRATED_GPU).

  • DEVICE_TYPE_VIRTUAL_GPU = 3 --- Rendering device is an emulated GPU in a virtual environment. This is typically much slower than the host GPU, which means the expected performance level on a dedicated GPU will be roughly equivalent to DEVICE_TYPE_INTEGRATED_GPU. Virtual machine GPU passthrough (such as VFIO) will not report the device type as DEVICE_TYPE_VIRTUAL_GPU. Instead, the host GPU's device type will be reported as if the GPU was not emulated.

  • DEVICE_TYPE_CPU = 4 --- Rendering device is provided by software emulation (such as Lavapipe or SwiftShader). This is the slowest kind of rendering device available; it's typically much slower than DEVICE_TYPE_INTEGRATED_GPU.

  • DEVICE_TYPE_MAX = 5 --- Represents the size of the DeviceType enum.


enum DriverResource:

  • DRIVER_RESOURCE_VULKAN_DEVICE = 0

  • DRIVER_RESOURCE_VULKAN_PHYSICAL_DEVICE = 1

  • DRIVER_RESOURCE_VULKAN_INSTANCE = 2

  • DRIVER_RESOURCE_VULKAN_QUEUE = 3

  • DRIVER_RESOURCE_VULKAN_QUEUE_FAMILY_INDEX = 4

  • DRIVER_RESOURCE_VULKAN_IMAGE = 5

  • DRIVER_RESOURCE_VULKAN_IMAGE_VIEW = 6

  • DRIVER_RESOURCE_VULKAN_IMAGE_NATIVE_TEXTURE_FORMAT = 7

  • DRIVER_RESOURCE_VULKAN_SAMPLER = 8

  • DRIVER_RESOURCE_VULKAN_DESCRIPTOR_SET = 9

  • DRIVER_RESOURCE_VULKAN_BUFFER = 10

  • DRIVER_RESOURCE_VULKAN_COMPUTE_PIPELINE = 11

  • DRIVER_RESOURCE_VULKAN_RENDER_PIPELINE = 12


enum DataFormat:

  • DATA_FORMAT_R4G4_UNORM_PACK8 = 0

  • DATA_FORMAT_R4G4B4A4_UNORM_PACK16 = 1

  • DATA_FORMAT_B4G4R4A4_UNORM_PACK16 = 2

  • DATA_FORMAT_R5G6B5_UNORM_PACK16 = 3

  • DATA_FORMAT_B5G6R5_UNORM_PACK16 = 4

  • DATA_FORMAT_R5G5B5A1_UNORM_PACK16 = 5

  • DATA_FORMAT_B5G5R5A1_UNORM_PACK16 = 6

  • DATA_FORMAT_A1R5G5B5_UNORM_PACK16 = 7

  • DATA_FORMAT_R8_UNORM = 8

  • DATA_FORMAT_R8_SNORM = 9

  • DATA_FORMAT_R8_USCALED = 10

  • DATA_FORMAT_R8_SSCALED = 11

  • DATA_FORMAT_R8_UINT = 12

  • DATA_FORMAT_R8_SINT = 13

  • DATA_FORMAT_R8_SRGB = 14

  • DATA_FORMAT_R8G8_UNORM = 15

  • DATA_FORMAT_R8G8_SNORM = 16

  • DATA_FORMAT_R8G8_USCALED = 17

  • DATA_FORMAT_R8G8_SSCALED = 18

  • DATA_FORMAT_R8G8_UINT = 19

  • DATA_FORMAT_R8G8_SINT = 20

  • DATA_FORMAT_R8G8_SRGB = 21

  • DATA_FORMAT_R8G8B8_UNORM = 22

  • DATA_FORMAT_R8G8B8_SNORM = 23

  • DATA_FORMAT_R8G8B8_USCALED = 24

  • DATA_FORMAT_R8G8B8_SSCALED = 25

  • DATA_FORMAT_R8G8B8_UINT = 26

  • DATA_FORMAT_R8G8B8_SINT = 27

  • DATA_FORMAT_R8G8B8_SRGB = 28

  • DATA_FORMAT_B8G8R8_UNORM = 29

  • DATA_FORMAT_B8G8R8_SNORM = 30

  • DATA_FORMAT_B8G8R8_USCALED = 31

  • DATA_FORMAT_B8G8R8_SSCALED = 32

  • DATA_FORMAT_B8G8R8_UINT = 33

  • DATA_FORMAT_B8G8R8_SINT = 34

  • DATA_FORMAT_B8G8R8_SRGB = 35

  • DATA_FORMAT_R8G8B8A8_UNORM = 36

  • DATA_FORMAT_R8G8B8A8_SNORM = 37

  • DATA_FORMAT_R8G8B8A8_USCALED = 38

  • DATA_FORMAT_R8G8B8A8_SSCALED = 39

  • DATA_FORMAT_R8G8B8A8_UINT = 40

  • DATA_FORMAT_R8G8B8A8_SINT = 41

  • DATA_FORMAT_R8G8B8A8_SRGB = 42

  • DATA_FORMAT_B8G8R8A8_UNORM = 43

  • DATA_FORMAT_B8G8R8A8_SNORM = 44

  • DATA_FORMAT_B8G8R8A8_USCALED = 45

  • DATA_FORMAT_B8G8R8A8_SSCALED = 46

  • DATA_FORMAT_B8G8R8A8_UINT = 47

  • DATA_FORMAT_B8G8R8A8_SINT = 48

  • DATA_FORMAT_B8G8R8A8_SRGB = 49

  • DATA_FORMAT_A8B8G8R8_UNORM_PACK32 = 50

  • DATA_FORMAT_A8B8G8R8_SNORM_PACK32 = 51

  • DATA_FORMAT_A8B8G8R8_USCALED_PACK32 = 52

  • DATA_FORMAT_A8B8G8R8_SSCALED_PACK32 = 53

  • DATA_FORMAT_A8B8G8R8_UINT_PACK32 = 54

  • DATA_FORMAT_A8B8G8R8_SINT_PACK32 = 55

  • DATA_FORMAT_A8B8G8R8_SRGB_PACK32 = 56

  • DATA_FORMAT_A2R10G10B10_UNORM_PACK32 = 57

  • DATA_FORMAT_A2R10G10B10_SNORM_PACK32 = 58

  • DATA_FORMAT_A2R10G10B10_USCALED_PACK32 = 59

  • DATA_FORMAT_A2R10G10B10_SSCALED_PACK32 = 60

  • DATA_FORMAT_A2R10G10B10_UINT_PACK32 = 61

  • DATA_FORMAT_A2R10G10B10_SINT_PACK32 = 62

  • DATA_FORMAT_A2B10G10R10_UNORM_PACK32 = 63

  • DATA_FORMAT_A2B10G10R10_SNORM_PACK32 = 64

  • DATA_FORMAT_A2B10G10R10_USCALED_PACK32 = 65

  • DATA_FORMAT_A2B10G10R10_SSCALED_PACK32 = 66

  • DATA_FORMAT_A2B10G10R10_UINT_PACK32 = 67

  • DATA_FORMAT_A2B10G10R10_SINT_PACK32 = 68

  • DATA_FORMAT_R16_UNORM = 69

  • DATA_FORMAT_R16_SNORM = 70

  • DATA_FORMAT_R16_USCALED = 71

  • DATA_FORMAT_R16_SSCALED = 72

  • DATA_FORMAT_R16_UINT = 73

  • DATA_FORMAT_R16_SINT = 74

  • DATA_FORMAT_R16_SFLOAT = 75

  • DATA_FORMAT_R16G16_UNORM = 76

  • DATA_FORMAT_R16G16_SNORM = 77

  • DATA_FORMAT_R16G16_USCALED = 78

  • DATA_FORMAT_R16G16_SSCALED = 79

  • DATA_FORMAT_R16G16_UINT = 80

  • DATA_FORMAT_R16G16_SINT = 81

  • DATA_FORMAT_R16G16_SFLOAT = 82

  • DATA_FORMAT_R16G16B16_UNORM = 83

  • DATA_FORMAT_R16G16B16_SNORM = 84

  • DATA_FORMAT_R16G16B16_USCALED = 85

  • DATA_FORMAT_R16G16B16_SSCALED = 86

  • DATA_FORMAT_R16G16B16_UINT = 87

  • DATA_FORMAT_R16G16B16_SINT = 88

  • DATA_FORMAT_R16G16B16_SFLOAT = 89

  • DATA_FORMAT_R16G16B16A16_UNORM = 90

  • DATA_FORMAT_R16G16B16A16_SNORM = 91

  • DATA_FORMAT_R16G16B16A16_USCALED = 92

  • DATA_FORMAT_R16G16B16A16_SSCALED = 93

  • DATA_FORMAT_R16G16B16A16_UINT = 94

  • DATA_FORMAT_R16G16B16A16_SINT = 95

  • DATA_FORMAT_R16G16B16A16_SFLOAT = 96

  • DATA_FORMAT_R32_UINT = 97

  • DATA_FORMAT_R32_SINT = 98

  • DATA_FORMAT_R32_SFLOAT = 99

  • DATA_FORMAT_R32G32_UINT = 100

  • DATA_FORMAT_R32G32_SINT = 101

  • DATA_FORMAT_R32G32_SFLOAT = 102

  • DATA_FORMAT_R32G32B32_UINT = 103

  • DATA_FORMAT_R32G32B32_SINT = 104

  • DATA_FORMAT_R32G32B32_SFLOAT = 105

  • DATA_FORMAT_R32G32B32A32_UINT = 106

  • DATA_FORMAT_R32G32B32A32_SINT = 107

  • DATA_FORMAT_R32G32B32A32_SFLOAT = 108

  • DATA_FORMAT_R64_UINT = 109

  • DATA_FORMAT_R64_SINT = 110

  • DATA_FORMAT_R64_SFLOAT = 111

  • DATA_FORMAT_R64G64_UINT = 112

  • DATA_FORMAT_R64G64_SINT = 113

  • DATA_FORMAT_R64G64_SFLOAT = 114

  • DATA_FORMAT_R64G64B64_UINT = 115

  • DATA_FORMAT_R64G64B64_SINT = 116

  • DATA_FORMAT_R64G64B64_SFLOAT = 117

  • DATA_FORMAT_R64G64B64A64_UINT = 118

  • DATA_FORMAT_R64G64B64A64_SINT = 119

  • DATA_FORMAT_R64G64B64A64_SFLOAT = 120

  • DATA_FORMAT_B10G11R11_UFLOAT_PACK32 = 121

  • DATA_FORMAT_E5B9G9R9_UFLOAT_PACK32 = 122

  • DATA_FORMAT_D16_UNORM = 123

  • DATA_FORMAT_X8_D24_UNORM_PACK32 = 124

  • DATA_FORMAT_D32_SFLOAT = 125

  • DATA_FORMAT_S8_UINT = 126

  • DATA_FORMAT_D16_UNORM_S8_UINT = 127

  • DATA_FORMAT_D24_UNORM_S8_UINT = 128

  • DATA_FORMAT_D32_SFLOAT_S8_UINT = 129

  • DATA_FORMAT_BC1_RGB_UNORM_BLOCK = 130

  • DATA_FORMAT_BC1_RGB_SRGB_BLOCK = 131

  • DATA_FORMAT_BC1_RGBA_UNORM_BLOCK = 132

  • DATA_FORMAT_BC1_RGBA_SRGB_BLOCK = 133

  • DATA_FORMAT_BC2_UNORM_BLOCK = 134

  • DATA_FORMAT_BC2_SRGB_BLOCK = 135

  • DATA_FORMAT_BC3_UNORM_BLOCK = 136

  • DATA_FORMAT_BC3_SRGB_BLOCK = 137

  • DATA_FORMAT_BC4_UNORM_BLOCK = 138

  • DATA_FORMAT_BC4_SNORM_BLOCK = 139

  • DATA_FORMAT_BC5_UNORM_BLOCK = 140

  • DATA_FORMAT_BC5_SNORM_BLOCK = 141

  • DATA_FORMAT_BC6H_UFLOAT_BLOCK = 142

  • DATA_FORMAT_BC6H_SFLOAT_BLOCK = 143

  • DATA_FORMAT_BC7_UNORM_BLOCK = 144

  • DATA_FORMAT_BC7_SRGB_BLOCK = 145

  • DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = 146

  • DATA_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = 147

  • DATA_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = 148

  • DATA_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = 149

  • DATA_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = 150

  • DATA_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = 151

  • DATA_FORMAT_EAC_R11_UNORM_BLOCK = 152

  • DATA_FORMAT_EAC_R11_SNORM_BLOCK = 153

  • DATA_FORMAT_EAC_R11G11_UNORM_BLOCK = 154

  • DATA_FORMAT_EAC_R11G11_SNORM_BLOCK = 155

  • DATA_FORMAT_ASTC_4x4_UNORM_BLOCK = 156

  • DATA_FORMAT_ASTC_4x4_SRGB_BLOCK = 157

  • DATA_FORMAT_ASTC_5x4_UNORM_BLOCK = 158

  • DATA_FORMAT_ASTC_5x4_SRGB_BLOCK = 159

  • DATA_FORMAT_ASTC_5x5_UNORM_BLOCK = 160

  • DATA_FORMAT_ASTC_5x5_SRGB_BLOCK = 161

  • DATA_FORMAT_ASTC_6x5_UNORM_BLOCK = 162

  • DATA_FORMAT_ASTC_6x5_SRGB_BLOCK = 163

  • DATA_FORMAT_ASTC_6x6_UNORM_BLOCK = 164

  • DATA_FORMAT_ASTC_6x6_SRGB_BLOCK = 165

  • DATA_FORMAT_ASTC_8x5_UNORM_BLOCK = 166

  • DATA_FORMAT_ASTC_8x5_SRGB_BLOCK = 167

  • DATA_FORMAT_ASTC_8x6_UNORM_BLOCK = 168

  • DATA_FORMAT_ASTC_8x6_SRGB_BLOCK = 169

  • DATA_FORMAT_ASTC_8x8_UNORM_BLOCK = 170

  • DATA_FORMAT_ASTC_8x8_SRGB_BLOCK = 171

  • DATA_FORMAT_ASTC_10x5_UNORM_BLOCK = 172

  • DATA_FORMAT_ASTC_10x5_SRGB_BLOCK = 173

  • DATA_FORMAT_ASTC_10x6_UNORM_BLOCK = 174

  • DATA_FORMAT_ASTC_10x6_SRGB_BLOCK = 175

  • DATA_FORMAT_ASTC_10x8_UNORM_BLOCK = 176

  • DATA_FORMAT_ASTC_10x8_SRGB_BLOCK = 177

  • DATA_FORMAT_ASTC_10x10_UNORM_BLOCK = 178

  • DATA_FORMAT_ASTC_10x10_SRGB_BLOCK = 179

  • DATA_FORMAT_ASTC_12x10_UNORM_BLOCK = 180

  • DATA_FORMAT_ASTC_12x10_SRGB_BLOCK = 181

  • DATA_FORMAT_ASTC_12x12_UNORM_BLOCK = 182

  • DATA_FORMAT_ASTC_12x12_SRGB_BLOCK = 183

  • DATA_FORMAT_G8B8G8R8_422_UNORM = 184

  • DATA_FORMAT_B8G8R8G8_422_UNORM = 185

  • DATA_FORMAT_G8_B8_R8_3PLANE_420_UNORM = 186

  • DATA_FORMAT_G8_B8R8_2PLANE_420_UNORM = 187

  • DATA_FORMAT_G8_B8_R8_3PLANE_422_UNORM = 188

  • DATA_FORMAT_G8_B8R8_2PLANE_422_UNORM = 189

  • DATA_FORMAT_G8_B8_R8_3PLANE_444_UNORM = 190

  • DATA_FORMAT_R10X6_UNORM_PACK16 = 191

  • DATA_FORMAT_R10X6G10X6_UNORM_2PACK16 = 192

  • DATA_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 = 193

  • DATA_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 = 194

  • DATA_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 = 195

  • DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 = 196

  • DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 = 197

  • DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 = 198

  • DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 = 199

  • DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 = 200

  • DATA_FORMAT_R12X4_UNORM_PACK16 = 201

  • DATA_FORMAT_R12X4G12X4_UNORM_2PACK16 = 202

  • DATA_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 = 203

  • DATA_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 = 204

  • DATA_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 = 205

  • DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 = 206

  • DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 = 207

  • DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 = 208

  • DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 = 209

  • DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 = 210

  • DATA_FORMAT_G16B16G16R16_422_UNORM = 211

  • DATA_FORMAT_B16G16R16G16_422_UNORM = 212

  • DATA_FORMAT_G16_B16_R16_3PLANE_420_UNORM = 213

  • DATA_FORMAT_G16_B16R16_2PLANE_420_UNORM = 214

  • DATA_FORMAT_G16_B16_R16_3PLANE_422_UNORM = 215

  • DATA_FORMAT_G16_B16R16_2PLANE_422_UNORM = 216

  • DATA_FORMAT_G16_B16_R16_3PLANE_444_UNORM = 217

  • DATA_FORMAT_MAX = 218


enum TextureType:

  • TEXTURE_TYPE_1D = 0

  • TEXTURE_TYPE_2D = 1

  • TEXTURE_TYPE_3D = 2

  • TEXTURE_TYPE_CUBE = 3

  • TEXTURE_TYPE_1D_ARRAY = 4

  • TEXTURE_TYPE_2D_ARRAY = 5

  • TEXTURE_TYPE_CUBE_ARRAY = 6

  • TEXTURE_TYPE_MAX = 7


enum TextureSamples:

  • TEXTURE_SAMPLES_1 = 0

  • TEXTURE_SAMPLES_2 = 1

  • TEXTURE_SAMPLES_4 = 2

  • TEXTURE_SAMPLES_8 = 3

  • TEXTURE_SAMPLES_16 = 4

  • TEXTURE_SAMPLES_32 = 5

  • TEXTURE_SAMPLES_64 = 6

  • TEXTURE_SAMPLES_MAX = 7


enum TextureUsageBits:

  • TEXTURE_USAGE_SAMPLING_BIT = 1

  • TEXTURE_USAGE_COLOR_ATTACHMENT_BIT = 2

  • TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 4

  • TEXTURE_USAGE_STORAGE_BIT = 8

  • TEXTURE_USAGE_STORAGE_ATOMIC_BIT = 16

  • TEXTURE_USAGE_CPU_READ_BIT = 32

  • TEXTURE_USAGE_CAN_UPDATE_BIT = 64

  • TEXTURE_USAGE_CAN_COPY_FROM_BIT = 128

  • TEXTURE_USAGE_CAN_COPY_TO_BIT = 256

  • TEXTURE_USAGE_INPUT_ATTACHMENT_BIT = 512


enum TextureSwizzle:

  • TEXTURE_SWIZZLE_IDENTITY = 0

  • TEXTURE_SWIZZLE_ZERO = 1

  • TEXTURE_SWIZZLE_ONE = 2

  • TEXTURE_SWIZZLE_R = 3

  • TEXTURE_SWIZZLE_G = 4

  • TEXTURE_SWIZZLE_B = 5

  • TEXTURE_SWIZZLE_A = 6

  • TEXTURE_SWIZZLE_MAX = 7


enum TextureSliceType:

  • TEXTURE_SLICE_2D = 0

  • TEXTURE_SLICE_CUBEMAP = 1

  • TEXTURE_SLICE_3D = 2


enum SamplerFilter:

  • SAMPLER_FILTER_NEAREST = 0

  • SAMPLER_FILTER_LINEAR = 1


enum SamplerRepeatMode:

  • SAMPLER_REPEAT_MODE_REPEAT = 0

  • SAMPLER_REPEAT_MODE_MIRRORED_REPEAT = 1

  • SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE = 2

  • SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER = 3

  • SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE = 4

  • SAMPLER_REPEAT_MODE_MAX = 5


enum SamplerBorderColor:

  • SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0

  • SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1

  • SAMPLER_BOR