GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
lib_webgpu.h File Reference
#include "lib_webgpu_fwd.h"
#include <math.h>
Include dependency graph for lib_webgpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WGpuObjectDescriptorBase
struct  WGpuExtent3D
struct  WGpuSupportedLimits
struct  WGpuAdapterInfo
struct  WGpuRequestAdapterOptions
struct  WGpuQueueDescriptor
struct  WGpuDeviceDescriptor
struct  WGpuPipelineError
struct  WGpuBufferDescriptor
struct  WGpuTextureDescriptor
struct  WGpuTextureViewDescriptor
struct  WGpuExternalTextureDescriptor
struct  WGpuSamplerDescriptor
struct  WGpuBufferBindingLayout
struct  WGpuSamplerBindingLayout
struct  WGpuTextureBindingLayout
struct  WGpuStorageTextureBindingLayout
struct  WGpuExternalTextureBindingLayout
struct  WGpuBindGroupEntry
struct  WGpuShaderModuleCompilationHint
struct  WGpuShaderModuleDescriptor
struct  WGpuCompilationMessage
struct  WGpuCompilationInfo
struct  WGpuPipelineConstant
struct  WGpuPrimitiveState
struct  WGpuMultisampleState
struct  WGpuFragmentState
struct  WGpuBlendComponent
struct  WGpuStencilFaceState
struct  WGpuVertexState
struct  WGpuVertexBufferLayout
struct  WGpuVertexAttribute
struct  WGpuCommandBufferDescriptor
struct  WGpuCommandEncoderDescriptor
struct  WGpuImageCopyBuffer
struct  WGpuComputePassTimestampWrites
struct  WGpuComputePassDescriptor
struct  WGpuRenderPassDepthStencilAttachment
struct  WGpuRenderBundleDescriptor
struct  WGpuRenderBundleEncoderDescriptor
struct  WGpuQuerySetDescriptor
struct  WGpuColor
struct  WGpuOrigin2D
struct  WGpuOrigin3D
struct  WGpuCanvasConfiguration
struct  WGpuRenderPassTimestampWrites
struct  WGpuRenderPassDescriptor
struct  WGpuRenderPassColorAttachment
struct  WGpuImageCopyExternalImage
struct  WGpuImageCopyTexture
struct  WGpuImageCopyTextureTagged
struct  WGpuDepthStencilState
struct  WGpuBlendState
struct  WGpuColorTargetState
struct  WGpuRenderPipelineDescriptor
struct  WGpuBindGroupLayoutEntry

Macros

#define _WGPU_DEFAULT_VALUE(x)
#define WGPU_NAN   ((double)NAN)
#define WGPU_INFINITY   ((double)INFINITY)
#define EM_BOOL   int
#define EM_TRUE   1
#define EM_FALSE   0
#define WGPU_OBJECT_LABEL_MAX_LENGTH   256
#define WGPU_FEATURE_DEPTH_CLIP_CONTROL   0x01
#define WGPU_FEATURE_DEPTH32FLOAT_STENCIL8   0x02
#define WGPU_FEATURE_TEXTURE_COMPRESSION_BC   0x04
#define WGPU_FEATURE_TEXTURE_COMPRESSION_ETC2   0x08
#define WGPU_FEATURE_TEXTURE_COMPRESSION_ASTC   0x10
#define WGPU_FEATURE_TIMESTAMP_QUERY   0x20
#define WGPU_FEATURE_INDIRECT_FIRST_INSTANCE   0x40
#define WGPU_FEATURE_SHADER_F16   0x80
#define WGPU_FEATURE_RG11B10UFLOAT_RENDERABLE   0x100
#define WGPU_FEATURE_BGRA8UNORM_STORAGE   0x200
#define WGPU_FEATURE_FLOAT32_FILTERABLE   0x400
#define HTML_PREDEFINED_COLOR_SPACE_INVALID   0
#define HTML_PREDEFINED_COLOR_SPACE_SRGB   1
#define HTML_PREDEFINED_COLOR_SPACE_DISPLAY_P3   2
#define WGPU_POWER_PREFERENCE_INVALID   0
#define WGPU_POWER_PREFERENCE_LOW_POWER   1
#define WGPU_POWER_PREFERENCE_HIGH_PERFORMANCE   2
#define wgpu_adapter_get_features   wgpu_adapter_or_device_get_features
#define wgpu_adapter_supports_feature   wgpu_adapter_or_device_supports_feature
#define wgpu_adapter_get_limits   wgpu_adapter_or_device_get_limits
#define wgpu_device_get_features   wgpu_adapter_or_device_get_features
#define wgpu_device_supports_feature   wgpu_adapter_or_device_supports_feature
#define wgpu_device_get_limits   wgpu_adapter_or_device_get_limits
#define WGPU_MAX_SIZE   -1
#define WGPU_BUFFER_GET_MAPPED_RANGE_FAILED   ((double_int53_t)-1)
#define WGPU_BUFFER_MAP_STATE_INVALID   0
#define WGPU_BUFFER_MAP_STATE_UNMAPPED   1
#define WGPU_BUFFER_MAP_STATE_PENDING   2
#define WGPU_BUFFER_MAP_STATE_MAPPED   3
#define WGPU_BUFFER_USAGE_MAP_READ   0x0001
#define WGPU_BUFFER_USAGE_MAP_WRITE   0x0002
#define WGPU_BUFFER_USAGE_COPY_SRC   0x0004
#define WGPU_BUFFER_USAGE_COPY_DST   0x0008
#define WGPU_BUFFER_USAGE_INDEX   0x0010
#define WGPU_BUFFER_USAGE_VERTEX   0x0020
#define WGPU_BUFFER_USAGE_UNIFORM   0x0040
#define WGPU_BUFFER_USAGE_STORAGE   0x0080
#define WGPU_BUFFER_USAGE_INDIRECT   0x0100
#define WGPU_BUFFER_USAGE_QUERY_RESOLVE   0x0200
#define WGPU_MAP_MODE_READ   0x1
#define WGPU_MAP_MODE_WRITE   0x2
#define WGPU_TEXTURE_DIMENSION_INVALID   0
#define WGPU_TEXTURE_DIMENSION_1D   1
#define WGPU_TEXTURE_DIMENSION_2D   2
#define WGPU_TEXTURE_DIMENSION_3D   3
#define WGPU_TEXTURE_USAGE_COPY_SRC   0x01
#define WGPU_TEXTURE_USAGE_COPY_DST   0x02
#define WGPU_TEXTURE_USAGE_TEXTURE_BINDING   0x04
#define WGPU_TEXTURE_USAGE_STORAGE_BINDING   0x08
#define WGPU_TEXTURE_USAGE_RENDER_ATTACHMENT   0x10
#define WGPU_TEXTURE_VIEW_DIMENSION_INVALID   0
#define WGPU_TEXTURE_VIEW_DIMENSION_1D   1
#define WGPU_TEXTURE_VIEW_DIMENSION_2D   2
#define WGPU_TEXTURE_VIEW_DIMENSION_2D_ARRAY   3
#define WGPU_TEXTURE_VIEW_DIMENSION_CUBE   4
#define WGPU_TEXTURE_VIEW_DIMENSION_CUBE_ARRAY   5
#define WGPU_TEXTURE_VIEW_DIMENSION_3D   6
#define WGPU_TEXTURE_ASPECT_INVALID   0
#define WGPU_TEXTURE_ASPECT_ALL   1
#define WGPU_TEXTURE_ASPECT_STENCIL_ONLY   2
#define WGPU_TEXTURE_ASPECT_DEPTH_ONLY   3
#define WGPU_TEXTURE_FORMAT_INVALID   0
#define WGPU_TEXTURE_FORMAT_R8UNORM   1
#define WGPU_TEXTURE_FORMAT_R8SNORM   2
#define WGPU_TEXTURE_FORMAT_R8UINT   3
#define WGPU_TEXTURE_FORMAT_R8SINT   4
#define WGPU_TEXTURE_FORMAT_R16UINT   5
#define WGPU_TEXTURE_FORMAT_R16SINT   6
#define WGPU_TEXTURE_FORMAT_R16FLOAT   7
#define WGPU_TEXTURE_FORMAT_RG8UNORM   8
#define WGPU_TEXTURE_FORMAT_RG8SNORM   9
#define WGPU_TEXTURE_FORMAT_RG8UINT   10
#define WGPU_TEXTURE_FORMAT_RG8SINT   11
#define WGPU_TEXTURE_FORMAT_R32UINT   12
#define WGPU_TEXTURE_FORMAT_R32SINT   13
#define WGPU_TEXTURE_FORMAT_R32FLOAT   14
#define WGPU_TEXTURE_FORMAT_RG16UINT   15
#define WGPU_TEXTURE_FORMAT_RG16SINT   16
#define WGPU_TEXTURE_FORMAT_RG16FLOAT   17
#define WGPU_TEXTURE_FORMAT_RGBA8UNORM   18
#define WGPU_TEXTURE_FORMAT_RGBA8UNORM_SRGB   19
#define WGPU_TEXTURE_FORMAT_RGBA8SNORM   20
#define WGPU_TEXTURE_FORMAT_RGBA8UINT   21
#define WGPU_TEXTURE_FORMAT_RGBA8SINT   22
#define WGPU_TEXTURE_FORMAT_BGRA8UNORM   23
#define WGPU_TEXTURE_FORMAT_BGRA8UNORM_SRGB   24
#define WGPU_TEXTURE_FORMAT_RGB9E5UFLOAT   25
#define WGPU_TEXTURE_FORMAT_RGB10A2UINT   26
#define WGPU_TEXTURE_FORMAT_RGB10A2UNORM   27
#define WGPU_TEXTURE_FORMAT_RG11B10UFLOAT   28
#define WGPU_TEXTURE_FORMAT_RG32UINT   29
#define WGPU_TEXTURE_FORMAT_RG32SINT   30
#define WGPU_TEXTURE_FORMAT_RG32FLOAT   31
#define WGPU_TEXTURE_FORMAT_RGBA16UINT   32
#define WGPU_TEXTURE_FORMAT_RGBA16SINT   33
#define WGPU_TEXTURE_FORMAT_RGBA16FLOAT   34
#define WGPU_TEXTURE_FORMAT_RGBA32UINT   35
#define WGPU_TEXTURE_FORMAT_RGBA32SINT   36
#define WGPU_TEXTURE_FORMAT_RGBA32FLOAT   37
#define WGPU_TEXTURE_FORMAT_STENCIL8   38
#define WGPU_TEXTURE_FORMAT_DEPTH16UNORM   39
#define WGPU_TEXTURE_FORMAT_DEPTH24PLUS   40
#define WGPU_TEXTURE_FORMAT_DEPTH24PLUS_STENCIL8   41
#define WGPU_TEXTURE_FORMAT_DEPTH32FLOAT   42
#define WGPU_TEXTURE_FORMAT_DEPTH32FLOAT_STENCIL8   43
#define WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM   44
#define WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM_SRGB   45
#define WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM   46
#define WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM_SRGB   47
#define WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM   48
#define WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM_SRGB   49
#define WGPU_TEXTURE_FORMAT_BC4_R_UNORM   50
#define WGPU_TEXTURE_FORMAT_BC4_R_SNORM   51
#define WGPU_TEXTURE_FORMAT_BC5_RG_UNORM   52
#define WGPU_TEXTURE_FORMAT_BC5_RG_SNORM   53
#define WGPU_TEXTURE_FORMAT_BC6H_RGB_UFLOAT   54
#define WGPU_TEXTURE_FORMAT_BC6H_RGB_FLOAT   55
#define WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM   56
#define WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM_SRGB   57
#define WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM   58
#define WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM_SRGB   59
#define WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM   60
#define WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM_SRGB   61
#define WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM   62
#define WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM_SRGB   63
#define WGPU_TEXTURE_FORMAT_EAC_R11UNORM   64
#define WGPU_TEXTURE_FORMAT_EAC_R11SNORM   65
#define WGPU_TEXTURE_FORMAT_EAC_RG11UNORM   66
#define WGPU_TEXTURE_FORMAT_EAC_RG11SNORM   67
#define WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM   68
#define WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM_SRGB   69
#define WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM   70
#define WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM_SRGB   71
#define WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM   72
#define WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM_SRGB   73
#define WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM   74
#define WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM_SRGB   75
#define WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM   76
#define WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM_SRGB   77
#define WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM   78
#define WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM_SRGB   79
#define WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM   80
#define WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM_SRGB   81
#define WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM   82
#define WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM_SRGB   83
#define WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM   84
#define WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM_SRGB   85
#define WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM   86
#define WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM_SRGB   87
#define WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM   88
#define WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM_SRGB   89
#define WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM   90
#define WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM_SRGB   91
#define WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM   92
#define WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM_SRGB   93
#define WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM   94
#define WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM_SRGB   95
#define WGPU_TEXTURE_FORMAT_LAST_VALUE   95
#define WGPU_ADDRESS_MODE_INVALID   0
#define WGPU_ADDRESS_MODE_CLAMP_TO_EDGE   1
#define WGPU_ADDRESS_MODE_REPEAT   2
#define WGPU_ADDRESS_MODE_MIRROR_REPEAT   3
#define WGPU_FILTER_MODE_INVALID   0
#define WGPU_FILTER_MODE_NEAREST   1
#define WGPU_FILTER_MODE_LINEAR   2
#define WGPU_MIPMAP_FILTER_MODE_INVALID   0
#define WGPU_MIPMAP_FILTER_MODE_NEAREST   1
#define WGPU_MIPMAP_FILTER_MODE_LINEAR   2
#define WGPU_COMPARE_FUNCTION_INVALID   0
#define WGPU_COMPARE_FUNCTION_NEVER   1
#define WGPU_COMPARE_FUNCTION_LESS   2
#define WGPU_COMPARE_FUNCTION_EQUAL   3
#define WGPU_COMPARE_FUNCTION_LESS_EQUAL   4
#define WGPU_COMPARE_FUNCTION_GREATER   5
#define WGPU_COMPARE_FUNCTION_NOT_EQUAL   6
#define WGPU_COMPARE_FUNCTION_GREATER_EQUAL   7
#define WGPU_COMPARE_FUNCTION_ALWAYS   8
#define WGPU_SHADER_STAGE_VERTEX   0x1
#define WGPU_SHADER_STAGE_FRAGMENT   0x2
#define WGPU_SHADER_STAGE_COMPUTE   0x4
#define WGPU_BIND_GROUP_LAYOUT_TYPE_INVALID   0
#define WGPU_BIND_GROUP_LAYOUT_TYPE_BUFFER   1
#define WGPU_BIND_GROUP_LAYOUT_TYPE_SAMPLER   2
#define WGPU_BIND_GROUP_LAYOUT_TYPE_TEXTURE   3
#define WGPU_BIND_GROUP_LAYOUT_TYPE_STORAGE_TEXTURE   4
#define WGPU_BIND_GROUP_LAYOUT_TYPE_EXTERNAL_TEXTURE   5
#define WGPU_BUFFER_BINDING_TYPE_INVALID   0
#define WGPU_BUFFER_BINDING_TYPE_UNIFORM   1
#define WGPU_BUFFER_BINDING_TYPE_STORAGE   2
#define WGPU_BUFFER_BINDING_TYPE_READ_ONLY_STORAGE   3
#define WGPU_SAMPLER_BINDING_TYPE_INVALID   0
#define WGPU_SAMPLER_BINDING_TYPE_FILTERING   1
#define WGPU_SAMPLER_BINDING_TYPE_NON_FILTERING   2
#define WGPU_SAMPLER_BINDING_TYPE_COMPARISON   3
#define WGPU_TEXTURE_SAMPLE_TYPE_INVALID   0
#define WGPU_TEXTURE_SAMPLE_TYPE_FLOAT   1
#define WGPU_TEXTURE_SAMPLE_TYPE_UNFILTERABLE_FLOAT   2
#define WGPU_TEXTURE_SAMPLE_TYPE_DEPTH   3
#define WGPU_TEXTURE_SAMPLE_TYPE_SINT   4
#define WGPU_TEXTURE_SAMPLE_TYPE_UINT   5
#define WGPU_STORAGE_TEXTURE_ACCESS_INVALID   0
#define WGPU_STORAGE_TEXTURE_ACCESS_WRITE_ONLY   1
#define WGPU_COMPILATION_MESSAGE_TYPE_ERROR   0
#define WGPU_COMPILATION_MESSAGE_TYPE_WARNING   1
#define WGPU_COMPILATION_MESSAGE_TYPE_INFO   2
#define wgpu_free_compilation_info(info)
#define WGPU_AUTO_LAYOUT_MODE_NO_HINT   0
#define WGPU_AUTO_LAYOUT_MODE_AUTO   1
#define wgpu_render_pipeline_get_bind_group_layout   wgpu_pipeline_get_bind_group_layout
#define wgpu_compute_pipeline_get_bind_group_layout   wgpu_pipeline_get_bind_group_layout
#define WGPU_PRIMITIVE_TOPOLOGY_INVALID   0
#define WGPU_PRIMITIVE_TOPOLOGY_POINT_LIST   1
#define WGPU_PRIMITIVE_TOPOLOGY_LINE_LIST   2
#define WGPU_PRIMITIVE_TOPOLOGY_LINE_STRIP   3
#define WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST   4
#define WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP   5
#define WGPU_FRONT_FACE_INVALID   0
#define WGPU_FRONT_FACE_CCW   1
#define WGPU_FRONT_FACE_CW   2
#define WGPU_CULL_MODE_INVALID   0
#define WGPU_CULL_MODE_NONE   1
#define WGPU_CULL_MODE_FRONT   2
#define WGPU_CULL_MODE_BACK   3
#define WGPU_COLOR_WRITE_RED   0x01
#define WGPU_COLOR_WRITE_GREEN   0x02
#define WGPU_COLOR_WRITE_BLUE   0x04
#define WGPU_COLOR_WRITE_ALPHA   0x08
#define WGPU_COLOR_WRITE_ALL   0x0F
#define WGPU_BLEND_FACTOR_INVALID   0
#define WGPU_BLEND_FACTOR_ZERO   1
#define WGPU_BLEND_FACTOR_ONE   2
#define WGPU_BLEND_FACTOR_SRC   3
#define WGPU_BLEND_FACTOR_ONE_MINUS_SRC   4
#define WGPU_BLEND_FACTOR_SRC_ALPHA   5
#define WGPU_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA   6
#define WGPU_BLEND_FACTOR_DST   7
#define WGPU_BLEND_FACTOR_ONE_MINUS_DST   8
#define WGPU_BLEND_FACTOR_DST_ALPHA   9
#define WGPU_BLEND_FACTOR_ONE_MINUS_DST_ALPHA   10
#define WGPU_BLEND_FACTOR_SRC_ALPHA_SATURATED   11
#define WGPU_BLEND_FACTOR_CONSTANT   12
#define WGPU_BLEND_FACTOR_ONE_MINUS_CONSTANT   13
#define WGPU_BLEND_OPERATION_INVALID   0
#define WGPU_BLEND_OPERATION_DISABLED   0
#define WGPU_BLEND_OPERATION_ADD   1
#define WGPU_BLEND_OPERATION_SUBTRACT   2
#define WGPU_BLEND_OPERATION_REVERSE_SUBTRACT   3
#define WGPU_BLEND_OPERATION_MIN   4
#define WGPU_BLEND_OPERATION_MAX   5
#define WGPU_STENCIL_OPERATION_INVALID   0
#define WGPU_STENCIL_OPERATION_KEEP   1
#define WGPU_STENCIL_OPERATION_ZERO   2
#define WGPU_STENCIL_OPERATION_REPLACE   3
#define WGPU_STENCIL_OPERATION_INVERT   4
#define WGPU_STENCIL_OPERATION_INCREMENT_CLAMP   5
#define WGPU_STENCIL_OPERATION_DECREMENT_CLAMP   6
#define WGPU_STENCIL_OPERATION_INCREMENT_WRAP   7
#define WGPU_STENCIL_OPERATION_DECREMENT_WRAP   8
#define WGPU_INDEX_FORMAT_INVALID   0
#define WGPU_INDEX_FORMAT_UINT16   1
#define WGPU_INDEX_FORMAT_UINT32   2
#define WGPU_VERTEX_FORMAT_INVALID   0
#define WGPU_VERTEX_FORMAT_FIRST_VALUE   96
#define WGPU_VERTEX_FORMAT_UINT8X2   96
#define WGPU_VERTEX_FORMAT_UINT8X4   97
#define WGPU_VERTEX_FORMAT_SINT8X2   98
#define WGPU_VERTEX_FORMAT_SINT8X4   99
#define WGPU_VERTEX_FORMAT_UNORM8X2   100
#define WGPU_VERTEX_FORMAT_UNORM8X4   101
#define WGPU_VERTEX_FORMAT_SNORM8X2   102
#define WGPU_VERTEX_FORMAT_SNORM8X4   103
#define WGPU_VERTEX_FORMAT_UINT16X2   104
#define WGPU_VERTEX_FORMAT_UINT16X4   105
#define WGPU_VERTEX_FORMAT_SINT16X2   106
#define WGPU_VERTEX_FORMAT_SINT16X4   107
#define WGPU_VERTEX_FORMAT_UNORM16X2   108
#define WGPU_VERTEX_FORMAT_UNORM16X4   109
#define WGPU_VERTEX_FORMAT_SNORM16X2   110
#define WGPU_VERTEX_FORMAT_SNORM16X4   111
#define WGPU_VERTEX_FORMAT_FLOAT16X2   112
#define WGPU_VERTEX_FORMAT_FLOAT16X4   113
#define WGPU_VERTEX_FORMAT_FLOAT32   114
#define WGPU_VERTEX_FORMAT_FLOAT32X2   115
#define WGPU_VERTEX_FORMAT_FLOAT32X3   116
#define WGPU_VERTEX_FORMAT_FLOAT32X4   117
#define WGPU_VERTEX_FORMAT_UINT32   118
#define WGPU_VERTEX_FORMAT_UINT32X2   119
#define WGPU_VERTEX_FORMAT_UINT32X3   120
#define WGPU_VERTEX_FORMAT_UINT32X4   121
#define WGPU_VERTEX_FORMAT_SINT32   122
#define WGPU_VERTEX_FORMAT_SINT32X2   123
#define WGPU_VERTEX_FORMAT_SINT32X3   124
#define WGPU_VERTEX_FORMAT_SINT32X4   125
#define WGPU_VERTEX_STEP_MODE_INVALID   0
#define WGPU_VERTEX_STEP_MODE_VERTEX   1
#define WGPU_VERTEX_STEP_MODE_INSTANCE   2
#define wgpu_command_encoder_finish   wgpu_encoder_finish
#define wgpu_command_encoder_push_debug_group   wgpu_encoder_push_debug_group
#define wgpu_command_encoder_pop_debug_group   wgpu_encoder_pop_debug_group
#define wgpu_command_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker
#define wgpu_compute_pass_encoder_set_pipeline   wgpu_encoder_set_pipeline
#define wgpu_compute_pass_encoder_end   wgpu_encoder_end
#define wgpu_compute_pass_encoder_push_debug_group   wgpu_encoder_push_debug_group
#define wgpu_compute_pass_encoder_pop_debug_group   wgpu_encoder_pop_debug_group
#define wgpu_compute_pass_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker
#define wgpu_compute_pass_encoder_set_bind_group   wgpu_encoder_set_bind_group
#define wgpu_render_commands_mixin_set_pipeline   wgpu_encoder_set_pipeline
#define wgpu_render_pass_encoder_end   wgpu_encoder_end
#define wgpu_render_pass_encoder_push_debug_group   wgpu_programmable_pass_encoder_push_debug_group
#define wgpu_render_pass_encoder_pop_debug_group   wgpu_programmable_pass_encoder_pop_debug_group
#define wgpu_render_pass_encoder_insert_debug_marker   wgpu_programmable_pass_encoder_insert_debug_marker
#define wgpu_render_pass_encoder_set_bind_group   wgpu_encoder_set_bind_group
#define wgpu_render_pass_encoder_set_pipeline   wgpu_render_commands_mixin_set_pipeline
#define wgpu_render_pass_encoder_set_index_buffer   wgpu_render_commands_mixin_set_index_buffer
#define wgpu_render_pass_encoder_set_vertex_buffer   wgpu_render_commands_mixin_set_vertex_buffer
#define wgpu_render_pass_encoder_draw   wgpu_render_commands_mixin_draw
#define wgpu_render_pass_encoder_draw_indexed   wgpu_render_commands_mixin_draw_indexed
#define wgpu_render_pass_encoder_draw_indirect   wgpu_render_commands_mixin_draw_indirect
#define wgpu_render_pass_encoder_draw_indexed_indirect   wgpu_render_commands_mixin_draw_indexed_indirect
#define WGPU_LOAD_OP_UNDEFINED   0
#define WGPU_LOAD_OP_LOAD   1
#define WGPU_LOAD_OP_CLEAR   2
#define WGPU_STORE_OP_UNDEFINED   0
#define WGPU_STORE_OP_STORE   1
#define WGPU_STORE_OP_DISCARD   2
#define wgpu_render_bundle_encoder_finish   wgpu_encoder_finish
#define wgpu_render_bundle_encoder_set_bind_group   wgpu_encoder_set_bind_group
#define wgpu_render_bundle_encoder_push_debug_group   wgpu_encoder_push_debug_group
#define wgpu_render_bundle_encoder_pop_debug_group   wgpu_encoder_pop_debug_group
#define wgpu_render_bundle_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker
#define wgpu_render_bundle_encoder_set_pipeline   wgpu_encoder_set_pipeline
#define wgpu_render_bundle_encoder_set_index_buffer   wgpu_render_commands_mixin_set_index_buffer
#define wgpu_render_bundle_encoder_set_vertex_buffer   wgpu_render_commands_mixin_set_vertex_buffer
#define wgpu_render_bundle_encoder_draw   wgpu_render_commands_mixin_draw
#define wgpu_render_bundle_encoder_draw_indexed   wgpu_render_commands_mixin_draw_indexed
#define wgpu_render_bundle_encoder_draw_indirect   wgpu_render_commands_mixin_draw_indirect
#define wgpu_render_bundle_encoder_draw_indexed_indirect   wgpu_render_commands_mixin_draw_indexed_indirect
#define WGPU_QUERY_TYPE_INVALID   0
#define WGPU_QUERY_TYPE_OCCLUSION   1
#define WGPU_QUERY_TYPE_TIMESTAMP   2
#define WGPU_PIPELINE_STATISTIC_NAME_INVALID   0
#define WGPU_PIPELINE_STATISTIC_NAME_TIMESTAMP   1
#define WGPU_CANVAS_ALPHA_MODE_INVALID   0
#define WGPU_CANVAS_ALPHA_MODE_OPAQUE   1
#define WGPU_CANVAS_ALPHA_MODE_PREMULTIPLIED   2
#define WGPU_DEVICE_LOST_REASON_UNKNOWN   0
#define WGPU_DEVICE_LOST_REASON_DESTROYED   1
#define WGPU_ERROR_TYPE_NO_ERROR   0
#define WGPU_ERROR_TYPE_OUT_OF_MEMORY   1
#define WGPU_ERROR_TYPE_VALIDATION   2
#define WGPU_ERROR_TYPE_UNKNOWN_ERROR   3
#define WGPU_ERROR_FILTER_INVALID   0
#define WGPU_ERROR_FILTER_OUT_OF_MEMORY   1
#define WGPU_ERROR_FILTER_VALIDATION   2
#define WGPU_ERROR_FILTER_INTERNAL   3

Typedefs

typedef struct WGpuObjectDescriptorBase WGpuObjectDescriptorBase
typedef struct WGpuExtent3D WGpuExtent3D
typedef struct WGpuSupportedLimits WGpuSupportedLimits
typedef int WGPU_FEATURES_BITFIELD
typedef int HTML_PREDEFINED_COLOR_SPACE
typedef struct WGpuAdapterInfo WGpuAdapterInfo
typedef void(* WGpuRequestAdapterCallback) (WGpuAdapter adapter, void *userData)
typedef struct WGpuRequestAdapterOptions WGpuRequestAdapterOptions
typedef int WGPU_POWER_PREFERENCE
typedef WGpuObjectBase WGpuAdapter
typedef void(* WGpuRequestDeviceCallback) (WGpuDevice device, void *userData)
typedef void(* WGpuRequestAdapterInfoCallback) (WGpuAdapter adapter, const WGpuAdapterInfo *adapterInfo NOTNULL, void *userData)
typedef struct WGpuQueueDescriptor WGpuQueueDescriptor
typedef struct WGpuDeviceDescriptor WGpuDeviceDescriptor
typedef WGpuObjectBase WGpuDevice
typedef struct WGpuPipelineError WGpuPipelineError
typedef void(* WGpuCreatePipelineCallback) (WGpuDevice device, WGpuPipelineError *error, WGpuPipelineBase pipeline, void *userData)
typedef WGpuObjectBase WGpuBuffer
typedef void(* WGpuBufferMapCallback) (WGpuBuffer buffer, void *userData, WGPU_MAP_MODE_FLAGS mode, double_int53_t offset, double_int53_t size)
typedef int WGPU_BUFFER_MAP_STATE
typedef struct WGpuBufferDescriptor WGpuBufferDescriptor
typedef int WGPU_BUFFER_USAGE_FLAGS
typedef int WGPU_MAP_MODE_FLAGS
typedef WGpuObjectBase WGpuTexture
typedef struct WGpuTextureDescriptor WGpuTextureDescriptor
typedef int WGPU_TEXTURE_DIMENSION
typedef int WGPU_TEXTURE_USAGE_FLAGS
typedef WGpuObjectBase WGpuTextureView
typedef struct WGpuTextureViewDescriptor WGpuTextureViewDescriptor
typedef int WGPU_TEXTURE_VIEW_DIMENSION
typedef int WGPU_TEXTURE_ASPECT
typedef int WGPU_TEXTURE_FORMAT
typedef WGpuObjectBase WGpuExternalTexture
typedef struct WGpuExternalTextureDescriptor WGpuExternalTextureDescriptor
typedef WGpuObjectBase WGpuSampler
typedef struct WGpuSamplerDescriptor WGpuSamplerDescriptor
typedef int WGPU_ADDRESS_MODE
typedef int WGPU_FILTER_MODE
typedef int WGPU_MIPMAP_FILTER_MODE
typedef int WGPU_COMPARE_FUNCTION
typedef WGpuObjectBase WGpuBindGroupLayout
typedef int WGPU_SHADER_STAGE_FLAGS
typedef int WGPU_BIND_GROUP_LAYOUT_TYPE
typedef int WGPU_BUFFER_BINDING_TYPE
typedef struct WGpuBufferBindingLayout WGpuBufferBindingLayout
typedef int WGPU_SAMPLER_BINDING_TYPE
typedef struct WGpuSamplerBindingLayout WGpuSamplerBindingLayout
typedef int WGPU_TEXTURE_SAMPLE_TYPE
typedef struct WGpuTextureBindingLayout WGpuTextureBindingLayout
typedef int WGPU_STORAGE_TEXTURE_ACCESS
typedef struct WGpuStorageTextureBindingLayout WGpuStorageTextureBindingLayout
typedef struct WGpuExternalTextureBindingLayout WGpuExternalTextureBindingLayout
typedef WGpuObjectBase WGpuBindGroup
typedef struct WGpuBindGroupEntry WGpuBindGroupEntry
typedef WGpuObjectBase WGpuPipelineLayout
typedef WGpuObjectBase WGpuShaderModule
typedef void(* WGpuGetCompilationInfoCallback) (WGpuShaderModule shaderModule, WGpuCompilationInfo *compilationInfo NOTNULL, void *userData)
typedef struct WGpuShaderModuleCompilationHint WGpuShaderModuleCompilationHint
typedef struct WGpuShaderModuleDescriptor WGpuShaderModuleDescriptor
typedef int WGPU_COMPILATION_MESSAGE_TYPE
typedef struct WGpuCompilationMessage WGpuCompilationMessage
typedef struct WGpuCompilationInfo WGpuCompilationInfo
typedef int WGPU_AUTO_LAYOUT_MODE
typedef struct WGpuPipelineConstant WGpuPipelineConstant
typedef WGpuObjectBase WGpuComputePipeline
typedef WGpuObjectBase WGpuRenderPipeline
typedef WGpuObjectBase WGpuPipelineBase
typedef int WGPU_PRIMITIVE_TOPOLOGY
typedef struct WGpuPrimitiveState WGpuPrimitiveState
typedef int WGPU_FRONT_FACE
typedef int WGPU_CULL_MODE
typedef struct WGpuMultisampleState WGpuMultisampleState
typedef struct WGpuFragmentState WGpuFragmentState
typedef int WGPU_COLOR_WRITE_FLAGS
typedef struct WGpuBlendComponent WGpuBlendComponent
typedef int WGPU_BLEND_FACTOR
typedef int WGPU_BLEND_OPERATION
typedef struct WGpuStencilFaceState WGpuStencilFaceState
typedef int WGPU_STENCIL_OPERATION
typedef int WGPU_INDEX_FORMAT
typedef int WGPU_VERTEX_FORMAT
typedef int WGPU_VERTEX_STEP_MODE
typedef struct WGpuVertexState WGpuVertexState
typedef struct WGpuVertexBufferLayout WGpuVertexBufferLayout
typedef struct WGpuVertexAttribute WGpuVertexAttribute
typedef WGpuObjectBase WGpuCommandBuffer
typedef struct WGpuCommandBufferDescriptor WGpuCommandBufferDescriptor
typedef WGpuObjectBase WGpuDebugCommandsMixin
typedef WGpuObjectBase WGpuCommandEncoder
typedef struct WGpuCommandEncoderDescriptor WGpuCommandEncoderDescriptor
typedef struct WGpuImageCopyBuffer WGpuImageCopyBuffer
typedef WGpuObjectBase WGpuBindingCommandsMixin
typedef WGpuObjectBase WGpuComputePassEncoder
typedef struct WGpuComputePassTimestampWrites WGpuComputePassTimestampWrites
typedef struct WGpuComputePassDescriptor WGpuComputePassDescriptor
typedef WGpuObjectBase WGpuRenderCommandsMixin
typedef WGpuObjectBase WGpuRenderPassEncoder
typedef struct WGpuRenderPassDepthStencilAttachment WGpuRenderPassDepthStencilAttachment
typedef int WGPU_LOAD_OP
typedef int WGPU_STORE_OP
typedef WGpuObjectBase WGpuRenderBundle
typedef struct WGpuRenderBundleDescriptor WGpuRenderBundleDescriptor
typedef WGpuObjectBase WGpuRenderBundleEncoder
typedef struct WGpuRenderBundleEncoderDescriptor WGpuRenderBundleEncoderDescriptor
typedef WGpuObjectBase WGpuQueue
typedef void(* WGpuOnSubmittedWorkDoneCallback) (WGpuQueue queue, void *userData)
typedef WGpuObjectBase WGpuQuerySet
typedef struct WGpuQuerySetDescriptor WGpuQuerySetDescriptor
typedef int WGPU_QUERY_TYPE
typedef int WGPU_PIPELINE_STATISTIC_NAME
typedef WGpuObjectBase WGpuCanvasContext
typedef int WGPU_CANVAS_ALPHA_MODE
typedef int WGPU_DEVICE_LOST_REASON
typedef void(* WGpuDeviceLostCallback) (WGpuDevice device, WGPU_DEVICE_LOST_REASON deviceLostReason, const char *message NOTNULL, void *userData)
typedef int WGPU_ERROR_TYPE
typedef int WGPU_ERROR_FILTER
typedef void(* WGpuDeviceErrorCallback) (WGpuDevice device, WGPU_ERROR_TYPE errorType, const char *errorMessage NOTNULL, void *userData)
typedef struct WGpuColor WGpuColor
typedef struct WGpuOrigin2D WGpuOrigin2D
typedef struct WGpuOrigin3D WGpuOrigin3D
typedef struct WGpuCanvasConfiguration WGpuCanvasConfiguration
typedef struct WGpuRenderPassTimestampWrites WGpuRenderPassTimestampWrites
typedef struct WGpuRenderPassDescriptor WGpuRenderPassDescriptor
typedef struct WGpuRenderPassColorAttachment WGpuRenderPassColorAttachment
typedef struct WGpuImageCopyExternalImage WGpuImageCopyExternalImage
typedef struct WGpuImageCopyTexture WGpuImageCopyTexture
typedef struct WGpuImageCopyTextureTagged WGpuImageCopyTextureTagged
typedef struct WGpuDepthStencilState WGpuDepthStencilState
typedef struct WGpuBlendState WGpuBlendState
typedef struct WGpuColorTargetState WGpuColorTargetState
typedef struct WGpuRenderPipelineDescriptor WGpuRenderPipelineDescriptor
typedef struct WGpuBindGroupLayoutEntry WGpuBindGroupLayoutEntry
typedef WGpuObjectBase WGpuImageBitmap
typedef void(* WGpuLoadImageBitmapCallback) (WGpuImageBitmap bitmap, int width, int height, void *userData)

Functions

uint32_t wgpu_get_num_live_objects (void)
void wgpu_object_destroy (WGpuObjectBase wgpuObject)
void wgpu_destroy_all_objects (void)
EM_BOOL wgpu_is_valid_object (WGpuObjectBase obj)
void wgpu_object_set_label (WGpuObjectBase obj, const char *label NOTNULL)
int wgpu_object_get_label (WGpuObjectBase obj, char *dstLabel NOTNULL, uint32_t dstLabelSize)
EM_BOOL navigator_gpu_available (void)
void navigator_delete_webgpu_api_access (void)
EM_BOOL navigator_gpu_request_adapter_async (const WGpuRequestAdapterOptions *options, WGpuRequestAdapterCallback adapterCallback, void *userData)
WGpuAdapter navigator_gpu_request_adapter_sync (const WGpuRequestAdapterOptions *options)
void navigator_gpu_request_adapter_async_simple (WGpuRequestAdapterCallback adapterCallback)
WGpuAdapter navigator_gpu_request_adapter_sync_simple (void)
WGPU_TEXTURE_FORMAT navigator_gpu_get_preferred_canvas_format (void)
const char *const * navigator_gpu_get_wgsl_language_features (void)
EM_BOOL navigator_gpu_is_wgsl_language_feature_supported (const char *feature)
EM_BOOL wgpu_is_adapter (WGpuObjectBase object)
WGPU_FEATURES_BITFIELD wgpu_adapter_or_device_get_features (WGpuAdapter adapter)
EM_BOOL wgpu_adapter_or_device_supports_feature (WGpuAdapter adapter, WGPU_FEATURES_BITFIELD feature)
void wgpu_adapter_or_device_get_limits (WGpuAdapter adapter, WGpuSupportedLimits *limits NOTNULL)
EM_BOOL wgpu_adapter_is_fallback_adapter (WGpuAdapter adapter)
void wgpu_adapter_request_device_async (WGpuAdapter adapter, const WGpuDeviceDescriptor *descriptor NOTNULL, WGpuRequestDeviceCallback deviceCallback, void *userData)
WGpuDevice wgpu_adapter_request_device_sync (WGpuAdapter adapter, const WGpuDeviceDescriptor *descriptor NOTNULL)
void wgpu_adapter_request_device_async_simple (WGpuAdapter adapter, WGpuRequestDeviceCallback deviceCallback)
WGpuDevice wgpu_adapter_request_device_sync_simple (WGpuAdapter adapter)
void wgpu_adapter_request_adapter_info_async (WGpuAdapter adapter, const char **unmaskHints, WGpuRequestAdapterInfoCallback callback, void *userData)
EM_BOOL wgpu_is_device (WGpuObjectBase object)
WGpuQueue wgpu_device_get_queue (WGpuDevice device)
void wgpu_device_tick (WGpuDevice device)
WGpuBuffer wgpu_device_create_buffer (WGpuDevice device, const WGpuBufferDescriptor *bufferDesc NOTNULL)
WGpuTexture wgpu_device_create_texture (WGpuDevice device, const WGpuTextureDescriptor *textureDesc NOTNULL)
WGpuSampler wgpu_device_create_sampler (WGpuDevice device, const WGpuSamplerDescriptor *samplerDesc NOTNULL)
WGpuExternalTexture wgpu_device_import_external_texture (WGpuDevice device, const WGpuExternalTextureDescriptor *externalTextureDesc NOTNULL)
WGpuBindGroupLayout wgpu_device_create_bind_group_layout (WGpuDevice device, const WGpuBindGroupLayoutEntry *bindGroupLayoutEntries, int numEntries)
WGpuPipelineLayout wgpu_device_create_pipeline_layout (WGpuDevice device, const WGpuBindGroupLayout *bindGroupLayouts, int numLayouts)
WGpuBindGroup wgpu_device_create_bind_group (WGpuDevice device, WGpuBindGroupLayout bindGroupLayout, const WGpuBindGroupEntry *entries, int numEntries)
WGpuShaderModule wgpu_device_create_shader_module (WGpuDevice device, const WGpuShaderModuleDescriptor *shaderModuleDesc NOTNULL)
WGpuComputePipeline wgpu_device_create_compute_pipeline (WGpuDevice device, WGpuShaderModule computeModule, const char *entryPoint NOTNULL, WGpuPipelineLayout layout, const WGpuPipelineConstant *constants, int numConstants)
void wgpu_device_create_compute_pipeline_async (WGpuDevice device, WGpuShaderModule computeModule, const char *entryPoint NOTNULL, WGpuPipelineLayout layout, const WGpuPipelineConstant *constants, int numConstants, WGpuCreatePipelineCallback callback, void *userData)
WGpuRenderPipeline wgpu_device_create_render_pipeline (WGpuDevice device, const WGpuRenderPipelineDescriptor *renderPipelineDesc NOTNULL)
void wgpu_device_create_render_pipeline_async (WGpuDevice device, const WGpuRenderPipelineDescriptor *renderPipelineDesc NOTNULL, WGpuCreatePipelineCallback callback, void *userData)
WGpuCommandEncoder wgpu_device_create_command_encoder (WGpuDevice device, const WGpuCommandEncoderDescriptor *commandEncoderDesc)
WGpuCommandEncoder wgpu_device_create_command_encoder_simple (WGpuDevice device)
WGpuRenderBundleEncoder wgpu_device_create_render_bundle_encoder (WGpuDevice device, const WGpuRenderBundleEncoderDescriptor *renderBundleEncoderDesc NOTNULL)
WGpuQuerySet wgpu_device_create_query_set (WGpuDevice device, const WGpuQuerySetDescriptor *querySetDesc NOTNULL)
EM_BOOL wgpu_is_buffer (WGpuObjectBase object)
void wgpu_buffer_map_async (WGpuBuffer buffer, WGpuBufferMapCallback callback, void *userData, WGPU_MAP_MODE_FLAGS mode, double_int53_t offset _WGPU_DEFAULT_VALUE(0), double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_MAX_SIZE))
void wgpu_buffer_map_sync (WGpuBuffer buffer, WGPU_MAP_MODE_FLAGS mode, double_int53_t offset _WGPU_DEFAULT_VALUE(0), double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_MAX_SIZE))
double_int53_t wgpu_buffer_get_mapped_range (WGpuBuffer buffer, double_int53_t startOffset, double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_MAX_SIZE))
void wgpu_buffer_read_mapped_range (WGpuBuffer buffer, double_int53_t startOffset, double_int53_t subOffset, void *dst NOTNULL, double_int53_t size)
void wgpu_buffer_write_mapped_range (WGpuBuffer buffer, double_int53_t startOffset, double_int53_t subOffset, const void *src NOTNULL, double_int53_t size)
void wgpu_buffer_unmap (WGpuBuffer buffer)
double_int53_t wgpu_buffer_size (WGpuBuffer buffer)
WGPU_BUFFER_USAGE_FLAGS wgpu_buffer_usage (WGpuBuffer buffer)
WGPU_BUFFER_MAP_STATE wgpu_buffer_map_state (WGpuBuffer buffer)
EM_BOOL wgpu_is_texture (WGpuObjectBase object)
WGpuTextureView wgpu_texture_create_view (WGpuTexture texture, const WGpuTextureViewDescriptor *textureViewDesc _WGPU_DEFAULT_VALUE(0))
WGpuTextureView wgpu_texture_create_view_simple (WGpuTexture texture)
uint32_t wgpu_texture_width (WGpuTexture texture)
uint32_t wgpu_texture_height (WGpuTexture texture)
uint32_t wgpu_texture_depth_or_array_layers (WGpuTexture texture)
uint32_t wgpu_texture_mip_level_count (WGpuTexture texture)
uint32_t wgpu_texture_sample_count (WGpuTexture texture)
WGPU_TEXTURE_DIMENSION wgpu_texture_dimension (WGpuTexture texture)
WGPU_TEXTURE_FORMAT wgpu_texture_format (WGpuTexture texture)
WGPU_TEXTURE_USAGE_FLAGS wgpu_texture_usage (WGpuTexture texture)
EM_BOOL wgpu_is_texture_view (WGpuObjectBase object)
EM_BOOL wgpu_is_external_texture (WGpuObjectBase object)
EM_BOOL wgpu_is_sampler (WGpuObjectBase object)
EM_BOOL wgpu_is_bind_group_layout (WGpuObjectBase object)
EM_BOOL wgpu_is_bind_group (WGpuObjectBase object)
EM_BOOL wgpu_is_pipeline_layout (WGpuObjectBase object)
EM_BOOL wgpu_is_shader_module (WGpuObjectBase object)
void wgpu_shader_module_get_compilation_info_async (WGpuShaderModule shaderModule, WGpuGetCompilationInfoCallback callback, void *userData)
const char * wgpu_compilation_message_type_to_string (WGPU_COMPILATION_MESSAGE_TYPE type)
WGpuBindGroupLayout wgpu_pipeline_get_bind_group_layout (WGpuObjectBase pipelineBase, uint32_t index)
EM_BOOL wgpu_is_compute_pipeline (WGpuObjectBase object)
EM_BOOL wgpu_is_render_pipeline (WGpuObjectBase object)
EM_BOOL wgpu_is_command_buffer (WGpuObjectBase object)
void wgpu_encoder_push_debug_group (WGpuDebugCommandsMixin encoder, const char *groupLabel NOTNULL)
void wgpu_encoder_pop_debug_group (WGpuDebugCommandsMixin encoder)
void wgpu_encoder_insert_debug_marker (WGpuDebugCommandsMixin encoder, const char *markerLabel NOTNULL)
EM_BOOL wgpu_is_command_encoder (WGpuObjectBase object)
WGpuRenderPassEncoder wgpu_command_encoder_begin_render_pass (WGpuCommandEncoder commandEncoder, const WGpuRenderPassDescriptor *renderPassDesc NOTNULL)
WGpuRenderPassEncoder wgpu_command_encoder_begin_render_pass_1color_0depth (WGpuCommandEncoder commandEncoder, const WGpuRenderPassDescriptor *renderPassDesc NOTNULL)
WGpuComputePassEncoder wgpu_command_encoder_begin_compute_pass (WGpuCommandEncoder commandEncoder, const WGpuComputePassDescriptor *computePassDesc _WGPU_DEFAULT_VALUE(0))
void wgpu_command_encoder_copy_buffer_to_buffer (WGpuCommandEncoder commandEncoder, WGpuBuffer source, double_int53_t sourceOffset, WGpuBuffer destination, double_int53_t destinationOffset, double_int53_t size)
void wgpu_command_encoder_copy_buffer_to_texture (WGpuCommandEncoder commandEncoder, const WGpuImageCopyBuffer *source NOTNULL, const WGpuImageCopyTexture *destination NOTNULL, uint32_t copyWidth, uint32_t copyHeight _WGPU_DEFAULT_VALUE(1), uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE(1))
void wgpu_command_encoder_copy_texture_to_buffer (WGpuCommandEncoder commandEncoder, const WGpuImageCopyTexture *source NOTNULL, const WGpuImageCopyBuffer *destination NOTNULL, uint32_t copyWidth, uint32_t copyHeight _WGPU_DEFAULT_VALUE(1), uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE(1))
void wgpu_command_encoder_copy_texture_to_texture (WGpuCommandEncoder commandEncoder, const WGpuImageCopyTexture *source NOTNULL, const WGpuImageCopyTexture *destination NOTNULL, uint32_t copyWidth, uint32_t copyHeight _WGPU_DEFAULT_VALUE(1), uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE(1))
void wgpu_command_encoder_clear_buffer (WGpuCommandEncoder commandEncoder, WGpuBuffer buffer, double_int53_t offset _WGPU_DEFAULT_VALUE(0), double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_INFINITY))
void wgpu_command_encoder_write_timestamp (WGpuCommandEncoder commandEncoder, WGpuQuerySet querySet, uint32_t queryIndex)
void wgpu_command_encoder_resolve_query_set (WGpuCommandEncoder commandEncoder, WGpuQuerySet querySet, uint32_t firstQuery, uint32_t queryCount, WGpuBuffer destination, double_int53_t destinationOffset)
WGpuObjectBase wgpu_encoder_finish (WGpuObjectBase commandOrRenderBundleEncoder)
EM_BOOL wgpu_is_binding_commands_mixin (WGpuObjectBase object)
void wgpu_encoder_set_bind_group (WGpuBindingCommandsMixin encoder, uint32_t index, WGpuBindGroup bindGroup, const uint32_t *dynamicOffsets _WGPU_DEFAULT_VALUE(0), uint32_t numDynamicOffsets _WGPU_DEFAULT_VALUE(0))
void wgpu_encoder_set_pipeline (WGpuBindingCommandsMixin encoder, WGpuObjectBase pipeline)
void wgpu_encoder_end (WGpuBindingCommandsMixin encoder)
EM_BOOL wgpu_is_compute_pass_encoder (WGpuObjectBase object)
void wgpu_compute_pass_encoder_dispatch_workgroups (WGpuComputePassEncoder encoder, uint32_t workgroupCountX, uint32_t workgroupCountY _WGPU_DEFAULT_VALUE(1), uint32_t workgroupCountZ _WGPU_DEFAULT_VALUE(1))
void wgpu_compute_pass_encoder_dispatch_workgroups_indirect (WGpuComputePassEncoder encoder, WGpuBuffer indirectBuffer, double_int53_t indirectOffset)
EM_BOOL wgpu_is_render_commands_mixin (WGpuObjectBase object)
void wgpu_render_commands_mixin_set_index_buffer (WGpuRenderCommandsMixin renderCommandsMixin, WGpuBuffer buffer, WGPU_INDEX_FORMAT indexFormat, double_int53_t offset _WGPU_DEFAULT_VALUE(0), double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_MAX_SIZE))
void wgpu_render_commands_mixin_set_vertex_buffer (WGpuRenderCommandsMixin renderCommandsMixin, int32_t slot, WGpuBuffer buffer, double_int53_t offset _WGPU_DEFAULT_VALUE(0), double_int53_t size _WGPU_DEFAULT_VALUE(WGPU_MAX_SIZE))
void wgpu_render_commands_mixin_draw (WGpuRenderCommandsMixin renderCommandsMixin, uint32_t vertexCount, uint32_t instanceCount _WGPU_DEFAULT_VALUE(1), uint32_t firstVertex _WGPU_DEFAULT_VALUE(0), uint32_t firstInstance _WGPU_DEFAULT_VALUE(0))
void wgpu_render_commands_mixin_draw_indexed (WGpuRenderCommandsMixin renderCommandsMixin, uint32_t indexCount, uint32_t instanceCount _WGPU_DEFAULT_VALUE(1), uint32_t firstVertex _WGPU_DEFAULT_VALUE(0), int32_t baseVertex _WGPU_DEFAULT_VALUE(0), uint32_t firstInstance _WGPU_DEFAULT_VALUE(0))
void wgpu_render_commands_mixin_draw_indirect (WGpuRenderCommandsMixin renderCommandsMixin, WGpuBuffer indirectBuffer, double_int53_t indirectOffset)
void wgpu_render_commands_mixin_draw_indexed_indirect (WGpuRenderCommandsMixin renderCommandsMixin, WGpuBuffer indirectBuffer, double_int53_t indirectOffset)
EM_BOOL wgpu_is_render_pass_encoder (WGpuObjectBase object)
void wgpu_render_pass_encoder_set_viewport (WGpuRenderPassEncoder encoder, float x, float y, float width, float height, float minDepth, float maxDepth)
void wgpu_render_pass_encoder_set_scissor_rect (WGpuRenderPassEncoder encoder, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
void wgpu_render_pass_encoder_set_blend_constant (WGpuRenderPassEncoder encoder, double r, double g, double b, double a)
void wgpu_render_pass_encoder_set_stencil_reference (WGpuRenderPassEncoder encoder, uint32_t stencilValue)
void wgpu_render_pass_encoder_begin_occlusion_query (WGpuRenderPassEncoder encoder, int32_t queryIndex)
void wgpu_render_pass_encoder_end_occlusion_query (WGpuRenderPassEncoder encoder)
void wgpu_render_pass_encoder_execute_bundles (WGpuRenderPassEncoder encoder, const WGpuRenderBundle *bundles, int numBundles)
EM_BOOL wgpu_is_render_bundle (WGpuObjectBase object)
EM_BOOL wgpu_is_render_bundle_encoder (WGpuObjectBase object)
EM_BOOL wgpu_is_queue (WGpuObjectBase object)
void wgpu_queue_submit_one_and_destroy (WGpuQueue queue, WGpuCommandBuffer commandBuffer)
void wgpu_queue_submit_multiple_and_destroy (WGpuQueue queue, const WGpuCommandBuffer *commandBuffers, int numCommandBuffers)
void wgpu_queue_set_on_submitted_work_done_callback (WGpuQueue queue, WGpuOnSubmittedWorkDoneCallback callback, void *userData)
void wgpu_queue_write_buffer (WGpuQueue queue, WGpuBuffer buffer, double_int53_t bufferOffset, const void *data NOTNULL, double_int53_t size)
void wgpu_queue_write_texture (WGpuQueue queue, const WGpuImageCopyTexture *destination NOTNULL, const void *data NOTNULL, uint32_t bytesPerBlockRow, uint32_t blockRowsPerImage, uint32_t writeWidth, uint32_t writeHeight _WGPU_DEFAULT_VALUE(1), uint32_t writeDepthOrArrayLayers _WGPU_DEFAULT_VALUE(1))
void wgpu_queue_copy_external_image_to_texture (WGpuQueue queue, const WGpuImageCopyExternalImage *source NOTNULL, const WGpuImageCopyTextureTagged *destination NOTNULL, uint32_t copyWidth, uint32_t copyHeight _WGPU_DEFAULT_VALUE(1), uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE(1))
EM_BOOL wgpu_is_query_set (WGpuObjectBase object)
WGPU_QUERY_TYPE wgpu_query_set_type (WGpuQuerySet querySet)
uint32_t wgpu_query_set_count (WGpuQuerySet querySet)
EM_BOOL wgpu_is_canvas_context (WGpuObjectBase object)
void wgpu_canvas_context_configure (WGpuCanvasContext canvasContext, const WGpuCanvasConfiguration *config NOTNULL, int width _WGPU_DEFAULT_VALUE(0), int height _WGPU_DEFAULT_VALUE(0))
void wgpu_canvas_context_unconfigure (WGpuCanvasContext canvasContext)
WGpuTexture wgpu_canvas_context_get_current_texture (WGpuCanvasContext canvasContext)
WGpuTextureView wgpu_canvas_context_get_current_texture_view (WGpuCanvasContext canvasContext)
void wgpu_canvas_context_present (WGpuCanvasContext canvasContext)
void wgpu_device_set_lost_callback (WGpuDevice device, WGpuDeviceLostCallback callback, void *userData)
void wgpu_device_push_error_scope (WGpuDevice device, WGPU_ERROR_FILTER filter)
void wgpu_device_pop_error_scope_async (WGpuDevice device, WGpuDeviceErrorCallback callback, void *userData)
void wgpu_device_set_uncapturederror_callback (WGpuDevice device, WGpuDeviceErrorCallback callback, void *userData)
void wgpu_load_image_bitmap_from_url_async (const char *url NOTNULL, EM_BOOL flipY, WGpuLoadImageBitmapCallback callback, void *userData)

Variables

const WGpuExtent3D WGPU_EXTENT_3D_DEFAULT_INITIALIZER
const WGpuRequestAdapterOptions WGPU_REQUEST_ADAPTER_OPTIONS_DEFAULT_INITIALIZER
const WGpuDeviceDescriptor WGPU_DEVICE_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuTextureDescriptor WGPU_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuTextureViewDescriptor WGPU_TEXTURE_VIEW_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuExternalTextureDescriptor WGPU_EXTERNAL_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuSamplerDescriptor WGPU_SAMPLER_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuBufferBindingLayout WGPU_BUFFER_BINDING_LAYOUT_DEFAULT_INITIALIZER
const WGpuSamplerBindingLayout WGPU_SAMPLER_BINDING_LAYOUT_DEFAULT_INITIALIZER
const WGpuTextureBindingLayout WGPU_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER
const WGpuStorageTextureBindingLayout WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER
const WGpuBindGroupEntry WGPU_BIND_GROUP_ENTRY_DEFAULT_INITIALIZER
const WGpuShaderModuleCompilationHint WGPU_SHADER_MODULE_COMPILATION_HINT_DEFAULT_INITIALIZER
const WGpuCommandEncoderDescriptor WGPU_COMMAND_ENCODER_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuImageCopyBuffer WGPU_IMAGE_COPY_BUFFER_DEFAULT_INITIALIZER
const WGpuComputePassTimestampWrites WGPU_COMPUTE_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER
const WGpuComputePassDescriptor WGPU_COMPUTE_PASS_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuRenderPassDepthStencilAttachment WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_DEFAULT_INITIALIZER
const WGpuCanvasConfiguration WGPU_CANVAS_CONFIGURATION_DEFAULT_INITIALIZER
const WGpuRenderPassTimestampWrites WGPU_RENDER_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER
const WGpuRenderPassDescriptor WGPU_RENDER_PASS_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuRenderPassColorAttachment WGPU_RENDER_PASS_COLOR_ATTACHMENT_DEFAULT_INITIALIZER
const WGpuImageCopyExternalImage WGPU_IMAGE_COPY_EXTERNAL_IMAGE_DEFAULT_INITIALIZER
const WGpuImageCopyTexture WGPU_IMAGE_COPY_TEXTURE_DEFAULT_INITIALIZER
const WGpuImageCopyTextureTagged WGPU_IMAGE_COPY_TEXTURE_TAGGED_DEFAULT_INITIALIZER
const WGpuColorTargetState WGPU_COLOR_TARGET_STATE_DEFAULT_INITIALIZER
const WGpuRenderPipelineDescriptor WGPU_RENDER_PIPELINE_DESCRIPTOR_DEFAULT_INITIALIZER
const WGpuBindGroupLayoutEntry WGPU_BUFFER_BINDING_LAYOUT_ENTRY_DEFAULT_INITIALIZER

Macro Definition Documentation

◆ _WGPU_DEFAULT_VALUE

#define _WGPU_DEFAULT_VALUE ( x)

◆ EM_BOOL

#define EM_BOOL   int

◆ EM_FALSE

#define EM_FALSE   0

◆ EM_TRUE

#define EM_TRUE   1

◆ HTML_PREDEFINED_COLOR_SPACE_DISPLAY_P3

#define HTML_PREDEFINED_COLOR_SPACE_DISPLAY_P3   2

◆ HTML_PREDEFINED_COLOR_SPACE_INVALID

#define HTML_PREDEFINED_COLOR_SPACE_INVALID   0

◆ HTML_PREDEFINED_COLOR_SPACE_SRGB

#define HTML_PREDEFINED_COLOR_SPACE_SRGB   1

◆ wgpu_adapter_get_features

#define wgpu_adapter_get_features   wgpu_adapter_or_device_get_features

◆ wgpu_adapter_get_limits

#define wgpu_adapter_get_limits   wgpu_adapter_or_device_get_limits

◆ wgpu_adapter_supports_feature

#define wgpu_adapter_supports_feature   wgpu_adapter_or_device_supports_feature

◆ WGPU_ADDRESS_MODE_CLAMP_TO_EDGE

#define WGPU_ADDRESS_MODE_CLAMP_TO_EDGE   1

◆ WGPU_ADDRESS_MODE_INVALID

#define WGPU_ADDRESS_MODE_INVALID   0

◆ WGPU_ADDRESS_MODE_MIRROR_REPEAT

#define WGPU_ADDRESS_MODE_MIRROR_REPEAT   3

◆ WGPU_ADDRESS_MODE_REPEAT

#define WGPU_ADDRESS_MODE_REPEAT   2

◆ WGPU_AUTO_LAYOUT_MODE_AUTO

#define WGPU_AUTO_LAYOUT_MODE_AUTO   1

◆ WGPU_AUTO_LAYOUT_MODE_NO_HINT

#define WGPU_AUTO_LAYOUT_MODE_NO_HINT   0

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_BUFFER

#define WGPU_BIND_GROUP_LAYOUT_TYPE_BUFFER   1

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_EXTERNAL_TEXTURE

#define WGPU_BIND_GROUP_LAYOUT_TYPE_EXTERNAL_TEXTURE   5

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_INVALID

#define WGPU_BIND_GROUP_LAYOUT_TYPE_INVALID   0

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_SAMPLER

#define WGPU_BIND_GROUP_LAYOUT_TYPE_SAMPLER   2

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_STORAGE_TEXTURE

#define WGPU_BIND_GROUP_LAYOUT_TYPE_STORAGE_TEXTURE   4

◆ WGPU_BIND_GROUP_LAYOUT_TYPE_TEXTURE

#define WGPU_BIND_GROUP_LAYOUT_TYPE_TEXTURE   3

◆ WGPU_BLEND_FACTOR_CONSTANT

#define WGPU_BLEND_FACTOR_CONSTANT   12

◆ WGPU_BLEND_FACTOR_DST

#define WGPU_BLEND_FACTOR_DST   7

◆ WGPU_BLEND_FACTOR_DST_ALPHA

#define WGPU_BLEND_FACTOR_DST_ALPHA   9

◆ WGPU_BLEND_FACTOR_INVALID

#define WGPU_BLEND_FACTOR_INVALID   0

◆ WGPU_BLEND_FACTOR_ONE

#define WGPU_BLEND_FACTOR_ONE   2

◆ WGPU_BLEND_FACTOR_ONE_MINUS_CONSTANT

#define WGPU_BLEND_FACTOR_ONE_MINUS_CONSTANT   13

◆ WGPU_BLEND_FACTOR_ONE_MINUS_DST

#define WGPU_BLEND_FACTOR_ONE_MINUS_DST   8

◆ WGPU_BLEND_FACTOR_ONE_MINUS_DST_ALPHA

#define WGPU_BLEND_FACTOR_ONE_MINUS_DST_ALPHA   10

◆ WGPU_BLEND_FACTOR_ONE_MINUS_SRC

#define WGPU_BLEND_FACTOR_ONE_MINUS_SRC   4

◆ WGPU_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA

#define WGPU_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA   6

◆ WGPU_BLEND_FACTOR_SRC

#define WGPU_BLEND_FACTOR_SRC   3

◆ WGPU_BLEND_FACTOR_SRC_ALPHA

#define WGPU_BLEND_FACTOR_SRC_ALPHA   5

◆ WGPU_BLEND_FACTOR_SRC_ALPHA_SATURATED

#define WGPU_BLEND_FACTOR_SRC_ALPHA_SATURATED   11

◆ WGPU_BLEND_FACTOR_ZERO

#define WGPU_BLEND_FACTOR_ZERO   1

◆ WGPU_BLEND_OPERATION_ADD

#define WGPU_BLEND_OPERATION_ADD   1

◆ WGPU_BLEND_OPERATION_DISABLED

#define WGPU_BLEND_OPERATION_DISABLED   0

◆ WGPU_BLEND_OPERATION_INVALID

#define WGPU_BLEND_OPERATION_INVALID   0

◆ WGPU_BLEND_OPERATION_MAX

#define WGPU_BLEND_OPERATION_MAX   5

◆ WGPU_BLEND_OPERATION_MIN

#define WGPU_BLEND_OPERATION_MIN   4

◆ WGPU_BLEND_OPERATION_REVERSE_SUBTRACT

#define WGPU_BLEND_OPERATION_REVERSE_SUBTRACT   3

◆ WGPU_BLEND_OPERATION_SUBTRACT

#define WGPU_BLEND_OPERATION_SUBTRACT   2

◆ WGPU_BUFFER_BINDING_TYPE_INVALID

#define WGPU_BUFFER_BINDING_TYPE_INVALID   0

◆ WGPU_BUFFER_BINDING_TYPE_READ_ONLY_STORAGE

#define WGPU_BUFFER_BINDING_TYPE_READ_ONLY_STORAGE   3

◆ WGPU_BUFFER_BINDING_TYPE_STORAGE

#define WGPU_BUFFER_BINDING_TYPE_STORAGE   2

◆ WGPU_BUFFER_BINDING_TYPE_UNIFORM

#define WGPU_BUFFER_BINDING_TYPE_UNIFORM   1

◆ WGPU_BUFFER_GET_MAPPED_RANGE_FAILED

#define WGPU_BUFFER_GET_MAPPED_RANGE_FAILED   ((double_int53_t)-1)

◆ WGPU_BUFFER_MAP_STATE_INVALID

#define WGPU_BUFFER_MAP_STATE_INVALID   0

◆ WGPU_BUFFER_MAP_STATE_MAPPED

#define WGPU_BUFFER_MAP_STATE_MAPPED   3

◆ WGPU_BUFFER_MAP_STATE_PENDING

#define WGPU_BUFFER_MAP_STATE_PENDING   2

◆ WGPU_BUFFER_MAP_STATE_UNMAPPED

#define WGPU_BUFFER_MAP_STATE_UNMAPPED   1

◆ WGPU_BUFFER_USAGE_COPY_DST

#define WGPU_BUFFER_USAGE_COPY_DST   0x0008

◆ WGPU_BUFFER_USAGE_COPY_SRC

#define WGPU_BUFFER_USAGE_COPY_SRC   0x0004

◆ WGPU_BUFFER_USAGE_INDEX

#define WGPU_BUFFER_USAGE_INDEX   0x0010

◆ WGPU_BUFFER_USAGE_INDIRECT

#define WGPU_BUFFER_USAGE_INDIRECT   0x0100

◆ WGPU_BUFFER_USAGE_MAP_READ

#define WGPU_BUFFER_USAGE_MAP_READ   0x0001

◆ WGPU_BUFFER_USAGE_MAP_WRITE

#define WGPU_BUFFER_USAGE_MAP_WRITE   0x0002

◆ WGPU_BUFFER_USAGE_QUERY_RESOLVE

#define WGPU_BUFFER_USAGE_QUERY_RESOLVE   0x0200

◆ WGPU_BUFFER_USAGE_STORAGE

#define WGPU_BUFFER_USAGE_STORAGE   0x0080

◆ WGPU_BUFFER_USAGE_UNIFORM

#define WGPU_BUFFER_USAGE_UNIFORM   0x0040

◆ WGPU_BUFFER_USAGE_VERTEX

#define WGPU_BUFFER_USAGE_VERTEX   0x0020

◆ WGPU_CANVAS_ALPHA_MODE_INVALID

#define WGPU_CANVAS_ALPHA_MODE_INVALID   0

◆ WGPU_CANVAS_ALPHA_MODE_OPAQUE

#define WGPU_CANVAS_ALPHA_MODE_OPAQUE   1

◆ WGPU_CANVAS_ALPHA_MODE_PREMULTIPLIED

#define WGPU_CANVAS_ALPHA_MODE_PREMULTIPLIED   2

◆ WGPU_COLOR_WRITE_ALL

#define WGPU_COLOR_WRITE_ALL   0x0F

◆ WGPU_COLOR_WRITE_ALPHA

#define WGPU_COLOR_WRITE_ALPHA   0x08

◆ WGPU_COLOR_WRITE_BLUE

#define WGPU_COLOR_WRITE_BLUE   0x04

◆ WGPU_COLOR_WRITE_GREEN

#define WGPU_COLOR_WRITE_GREEN   0x02

◆ WGPU_COLOR_WRITE_RED

#define WGPU_COLOR_WRITE_RED   0x01

◆ wgpu_command_encoder_finish

#define wgpu_command_encoder_finish   wgpu_encoder_finish

◆ wgpu_command_encoder_insert_debug_marker

#define wgpu_command_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker

◆ wgpu_command_encoder_pop_debug_group

#define wgpu_command_encoder_pop_debug_group   wgpu_encoder_pop_debug_group

◆ wgpu_command_encoder_push_debug_group

#define wgpu_command_encoder_push_debug_group   wgpu_encoder_push_debug_group

◆ WGPU_COMPARE_FUNCTION_ALWAYS

#define WGPU_COMPARE_FUNCTION_ALWAYS   8

◆ WGPU_COMPARE_FUNCTION_EQUAL

#define WGPU_COMPARE_FUNCTION_EQUAL   3

◆ WGPU_COMPARE_FUNCTION_GREATER

#define WGPU_COMPARE_FUNCTION_GREATER   5

◆ WGPU_COMPARE_FUNCTION_GREATER_EQUAL

#define WGPU_COMPARE_FUNCTION_GREATER_EQUAL   7

◆ WGPU_COMPARE_FUNCTION_INVALID

#define WGPU_COMPARE_FUNCTION_INVALID   0

◆ WGPU_COMPARE_FUNCTION_LESS

#define WGPU_COMPARE_FUNCTION_LESS   2

◆ WGPU_COMPARE_FUNCTION_LESS_EQUAL

#define WGPU_COMPARE_FUNCTION_LESS_EQUAL   4

◆ WGPU_COMPARE_FUNCTION_NEVER

#define WGPU_COMPARE_FUNCTION_NEVER   1

◆ WGPU_COMPARE_FUNCTION_NOT_EQUAL

#define WGPU_COMPARE_FUNCTION_NOT_EQUAL   6

◆ WGPU_COMPILATION_MESSAGE_TYPE_ERROR

#define WGPU_COMPILATION_MESSAGE_TYPE_ERROR   0

◆ WGPU_COMPILATION_MESSAGE_TYPE_INFO

#define WGPU_COMPILATION_MESSAGE_TYPE_INFO   2

◆ WGPU_COMPILATION_MESSAGE_TYPE_WARNING

#define WGPU_COMPILATION_MESSAGE_TYPE_WARNING   1

◆ wgpu_compute_pass_encoder_end

#define wgpu_compute_pass_encoder_end   wgpu_encoder_end

◆ wgpu_compute_pass_encoder_insert_debug_marker

#define wgpu_compute_pass_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker

◆ wgpu_compute_pass_encoder_pop_debug_group

#define wgpu_compute_pass_encoder_pop_debug_group   wgpu_encoder_pop_debug_group

◆ wgpu_compute_pass_encoder_push_debug_group

#define wgpu_compute_pass_encoder_push_debug_group   wgpu_encoder_push_debug_group

◆ wgpu_compute_pass_encoder_set_bind_group

#define wgpu_compute_pass_encoder_set_bind_group   wgpu_encoder_set_bind_group

◆ wgpu_compute_pass_encoder_set_pipeline

#define wgpu_compute_pass_encoder_set_pipeline   wgpu_encoder_set_pipeline

◆ wgpu_compute_pipeline_get_bind_group_layout

#define wgpu_compute_pipeline_get_bind_group_layout   wgpu_pipeline_get_bind_group_layout

◆ WGPU_CULL_MODE_BACK

#define WGPU_CULL_MODE_BACK   3

◆ WGPU_CULL_MODE_FRONT

#define WGPU_CULL_MODE_FRONT   2

◆ WGPU_CULL_MODE_INVALID

#define WGPU_CULL_MODE_INVALID   0

◆ WGPU_CULL_MODE_NONE

#define WGPU_CULL_MODE_NONE   1

◆ wgpu_device_get_features

#define wgpu_device_get_features   wgpu_adapter_or_device_get_features

◆ wgpu_device_get_limits

#define wgpu_device_get_limits   wgpu_adapter_or_device_get_limits

◆ WGPU_DEVICE_LOST_REASON_DESTROYED

#define WGPU_DEVICE_LOST_REASON_DESTROYED   1

◆ WGPU_DEVICE_LOST_REASON_UNKNOWN

#define WGPU_DEVICE_LOST_REASON_UNKNOWN   0

◆ wgpu_device_supports_feature

#define wgpu_device_supports_feature   wgpu_adapter_or_device_supports_feature

◆ WGPU_ERROR_FILTER_INTERNAL

#define WGPU_ERROR_FILTER_INTERNAL   3

◆ WGPU_ERROR_FILTER_INVALID

#define WGPU_ERROR_FILTER_INVALID   0

◆ WGPU_ERROR_FILTER_OUT_OF_MEMORY

#define WGPU_ERROR_FILTER_OUT_OF_MEMORY   1

◆ WGPU_ERROR_FILTER_VALIDATION

#define WGPU_ERROR_FILTER_VALIDATION   2

◆ WGPU_ERROR_TYPE_NO_ERROR

#define WGPU_ERROR_TYPE_NO_ERROR   0

◆ WGPU_ERROR_TYPE_OUT_OF_MEMORY

#define WGPU_ERROR_TYPE_OUT_OF_MEMORY   1

◆ WGPU_ERROR_TYPE_UNKNOWN_ERROR

#define WGPU_ERROR_TYPE_UNKNOWN_ERROR   3

◆ WGPU_ERROR_TYPE_VALIDATION

#define WGPU_ERROR_TYPE_VALIDATION   2

◆ WGPU_FEATURE_BGRA8UNORM_STORAGE

#define WGPU_FEATURE_BGRA8UNORM_STORAGE   0x200

◆ WGPU_FEATURE_DEPTH32FLOAT_STENCIL8

#define WGPU_FEATURE_DEPTH32FLOAT_STENCIL8   0x02

◆ WGPU_FEATURE_DEPTH_CLIP_CONTROL

#define WGPU_FEATURE_DEPTH_CLIP_CONTROL   0x01

◆ WGPU_FEATURE_FLOAT32_FILTERABLE

#define WGPU_FEATURE_FLOAT32_FILTERABLE   0x400

◆ WGPU_FEATURE_INDIRECT_FIRST_INSTANCE

#define WGPU_FEATURE_INDIRECT_FIRST_INSTANCE   0x40

◆ WGPU_FEATURE_RG11B10UFLOAT_RENDERABLE

#define WGPU_FEATURE_RG11B10UFLOAT_RENDERABLE   0x100

◆ WGPU_FEATURE_SHADER_F16

#define WGPU_FEATURE_SHADER_F16   0x80

◆ WGPU_FEATURE_TEXTURE_COMPRESSION_ASTC

#define WGPU_FEATURE_TEXTURE_COMPRESSION_ASTC   0x10

◆ WGPU_FEATURE_TEXTURE_COMPRESSION_BC

#define WGPU_FEATURE_TEXTURE_COMPRESSION_BC   0x04

◆ WGPU_FEATURE_TEXTURE_COMPRESSION_ETC2

#define WGPU_FEATURE_TEXTURE_COMPRESSION_ETC2   0x08

◆ WGPU_FEATURE_TIMESTAMP_QUERY

#define WGPU_FEATURE_TIMESTAMP_QUERY   0x20

◆ WGPU_FILTER_MODE_INVALID

#define WGPU_FILTER_MODE_INVALID   0

◆ WGPU_FILTER_MODE_LINEAR

#define WGPU_FILTER_MODE_LINEAR   2

◆ WGPU_FILTER_MODE_NEAREST

#define WGPU_FILTER_MODE_NEAREST   1

◆ wgpu_free_compilation_info

#define wgpu_free_compilation_info ( info)
Value:
free((info))
void info(std::string info)
Definition check.cc:24

◆ WGPU_FRONT_FACE_CCW

#define WGPU_FRONT_FACE_CCW   1

◆ WGPU_FRONT_FACE_CW

#define WGPU_FRONT_FACE_CW   2

◆ WGPU_FRONT_FACE_INVALID

#define WGPU_FRONT_FACE_INVALID   0

◆ WGPU_INDEX_FORMAT_INVALID

#define WGPU_INDEX_FORMAT_INVALID   0

◆ WGPU_INDEX_FORMAT_UINT16

#define WGPU_INDEX_FORMAT_UINT16   1

◆ WGPU_INDEX_FORMAT_UINT32

#define WGPU_INDEX_FORMAT_UINT32   2

◆ WGPU_INFINITY

#define WGPU_INFINITY   ((double)INFINITY)

◆ WGPU_LOAD_OP_CLEAR

#define WGPU_LOAD_OP_CLEAR   2

◆ WGPU_LOAD_OP_LOAD

#define WGPU_LOAD_OP_LOAD   1

◆ WGPU_LOAD_OP_UNDEFINED

#define WGPU_LOAD_OP_UNDEFINED   0

◆ WGPU_MAP_MODE_READ

#define WGPU_MAP_MODE_READ   0x1

◆ WGPU_MAP_MODE_WRITE

#define WGPU_MAP_MODE_WRITE   0x2

◆ WGPU_MAX_SIZE

#define WGPU_MAX_SIZE   -1

◆ WGPU_MIPMAP_FILTER_MODE_INVALID

#define WGPU_MIPMAP_FILTER_MODE_INVALID   0

◆ WGPU_MIPMAP_FILTER_MODE_LINEAR

#define WGPU_MIPMAP_FILTER_MODE_LINEAR   2

◆ WGPU_MIPMAP_FILTER_MODE_NEAREST

#define WGPU_MIPMAP_FILTER_MODE_NEAREST   1

◆ WGPU_NAN

#define WGPU_NAN   ((double)NAN)

◆ WGPU_OBJECT_LABEL_MAX_LENGTH

#define WGPU_OBJECT_LABEL_MAX_LENGTH   256

◆ WGPU_PIPELINE_STATISTIC_NAME_INVALID

#define WGPU_PIPELINE_STATISTIC_NAME_INVALID   0

◆ WGPU_PIPELINE_STATISTIC_NAME_TIMESTAMP

#define WGPU_PIPELINE_STATISTIC_NAME_TIMESTAMP   1

◆ WGPU_POWER_PREFERENCE_HIGH_PERFORMANCE

#define WGPU_POWER_PREFERENCE_HIGH_PERFORMANCE   2

◆ WGPU_POWER_PREFERENCE_INVALID

#define WGPU_POWER_PREFERENCE_INVALID   0

◆ WGPU_POWER_PREFERENCE_LOW_POWER

#define WGPU_POWER_PREFERENCE_LOW_POWER   1

◆ WGPU_PRIMITIVE_TOPOLOGY_INVALID

#define WGPU_PRIMITIVE_TOPOLOGY_INVALID   0

◆ WGPU_PRIMITIVE_TOPOLOGY_LINE_LIST

#define WGPU_PRIMITIVE_TOPOLOGY_LINE_LIST   2

◆ WGPU_PRIMITIVE_TOPOLOGY_LINE_STRIP

#define WGPU_PRIMITIVE_TOPOLOGY_LINE_STRIP   3

◆ WGPU_PRIMITIVE_TOPOLOGY_POINT_LIST

#define WGPU_PRIMITIVE_TOPOLOGY_POINT_LIST   1

◆ WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST

#define WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST   4

◆ WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP

#define WGPU_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP   5

◆ WGPU_QUERY_TYPE_INVALID

#define WGPU_QUERY_TYPE_INVALID   0

◆ WGPU_QUERY_TYPE_OCCLUSION

#define WGPU_QUERY_TYPE_OCCLUSION   1

◆ WGPU_QUERY_TYPE_TIMESTAMP

#define WGPU_QUERY_TYPE_TIMESTAMP   2

◆ wgpu_render_bundle_encoder_draw

#define wgpu_render_bundle_encoder_draw   wgpu_render_commands_mixin_draw

◆ wgpu_render_bundle_encoder_draw_indexed

#define wgpu_render_bundle_encoder_draw_indexed   wgpu_render_commands_mixin_draw_indexed

◆ wgpu_render_bundle_encoder_draw_indexed_indirect

#define wgpu_render_bundle_encoder_draw_indexed_indirect   wgpu_render_commands_mixin_draw_indexed_indirect

◆ wgpu_render_bundle_encoder_draw_indirect

#define wgpu_render_bundle_encoder_draw_indirect   wgpu_render_commands_mixin_draw_indirect

◆ wgpu_render_bundle_encoder_finish

#define wgpu_render_bundle_encoder_finish   wgpu_encoder_finish

◆ wgpu_render_bundle_encoder_insert_debug_marker

#define wgpu_render_bundle_encoder_insert_debug_marker   wgpu_encoder_insert_debug_marker

◆ wgpu_render_bundle_encoder_pop_debug_group

#define wgpu_render_bundle_encoder_pop_debug_group   wgpu_encoder_pop_debug_group

◆ wgpu_render_bundle_encoder_push_debug_group

#define wgpu_render_bundle_encoder_push_debug_group   wgpu_encoder_push_debug_group

◆ wgpu_render_bundle_encoder_set_bind_group

#define wgpu_render_bundle_encoder_set_bind_group   wgpu_encoder_set_bind_group

◆ wgpu_render_bundle_encoder_set_index_buffer

#define wgpu_render_bundle_encoder_set_index_buffer   wgpu_render_commands_mixin_set_index_buffer

◆ wgpu_render_bundle_encoder_set_pipeline

#define wgpu_render_bundle_encoder_set_pipeline   wgpu_encoder_set_pipeline

◆ wgpu_render_bundle_encoder_set_vertex_buffer

#define wgpu_render_bundle_encoder_set_vertex_buffer   wgpu_render_commands_mixin_set_vertex_buffer

◆ wgpu_render_commands_mixin_set_pipeline

#define wgpu_render_commands_mixin_set_pipeline   wgpu_encoder_set_pipeline

◆ wgpu_render_pass_encoder_draw

#define wgpu_render_pass_encoder_draw   wgpu_render_commands_mixin_draw

◆ wgpu_render_pass_encoder_draw_indexed

#define wgpu_render_pass_encoder_draw_indexed   wgpu_render_commands_mixin_draw_indexed

◆ wgpu_render_pass_encoder_draw_indexed_indirect

#define wgpu_render_pass_encoder_draw_indexed_indirect   wgpu_render_commands_mixin_draw_indexed_indirect

◆ wgpu_render_pass_encoder_draw_indirect

#define wgpu_render_pass_encoder_draw_indirect   wgpu_render_commands_mixin_draw_indirect

◆ wgpu_render_pass_encoder_end

#define wgpu_render_pass_encoder_end   wgpu_encoder_end

◆ wgpu_render_pass_encoder_insert_debug_marker

#define wgpu_render_pass_encoder_insert_debug_marker   wgpu_programmable_pass_encoder_insert_debug_marker

◆ wgpu_render_pass_encoder_pop_debug_group

#define wgpu_render_pass_encoder_pop_debug_group   wgpu_programmable_pass_encoder_pop_debug_group

◆ wgpu_render_pass_encoder_push_debug_group

#define wgpu_render_pass_encoder_push_debug_group   wgpu_programmable_pass_encoder_push_debug_group

◆ wgpu_render_pass_encoder_set_bind_group

#define wgpu_render_pass_encoder_set_bind_group   wgpu_encoder_set_bind_group

◆ wgpu_render_pass_encoder_set_index_buffer

#define wgpu_render_pass_encoder_set_index_buffer   wgpu_render_commands_mixin_set_index_buffer

◆ wgpu_render_pass_encoder_set_pipeline

#define wgpu_render_pass_encoder_set_pipeline   wgpu_render_commands_mixin_set_pipeline

◆ wgpu_render_pass_encoder_set_vertex_buffer

#define wgpu_render_pass_encoder_set_vertex_buffer   wgpu_render_commands_mixin_set_vertex_buffer

◆ wgpu_render_pipeline_get_bind_group_layout

#define wgpu_render_pipeline_get_bind_group_layout   wgpu_pipeline_get_bind_group_layout

◆ WGPU_SAMPLER_BINDING_TYPE_COMPARISON

#define WGPU_SAMPLER_BINDING_TYPE_COMPARISON   3

◆ WGPU_SAMPLER_BINDING_TYPE_FILTERING

#define WGPU_SAMPLER_BINDING_TYPE_FILTERING   1

◆ WGPU_SAMPLER_BINDING_TYPE_INVALID

#define WGPU_SAMPLER_BINDING_TYPE_INVALID   0

◆ WGPU_SAMPLER_BINDING_TYPE_NON_FILTERING

#define WGPU_SAMPLER_BINDING_TYPE_NON_FILTERING   2

◆ WGPU_SHADER_STAGE_COMPUTE

#define WGPU_SHADER_STAGE_COMPUTE   0x4

◆ WGPU_SHADER_STAGE_FRAGMENT

#define WGPU_SHADER_STAGE_FRAGMENT   0x2

◆ WGPU_SHADER_STAGE_VERTEX

#define WGPU_SHADER_STAGE_VERTEX   0x1

◆ WGPU_STENCIL_OPERATION_DECREMENT_CLAMP

#define WGPU_STENCIL_OPERATION_DECREMENT_CLAMP   6

◆ WGPU_STENCIL_OPERATION_DECREMENT_WRAP

#define WGPU_STENCIL_OPERATION_DECREMENT_WRAP   8

◆ WGPU_STENCIL_OPERATION_INCREMENT_CLAMP

#define WGPU_STENCIL_OPERATION_INCREMENT_CLAMP   5

◆ WGPU_STENCIL_OPERATION_INCREMENT_WRAP

#define WGPU_STENCIL_OPERATION_INCREMENT_WRAP   7

◆ WGPU_STENCIL_OPERATION_INVALID

#define WGPU_STENCIL_OPERATION_INVALID   0

◆ WGPU_STENCIL_OPERATION_INVERT

#define WGPU_STENCIL_OPERATION_INVERT   4

◆ WGPU_STENCIL_OPERATION_KEEP

#define WGPU_STENCIL_OPERATION_KEEP   1

◆ WGPU_STENCIL_OPERATION_REPLACE

#define WGPU_STENCIL_OPERATION_REPLACE   3

◆ WGPU_STENCIL_OPERATION_ZERO

#define WGPU_STENCIL_OPERATION_ZERO   2

◆ WGPU_STORAGE_TEXTURE_ACCESS_INVALID

#define WGPU_STORAGE_TEXTURE_ACCESS_INVALID   0

◆ WGPU_STORAGE_TEXTURE_ACCESS_WRITE_ONLY

#define WGPU_STORAGE_TEXTURE_ACCESS_WRITE_ONLY   1

◆ WGPU_STORE_OP_DISCARD

#define WGPU_STORE_OP_DISCARD   2

◆ WGPU_STORE_OP_STORE

#define WGPU_STORE_OP_STORE   1

◆ WGPU_STORE_OP_UNDEFINED

#define WGPU_STORE_OP_UNDEFINED   0

◆ WGPU_TEXTURE_ASPECT_ALL

#define WGPU_TEXTURE_ASPECT_ALL   1

◆ WGPU_TEXTURE_ASPECT_DEPTH_ONLY

#define WGPU_TEXTURE_ASPECT_DEPTH_ONLY   3

◆ WGPU_TEXTURE_ASPECT_INVALID

#define WGPU_TEXTURE_ASPECT_INVALID   0

◆ WGPU_TEXTURE_ASPECT_STENCIL_ONLY

#define WGPU_TEXTURE_ASPECT_STENCIL_ONLY   2

◆ WGPU_TEXTURE_DIMENSION_1D

#define WGPU_TEXTURE_DIMENSION_1D   1

◆ WGPU_TEXTURE_DIMENSION_2D

#define WGPU_TEXTURE_DIMENSION_2D   2

◆ WGPU_TEXTURE_DIMENSION_3D

#define WGPU_TEXTURE_DIMENSION_3D   3

◆ WGPU_TEXTURE_DIMENSION_INVALID

#define WGPU_TEXTURE_DIMENSION_INVALID   0

◆ WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM   90

◆ WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_10X10_UNORM_SRGB   91

◆ WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM   84

◆ WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_10X5_UNORM_SRGB   85

◆ WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM   86

◆ WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_10X6_UNORM_SRGB   87

◆ WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM   88

◆ WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_10X8_UNORM_SRGB   89

◆ WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM   92

◆ WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_12X10_UNORM_SRGB   93

◆ WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM   94

◆ WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_12X12_UNORM_SRGB   95

◆ WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM   68

◆ WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_4X4_UNORM_SRGB   69

◆ WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM   70

◆ WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_5X4_UNORM_SRGB   71

◆ WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM   72

◆ WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_5X5_UNORM_SRGB   73

◆ WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM   74

◆ WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_6X5_UNORM_SRGB   75

◆ WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM   76

◆ WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_6X6_UNORM_SRGB   77

◆ WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM   78

◆ WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_8X5_UNORM_SRGB   79

◆ WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM   80

◆ WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_8X6_UNORM_SRGB   81

◆ WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM

#define WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM   82

◆ WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ASTC_8X8_UNORM_SRGB   83

◆ WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM

#define WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM   44

◆ WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_BC1_RGBA_UNORM_SRGB   45

◆ WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM

#define WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM   46

◆ WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_BC2_RGBA_UNORM_SRGB   47

◆ WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM

#define WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM   48

◆ WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_BC3_RGBA_UNORM_SRGB   49

◆ WGPU_TEXTURE_FORMAT_BC4_R_SNORM

#define WGPU_TEXTURE_FORMAT_BC4_R_SNORM   51

◆ WGPU_TEXTURE_FORMAT_BC4_R_UNORM

#define WGPU_TEXTURE_FORMAT_BC4_R_UNORM   50

◆ WGPU_TEXTURE_FORMAT_BC5_RG_SNORM

#define WGPU_TEXTURE_FORMAT_BC5_RG_SNORM   53

◆ WGPU_TEXTURE_FORMAT_BC5_RG_UNORM

#define WGPU_TEXTURE_FORMAT_BC5_RG_UNORM   52

◆ WGPU_TEXTURE_FORMAT_BC6H_RGB_FLOAT

#define WGPU_TEXTURE_FORMAT_BC6H_RGB_FLOAT   55

◆ WGPU_TEXTURE_FORMAT_BC6H_RGB_UFLOAT

#define WGPU_TEXTURE_FORMAT_BC6H_RGB_UFLOAT   54

◆ WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM

#define WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM   56

◆ WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_BC7_RGBA_UNORM_SRGB   57

◆ WGPU_TEXTURE_FORMAT_BGRA8UNORM

#define WGPU_TEXTURE_FORMAT_BGRA8UNORM   23

◆ WGPU_TEXTURE_FORMAT_BGRA8UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_BGRA8UNORM_SRGB   24

◆ WGPU_TEXTURE_FORMAT_DEPTH16UNORM

#define WGPU_TEXTURE_FORMAT_DEPTH16UNORM   39

◆ WGPU_TEXTURE_FORMAT_DEPTH24PLUS

#define WGPU_TEXTURE_FORMAT_DEPTH24PLUS   40

◆ WGPU_TEXTURE_FORMAT_DEPTH24PLUS_STENCIL8

#define WGPU_TEXTURE_FORMAT_DEPTH24PLUS_STENCIL8   41

◆ WGPU_TEXTURE_FORMAT_DEPTH32FLOAT

#define WGPU_TEXTURE_FORMAT_DEPTH32FLOAT   42

◆ WGPU_TEXTURE_FORMAT_DEPTH32FLOAT_STENCIL8

#define WGPU_TEXTURE_FORMAT_DEPTH32FLOAT_STENCIL8   43

◆ WGPU_TEXTURE_FORMAT_EAC_R11SNORM

#define WGPU_TEXTURE_FORMAT_EAC_R11SNORM   65

◆ WGPU_TEXTURE_FORMAT_EAC_R11UNORM

#define WGPU_TEXTURE_FORMAT_EAC_R11UNORM   64

◆ WGPU_TEXTURE_FORMAT_EAC_RG11SNORM

#define WGPU_TEXTURE_FORMAT_EAC_RG11SNORM   67

◆ WGPU_TEXTURE_FORMAT_EAC_RG11UNORM

#define WGPU_TEXTURE_FORMAT_EAC_RG11UNORM   66

◆ WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM

#define WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM   60

◆ WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ETC2_RGB8A1UNORM_SRGB   61

◆ WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM

#define WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM   58

◆ WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ETC2_RGB8UNORM_SRGB   59

◆ WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM

#define WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM   62

◆ WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_ETC2_RGBA8UNORM_SRGB   63

◆ WGPU_TEXTURE_FORMAT_INVALID

#define WGPU_TEXTURE_FORMAT_INVALID   0

◆ WGPU_TEXTURE_FORMAT_LAST_VALUE

#define WGPU_TEXTURE_FORMAT_LAST_VALUE   95

◆ WGPU_TEXTURE_FORMAT_R16FLOAT

#define WGPU_TEXTURE_FORMAT_R16FLOAT   7

◆ WGPU_TEXTURE_FORMAT_R16SINT

#define WGPU_TEXTURE_FORMAT_R16SINT   6

◆ WGPU_TEXTURE_FORMAT_R16UINT

#define WGPU_TEXTURE_FORMAT_R16UINT   5

◆ WGPU_TEXTURE_FORMAT_R32FLOAT

#define WGPU_TEXTURE_FORMAT_R32FLOAT   14

◆ WGPU_TEXTURE_FORMAT_R32SINT

#define WGPU_TEXTURE_FORMAT_R32SINT   13

◆ WGPU_TEXTURE_FORMAT_R32UINT

#define WGPU_TEXTURE_FORMAT_R32UINT   12

◆ WGPU_TEXTURE_FORMAT_R8SINT

#define WGPU_TEXTURE_FORMAT_R8SINT   4

◆ WGPU_TEXTURE_FORMAT_R8SNORM

#define WGPU_TEXTURE_FORMAT_R8SNORM   2

◆ WGPU_TEXTURE_FORMAT_R8UINT

#define WGPU_TEXTURE_FORMAT_R8UINT   3

◆ WGPU_TEXTURE_FORMAT_R8UNORM

#define WGPU_TEXTURE_FORMAT_R8UNORM   1

◆ WGPU_TEXTURE_FORMAT_RG11B10UFLOAT

#define WGPU_TEXTURE_FORMAT_RG11B10UFLOAT   28

◆ WGPU_TEXTURE_FORMAT_RG16FLOAT

#define WGPU_TEXTURE_FORMAT_RG16FLOAT   17

◆ WGPU_TEXTURE_FORMAT_RG16SINT

#define WGPU_TEXTURE_FORMAT_RG16SINT   16

◆ WGPU_TEXTURE_FORMAT_RG16UINT

#define WGPU_TEXTURE_FORMAT_RG16UINT   15

◆ WGPU_TEXTURE_FORMAT_RG32FLOAT

#define WGPU_TEXTURE_FORMAT_RG32FLOAT   31

◆ WGPU_TEXTURE_FORMAT_RG32SINT

#define WGPU_TEXTURE_FORMAT_RG32SINT   30

◆ WGPU_TEXTURE_FORMAT_RG32UINT

#define WGPU_TEXTURE_FORMAT_RG32UINT   29

◆ WGPU_TEXTURE_FORMAT_RG8SINT

#define WGPU_TEXTURE_FORMAT_RG8SINT   11

◆ WGPU_TEXTURE_FORMAT_RG8SNORM

#define WGPU_TEXTURE_FORMAT_RG8SNORM   9

◆ WGPU_TEXTURE_FORMAT_RG8UINT

#define WGPU_TEXTURE_FORMAT_RG8UINT   10

◆ WGPU_TEXTURE_FORMAT_RG8UNORM

#define WGPU_TEXTURE_FORMAT_RG8UNORM   8

◆ WGPU_TEXTURE_FORMAT_RGB10A2UINT

#define WGPU_TEXTURE_FORMAT_RGB10A2UINT   26

◆ WGPU_TEXTURE_FORMAT_RGB10A2UNORM

#define WGPU_TEXTURE_FORMAT_RGB10A2UNORM   27

◆ WGPU_TEXTURE_FORMAT_RGB9E5UFLOAT

#define WGPU_TEXTURE_FORMAT_RGB9E5UFLOAT   25

◆ WGPU_TEXTURE_FORMAT_RGBA16FLOAT

#define WGPU_TEXTURE_FORMAT_RGBA16FLOAT   34

◆ WGPU_TEXTURE_FORMAT_RGBA16SINT

#define WGPU_TEXTURE_FORMAT_RGBA16SINT   33

◆ WGPU_TEXTURE_FORMAT_RGBA16UINT

#define WGPU_TEXTURE_FORMAT_RGBA16UINT   32

◆ WGPU_TEXTURE_FORMAT_RGBA32FLOAT

#define WGPU_TEXTURE_FORMAT_RGBA32FLOAT   37

◆ WGPU_TEXTURE_FORMAT_RGBA32SINT

#define WGPU_TEXTURE_FORMAT_RGBA32SINT   36

◆ WGPU_TEXTURE_FORMAT_RGBA32UINT

#define WGPU_TEXTURE_FORMAT_RGBA32UINT   35

◆ WGPU_TEXTURE_FORMAT_RGBA8SINT

#define WGPU_TEXTURE_FORMAT_RGBA8SINT   22

◆ WGPU_TEXTURE_FORMAT_RGBA8SNORM

#define WGPU_TEXTURE_FORMAT_RGBA8SNORM   20

◆ WGPU_TEXTURE_FORMAT_RGBA8UINT

#define WGPU_TEXTURE_FORMAT_RGBA8UINT   21

◆ WGPU_TEXTURE_FORMAT_RGBA8UNORM

#define WGPU_TEXTURE_FORMAT_RGBA8UNORM   18

◆ WGPU_TEXTURE_FORMAT_RGBA8UNORM_SRGB

#define WGPU_TEXTURE_FORMAT_RGBA8UNORM_SRGB   19

◆ WGPU_TEXTURE_FORMAT_STENCIL8

#define WGPU_TEXTURE_FORMAT_STENCIL8   38

◆ WGPU_TEXTURE_SAMPLE_TYPE_DEPTH

#define WGPU_TEXTURE_SAMPLE_TYPE_DEPTH   3

◆ WGPU_TEXTURE_SAMPLE_TYPE_FLOAT

#define WGPU_TEXTURE_SAMPLE_TYPE_FLOAT   1

◆ WGPU_TEXTURE_SAMPLE_TYPE_INVALID

#define WGPU_TEXTURE_SAMPLE_TYPE_INVALID   0

◆ WGPU_TEXTURE_SAMPLE_TYPE_SINT

#define WGPU_TEXTURE_SAMPLE_TYPE_SINT   4

◆ WGPU_TEXTURE_SAMPLE_TYPE_UINT

#define WGPU_TEXTURE_SAMPLE_TYPE_UINT   5

◆ WGPU_TEXTURE_SAMPLE_TYPE_UNFILTERABLE_FLOAT

#define WGPU_TEXTURE_SAMPLE_TYPE_UNFILTERABLE_FLOAT   2

◆ WGPU_TEXTURE_USAGE_COPY_DST

#define WGPU_TEXTURE_USAGE_COPY_DST   0x02

◆ WGPU_TEXTURE_USAGE_COPY_SRC

#define WGPU_TEXTURE_USAGE_COPY_SRC   0x01

◆ WGPU_TEXTURE_USAGE_RENDER_ATTACHMENT

#define WGPU_TEXTURE_USAGE_RENDER_ATTACHMENT   0x10

◆ WGPU_TEXTURE_USAGE_STORAGE_BINDING

#define WGPU_TEXTURE_USAGE_STORAGE_BINDING   0x08

◆ WGPU_TEXTURE_USAGE_TEXTURE_BINDING

#define WGPU_TEXTURE_USAGE_TEXTURE_BINDING   0x04

◆ WGPU_TEXTURE_VIEW_DIMENSION_1D

#define WGPU_TEXTURE_VIEW_DIMENSION_1D   1

◆ WGPU_TEXTURE_VIEW_DIMENSION_2D

#define WGPU_TEXTURE_VIEW_DIMENSION_2D   2

◆ WGPU_TEXTURE_VIEW_DIMENSION_2D_ARRAY

#define WGPU_TEXTURE_VIEW_DIMENSION_2D_ARRAY   3

◆ WGPU_TEXTURE_VIEW_DIMENSION_3D

#define WGPU_TEXTURE_VIEW_DIMENSION_3D   6

◆ WGPU_TEXTURE_VIEW_DIMENSION_CUBE

#define WGPU_TEXTURE_VIEW_DIMENSION_CUBE   4

◆ WGPU_TEXTURE_VIEW_DIMENSION_CUBE_ARRAY

#define WGPU_TEXTURE_VIEW_DIMENSION_CUBE_ARRAY   5

◆ WGPU_TEXTURE_VIEW_DIMENSION_INVALID

#define WGPU_TEXTURE_VIEW_DIMENSION_INVALID   0

◆ WGPU_VERTEX_FORMAT_FIRST_VALUE

#define WGPU_VERTEX_FORMAT_FIRST_VALUE   96

◆ WGPU_VERTEX_FORMAT_FLOAT16X2

#define WGPU_VERTEX_FORMAT_FLOAT16X2   112

◆ WGPU_VERTEX_FORMAT_FLOAT16X4

#define WGPU_VERTEX_FORMAT_FLOAT16X4   113

◆ WGPU_VERTEX_FORMAT_FLOAT32

#define WGPU_VERTEX_FORMAT_FLOAT32   114

◆ WGPU_VERTEX_FORMAT_FLOAT32X2

#define WGPU_VERTEX_FORMAT_FLOAT32X2   115

◆ WGPU_VERTEX_FORMAT_FLOAT32X3

#define WGPU_VERTEX_FORMAT_FLOAT32X3   116

◆ WGPU_VERTEX_FORMAT_FLOAT32X4

#define WGPU_VERTEX_FORMAT_FLOAT32X4   117

◆ WGPU_VERTEX_FORMAT_INVALID

#define WGPU_VERTEX_FORMAT_INVALID   0

◆ WGPU_VERTEX_FORMAT_SINT16X2

#define WGPU_VERTEX_FORMAT_SINT16X2   106

◆ WGPU_VERTEX_FORMAT_SINT16X4

#define WGPU_VERTEX_FORMAT_SINT16X4   107

◆ WGPU_VERTEX_FORMAT_SINT32

#define WGPU_VERTEX_FORMAT_SINT32   122

◆ WGPU_VERTEX_FORMAT_SINT32X2

#define WGPU_VERTEX_FORMAT_SINT32X2   123

◆ WGPU_VERTEX_FORMAT_SINT32X3

#define WGPU_VERTEX_FORMAT_SINT32X3   124

◆ WGPU_VERTEX_FORMAT_SINT32X4

#define WGPU_VERTEX_FORMAT_SINT32X4   125

◆ WGPU_VERTEX_FORMAT_SINT8X2

#define WGPU_VERTEX_FORMAT_SINT8X2   98

◆ WGPU_VERTEX_FORMAT_SINT8X4

#define WGPU_VERTEX_FORMAT_SINT8X4   99

◆ WGPU_VERTEX_FORMAT_SNORM16X2

#define WGPU_VERTEX_FORMAT_SNORM16X2   110

◆ WGPU_VERTEX_FORMAT_SNORM16X4

#define WGPU_VERTEX_FORMAT_SNORM16X4   111

◆ WGPU_VERTEX_FORMAT_SNORM8X2

#define WGPU_VERTEX_FORMAT_SNORM8X2   102

◆ WGPU_VERTEX_FORMAT_SNORM8X4

#define WGPU_VERTEX_FORMAT_SNORM8X4   103

◆ WGPU_VERTEX_FORMAT_UINT16X2

#define WGPU_VERTEX_FORMAT_UINT16X2   104

◆ WGPU_VERTEX_FORMAT_UINT16X4

#define WGPU_VERTEX_FORMAT_UINT16X4   105

◆ WGPU_VERTEX_FORMAT_UINT32

#define WGPU_VERTEX_FORMAT_UINT32   118

◆ WGPU_VERTEX_FORMAT_UINT32X2

#define WGPU_VERTEX_FORMAT_UINT32X2   119

◆ WGPU_VERTEX_FORMAT_UINT32X3

#define WGPU_VERTEX_FORMAT_UINT32X3   120

◆ WGPU_VERTEX_FORMAT_UINT32X4

#define WGPU_VERTEX_FORMAT_UINT32X4   121

◆ WGPU_VERTEX_FORMAT_UINT8X2

#define WGPU_VERTEX_FORMAT_UINT8X2   96

◆ WGPU_VERTEX_FORMAT_UINT8X4

#define WGPU_VERTEX_FORMAT_UINT8X4   97

◆ WGPU_VERTEX_FORMAT_UNORM16X2

#define WGPU_VERTEX_FORMAT_UNORM16X2   108

◆ WGPU_VERTEX_FORMAT_UNORM16X4

#define WGPU_VERTEX_FORMAT_UNORM16X4   109

◆ WGPU_VERTEX_FORMAT_UNORM8X2

#define WGPU_VERTEX_FORMAT_UNORM8X2   100

◆ WGPU_VERTEX_FORMAT_UNORM8X4

#define WGPU_VERTEX_FORMAT_UNORM8X4   101

◆ WGPU_VERTEX_STEP_MODE_INSTANCE

#define WGPU_VERTEX_STEP_MODE_INSTANCE   2

◆ WGPU_VERTEX_STEP_MODE_INVALID

#define WGPU_VERTEX_STEP_MODE_INVALID   0

◆ WGPU_VERTEX_STEP_MODE_VERTEX

#define WGPU_VERTEX_STEP_MODE_VERTEX   1

Typedef Documentation

◆ HTML_PREDEFINED_COLOR_SPACE

◆ WGPU_ADDRESS_MODE

typedef int WGPU_ADDRESS_MODE

◆ WGPU_AUTO_LAYOUT_MODE

typedef int WGPU_AUTO_LAYOUT_MODE

◆ WGPU_BIND_GROUP_LAYOUT_TYPE

◆ WGPU_BLEND_FACTOR

typedef int WGPU_BLEND_FACTOR

◆ WGPU_BLEND_OPERATION

typedef int WGPU_BLEND_OPERATION

◆ WGPU_BUFFER_BINDING_TYPE

◆ WGPU_BUFFER_MAP_STATE

typedef int WGPU_BUFFER_MAP_STATE

◆ WGPU_BUFFER_USAGE_FLAGS

◆ WGPU_CANVAS_ALPHA_MODE

◆ WGPU_COLOR_WRITE_FLAGS

◆ WGPU_COMPARE_FUNCTION

typedef int WGPU_COMPARE_FUNCTION

◆ WGPU_COMPILATION_MESSAGE_TYPE

◆ WGPU_CULL_MODE

typedef int WGPU_CULL_MODE

◆ WGPU_DEVICE_LOST_REASON

◆ WGPU_ERROR_FILTER

typedef int WGPU_ERROR_FILTER

◆ WGPU_ERROR_TYPE

typedef int WGPU_ERROR_TYPE

◆ WGPU_FEATURES_BITFIELD

◆ WGPU_FILTER_MODE

typedef int WGPU_FILTER_MODE

◆ WGPU_FRONT_FACE

typedef int WGPU_FRONT_FACE

◆ WGPU_INDEX_FORMAT

typedef int WGPU_INDEX_FORMAT

◆ WGPU_LOAD_OP

typedef int WGPU_LOAD_OP

◆ WGPU_MAP_MODE_FLAGS

typedef int WGPU_MAP_MODE_FLAGS

◆ WGPU_MIPMAP_FILTER_MODE

◆ WGPU_PIPELINE_STATISTIC_NAME

◆ WGPU_POWER_PREFERENCE

typedef int WGPU_POWER_PREFERENCE

◆ WGPU_PRIMITIVE_TOPOLOGY

◆ WGPU_QUERY_TYPE

typedef int WGPU_QUERY_TYPE

◆ WGPU_SAMPLER_BINDING_TYPE

◆ WGPU_SHADER_STAGE_FLAGS

◆ WGPU_STENCIL_OPERATION

◆ WGPU_STORAGE_TEXTURE_ACCESS

◆ WGPU_STORE_OP

typedef int WGPU_STORE_OP

◆ WGPU_TEXTURE_ASPECT

typedef int WGPU_TEXTURE_ASPECT

◆ WGPU_TEXTURE_DIMENSION

◆ WGPU_TEXTURE_FORMAT

typedef int WGPU_TEXTURE_FORMAT

◆ WGPU_TEXTURE_SAMPLE_TYPE

◆ WGPU_TEXTURE_USAGE_FLAGS

◆ WGPU_TEXTURE_VIEW_DIMENSION

◆ WGPU_VERTEX_FORMAT

typedef int WGPU_VERTEX_FORMAT

◆ WGPU_VERTEX_STEP_MODE

typedef int WGPU_VERTEX_STEP_MODE

◆ WGpuAdapter

◆ WGpuAdapterInfo

typedef struct WGpuAdapterInfo WGpuAdapterInfo

◆ WGpuBindGroup

◆ WGpuBindGroupEntry

typedef struct WGpuBindGroupEntry WGpuBindGroupEntry

◆ WGpuBindGroupLayout

◆ WGpuBindGroupLayoutEntry

typedef struct WGpuBindGroupLayoutEntry WGpuBindGroupLayoutEntry

◆ WGpuBindingCommandsMixin

◆ WGpuBlendComponent

typedef struct WGpuBlendComponent WGpuBlendComponent

◆ WGpuBlendState

typedef struct WGpuBlendState WGpuBlendState

◆ WGpuBuffer

◆ WGpuBufferBindingLayout

typedef struct WGpuBufferBindingLayout WGpuBufferBindingLayout

◆ WGpuBufferDescriptor

typedef struct WGpuBufferDescriptor WGpuBufferDescriptor

◆ WGpuBufferMapCallback

typedef void(* WGpuBufferMapCallback) (WGpuBuffer buffer, void *userData, WGPU_MAP_MODE_FLAGS mode, double_int53_t offset, double_int53_t size)

◆ WGpuCanvasConfiguration

typedef struct WGpuCanvasConfiguration WGpuCanvasConfiguration

◆ WGpuCanvasContext

◆ WGpuColor

typedef struct WGpuColor WGpuColor

◆ WGpuColorTargetState

typedef struct WGpuColorTargetState WGpuColorTargetState

◆ WGpuCommandBuffer

◆ WGpuCommandBufferDescriptor

typedef struct WGpuCommandBufferDescriptor WGpuCommandBufferDescriptor

◆ WGpuCommandEncoder

◆ WGpuCommandEncoderDescriptor

typedef struct WGpuCommandEncoderDescriptor WGpuCommandEncoderDescriptor

◆ WGpuCompilationInfo

typedef struct WGpuCompilationInfo WGpuCompilationInfo

◆ WGpuCompilationMessage

typedef struct WGpuCompilationMessage WGpuCompilationMessage

◆ WGpuComputePassDescriptor

typedef struct WGpuComputePassDescriptor WGpuComputePassDescriptor

◆ WGpuComputePassEncoder

◆ WGpuComputePassTimestampWrites

typedef struct WGpuComputePassTimestampWrites WGpuComputePassTimestampWrites

◆ WGpuComputePipeline

◆ WGpuCreatePipelineCallback

typedef void(* WGpuCreatePipelineCallback) (WGpuDevice device, WGpuPipelineError *error, WGpuPipelineBase pipeline, void *userData)

◆ WGpuDebugCommandsMixin

◆ WGpuDepthStencilState

typedef struct WGpuDepthStencilState WGpuDepthStencilState

◆ WGpuDevice

◆ WGpuDeviceDescriptor

typedef struct WGpuDeviceDescriptor WGpuDeviceDescriptor

◆ WGpuDeviceErrorCallback

typedef void(* WGpuDeviceErrorCallback) (WGpuDevice device, WGPU_ERROR_TYPE errorType, const char *errorMessage NOTNULL, void *userData)

◆ WGpuDeviceLostCallback

typedef void(* WGpuDeviceLostCallback) (WGpuDevice device, WGPU_DEVICE_LOST_REASON deviceLostReason, const char *message NOTNULL, void *userData)

◆ WGpuExtent3D

typedef struct WGpuExtent3D WGpuExtent3D

◆ WGpuExternalTexture

◆ WGpuExternalTextureBindingLayout

typedef struct WGpuExternalTextureBindingLayout WGpuExternalTextureBindingLayout

◆ WGpuExternalTextureDescriptor

typedef struct WGpuExternalTextureDescriptor WGpuExternalTextureDescriptor

◆ WGpuFragmentState

typedef struct WGpuFragmentState WGpuFragmentState

◆ WGpuGetCompilationInfoCallback

typedef void(* WGpuGetCompilationInfoCallback) (WGpuShaderModule shaderModule, WGpuCompilationInfo *compilationInfo NOTNULL, void *userData)

◆ WGpuImageBitmap

◆ WGpuImageCopyBuffer

typedef struct WGpuImageCopyBuffer WGpuImageCopyBuffer

◆ WGpuImageCopyExternalImage

typedef struct WGpuImageCopyExternalImage WGpuImageCopyExternalImage

◆ WGpuImageCopyTexture

typedef struct WGpuImageCopyTexture WGpuImageCopyTexture

◆ WGpuImageCopyTextureTagged

typedef struct WGpuImageCopyTextureTagged WGpuImageCopyTextureTagged

◆ WGpuLoadImageBitmapCallback

typedef void(* WGpuLoadImageBitmapCallback) (WGpuImageBitmap bitmap, int width, int height, void *userData)

◆ WGpuMultisampleState

typedef struct WGpuMultisampleState WGpuMultisampleState

◆ WGpuObjectDescriptorBase

typedef struct WGpuObjectDescriptorBase WGpuObjectDescriptorBase

◆ WGpuOnSubmittedWorkDoneCallback

typedef void(* WGpuOnSubmittedWorkDoneCallback) (WGpuQueue queue, void *userData)

◆ WGpuOrigin2D

typedef struct WGpuOrigin2D WGpuOrigin2D

◆ WGpuOrigin3D

typedef struct WGpuOrigin3D WGpuOrigin3D

◆ WGpuPipelineBase

◆ WGpuPipelineConstant

typedef struct WGpuPipelineConstant WGpuPipelineConstant

◆ WGpuPipelineError

typedef struct WGpuPipelineError WGpuPipelineError

◆ WGpuPipelineLayout

◆ WGpuPrimitiveState

typedef struct WGpuPrimitiveState WGpuPrimitiveState

◆ WGpuQuerySet

◆ WGpuQuerySetDescriptor

typedef struct WGpuQuerySetDescriptor WGpuQuerySetDescriptor

◆ WGpuQueue

◆ WGpuQueueDescriptor

typedef struct WGpuQueueDescriptor WGpuQueueDescriptor

◆ WGpuRenderBundle

◆ WGpuRenderBundleDescriptor

typedef struct WGpuRenderBundleDescriptor WGpuRenderBundleDescriptor

◆ WGpuRenderBundleEncoder

◆ WGpuRenderBundleEncoderDescriptor

typedef struct WGpuRenderBundleEncoderDescriptor WGpuRenderBundleEncoderDescriptor

◆ WGpuRenderCommandsMixin

◆ WGpuRenderPassColorAttachment

typedef struct WGpuRenderPassColorAttachment WGpuRenderPassColorAttachment

◆ WGpuRenderPassDepthStencilAttachment

typedef struct WGpuRenderPassDepthStencilAttachment WGpuRenderPassDepthStencilAttachment

◆ WGpuRenderPassDescriptor

typedef struct WGpuRenderPassDescriptor WGpuRenderPassDescriptor

◆ WGpuRenderPassEncoder

◆ WGpuRenderPassTimestampWrites

typedef struct WGpuRenderPassTimestampWrites WGpuRenderPassTimestampWrites

◆ WGpuRenderPipeline

◆ WGpuRenderPipelineDescriptor

typedef struct WGpuRenderPipelineDescriptor WGpuRenderPipelineDescriptor

◆ WGpuRequestAdapterCallback

typedef void(* WGpuRequestAdapterCallback) (WGpuAdapter adapter, void *userData)

◆ WGpuRequestAdapterInfoCallback

typedef void(* WGpuRequestAdapterInfoCallback) (WGpuAdapter adapter, const WGpuAdapterInfo *adapterInfo NOTNULL, void *userData)

◆ WGpuRequestAdapterOptions

typedef struct WGpuRequestAdapterOptions WGpuRequestAdapterOptions

◆ WGpuRequestDeviceCallback

typedef void(* WGpuRequestDeviceCallback) (WGpuDevice device, void *userData)

◆ WGpuSampler

◆ WGpuSamplerBindingLayout

typedef struct WGpuSamplerBindingLayout WGpuSamplerBindingLayout

◆ WGpuSamplerDescriptor

typedef struct WGpuSamplerDescriptor WGpuSamplerDescriptor

◆ WGpuShaderModule

◆ WGpuShaderModuleCompilationHint

typedef struct WGpuShaderModuleCompilationHint WGpuShaderModuleCompilationHint

◆ WGpuShaderModuleDescriptor

typedef struct WGpuShaderModuleDescriptor WGpuShaderModuleDescriptor

◆ WGpuStencilFaceState

typedef struct WGpuStencilFaceState WGpuStencilFaceState

◆ WGpuStorageTextureBindingLayout

typedef struct WGpuStorageTextureBindingLayout WGpuStorageTextureBindingLayout

◆ WGpuSupportedLimits

typedef struct WGpuSupportedLimits WGpuSupportedLimits

◆ WGpuTexture

◆ WGpuTextureBindingLayout

typedef struct WGpuTextureBindingLayout WGpuTextureBindingLayout

◆ WGpuTextureDescriptor

typedef struct WGpuTextureDescriptor WGpuTextureDescriptor

◆ WGpuTextureView

◆ WGpuTextureViewDescriptor

typedef struct WGpuTextureViewDescriptor WGpuTextureViewDescriptor

◆ WGpuVertexAttribute

typedef struct WGpuVertexAttribute WGpuVertexAttribute

◆ WGpuVertexBufferLayout

typedef struct WGpuVertexBufferLayout WGpuVertexBufferLayout

◆ WGpuVertexState

typedef struct WGpuVertexState WGpuVertexState

Function Documentation

◆ navigator_delete_webgpu_api_access()

void navigator_delete_webgpu_api_access ( void )

◆ navigator_gpu_available()

EM_BOOL navigator_gpu_available ( void )

◆ navigator_gpu_get_preferred_canvas_format()

WGPU_TEXTURE_FORMAT navigator_gpu_get_preferred_canvas_format ( void )

◆ navigator_gpu_get_wgsl_language_features()

const char *const * navigator_gpu_get_wgsl_language_features ( void )

◆ navigator_gpu_is_wgsl_language_feature_supported()

EM_BOOL navigator_gpu_is_wgsl_language_feature_supported ( const char * feature)

◆ navigator_gpu_request_adapter_async()

EM_BOOL navigator_gpu_request_adapter_async ( const WGpuRequestAdapterOptions * options,
WGpuRequestAdapterCallback adapterCallback,
void * userData )

◆ navigator_gpu_request_adapter_async_simple()

void navigator_gpu_request_adapter_async_simple ( WGpuRequestAdapterCallback adapterCallback)

◆ navigator_gpu_request_adapter_sync()

WGpuAdapter navigator_gpu_request_adapter_sync ( const WGpuRequestAdapterOptions * options)
Here is the caller graph for this function:

◆ navigator_gpu_request_adapter_sync_simple()

WGpuAdapter navigator_gpu_request_adapter_sync_simple ( void )
Here is the caller graph for this function:

◆ wgpu_adapter_is_fallback_adapter()

EM_BOOL wgpu_adapter_is_fallback_adapter ( WGpuAdapter adapter)

◆ wgpu_adapter_or_device_get_features()

WGPU_FEATURES_BITFIELD wgpu_adapter_or_device_get_features ( WGpuAdapter adapter)

◆ wgpu_adapter_or_device_get_limits()

void wgpu_adapter_or_device_get_limits ( WGpuAdapter adapter,
WGpuSupportedLimits *limits NOTNULL )

◆ wgpu_adapter_or_device_supports_feature()

EM_BOOL wgpu_adapter_or_device_supports_feature ( WGpuAdapter adapter,
WGPU_FEATURES_BITFIELD feature )

◆ wgpu_adapter_request_adapter_info_async()

void wgpu_adapter_request_adapter_info_async ( WGpuAdapter adapter,
const char ** unmaskHints,
WGpuRequestAdapterInfoCallback callback,
void * userData )

◆ wgpu_adapter_request_device_async()

void wgpu_adapter_request_device_async ( WGpuAdapter adapter,
const WGpuDeviceDescriptor *descriptor NOTNULL,
WGpuRequestDeviceCallback deviceCallback,
void * userData )

◆ wgpu_adapter_request_device_async_simple()

void wgpu_adapter_request_device_async_simple ( WGpuAdapter adapter,
WGpuRequestDeviceCallback deviceCallback )

◆ wgpu_adapter_request_device_sync()

WGpuDevice wgpu_adapter_request_device_sync ( WGpuAdapter adapter,
const WGpuDeviceDescriptor *descriptor NOTNULL )

◆ wgpu_adapter_request_device_sync_simple()

WGpuDevice wgpu_adapter_request_device_sync_simple ( WGpuAdapter adapter)

◆ wgpu_buffer_get_mapped_range()

double_int53_t wgpu_buffer_get_mapped_range ( WGpuBuffer buffer,
double_int53_t startOffset,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_MAX_SIZE )

◆ wgpu_buffer_map_async()

void wgpu_buffer_map_async ( WGpuBuffer buffer,
WGpuBufferMapCallback callback,
void * userData,
WGPU_MAP_MODE_FLAGS mode,
double_int53_t offset _WGPU_DEFAULT_VALUE0,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_MAX_SIZE )

◆ wgpu_buffer_map_state()

WGPU_BUFFER_MAP_STATE wgpu_buffer_map_state ( WGpuBuffer buffer)

◆ wgpu_buffer_map_sync()

void wgpu_buffer_map_sync ( WGpuBuffer buffer,
WGPU_MAP_MODE_FLAGS mode,
double_int53_t offset _WGPU_DEFAULT_VALUE0,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_MAX_SIZE )

◆ wgpu_buffer_read_mapped_range()

void wgpu_buffer_read_mapped_range ( WGpuBuffer buffer,
double_int53_t startOffset,
double_int53_t subOffset,
void *dst NOTNULL,
double_int53_t size )

◆ wgpu_buffer_size()

double_int53_t wgpu_buffer_size ( WGpuBuffer buffer)
Here is the caller graph for this function:

◆ wgpu_buffer_unmap()

void wgpu_buffer_unmap ( WGpuBuffer buffer)

◆ wgpu_buffer_usage()

WGPU_BUFFER_USAGE_FLAGS wgpu_buffer_usage ( WGpuBuffer buffer)

◆ wgpu_buffer_write_mapped_range()

void wgpu_buffer_write_mapped_range ( WGpuBuffer buffer,
double_int53_t startOffset,
double_int53_t subOffset,
const void *src NOTNULL,
double_int53_t size )

◆ wgpu_canvas_context_configure()

void wgpu_canvas_context_configure ( WGpuCanvasContext canvasContext,
const WGpuCanvasConfiguration *config NOTNULL,
int width _WGPU_DEFAULT_VALUE0,
int height _WGPU_DEFAULT_VALUE0 )

◆ wgpu_canvas_context_get_current_texture()

WGpuTexture wgpu_canvas_context_get_current_texture ( WGpuCanvasContext canvasContext)

◆ wgpu_canvas_context_get_current_texture_view()

WGpuTextureView wgpu_canvas_context_get_current_texture_view ( WGpuCanvasContext canvasContext)

◆ wgpu_canvas_context_present()

void wgpu_canvas_context_present ( WGpuCanvasContext canvasContext)

◆ wgpu_canvas_context_unconfigure()

void wgpu_canvas_context_unconfigure ( WGpuCanvasContext canvasContext)

◆ wgpu_command_encoder_begin_compute_pass()

WGpuComputePassEncoder wgpu_command_encoder_begin_compute_pass ( WGpuCommandEncoder commandEncoder,
const WGpuComputePassDescriptor *computePassDesc _WGPU_DEFAULT_VALUE0 )

◆ wgpu_command_encoder_begin_render_pass()

WGpuRenderPassEncoder wgpu_command_encoder_begin_render_pass ( WGpuCommandEncoder commandEncoder,
const WGpuRenderPassDescriptor *renderPassDesc NOTNULL )

◆ wgpu_command_encoder_begin_render_pass_1color_0depth()

WGpuRenderPassEncoder wgpu_command_encoder_begin_render_pass_1color_0depth ( WGpuCommandEncoder commandEncoder,
const WGpuRenderPassDescriptor *renderPassDesc NOTNULL )

◆ wgpu_command_encoder_clear_buffer()

void wgpu_command_encoder_clear_buffer ( WGpuCommandEncoder commandEncoder,
WGpuBuffer buffer,
double_int53_t offset _WGPU_DEFAULT_VALUE0,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_INFINITY )

◆ wgpu_command_encoder_copy_buffer_to_buffer()

void wgpu_command_encoder_copy_buffer_to_buffer ( WGpuCommandEncoder commandEncoder,
WGpuBuffer source,
double_int53_t sourceOffset,
WGpuBuffer destination,
double_int53_t destinationOffset,
double_int53_t size )

◆ wgpu_command_encoder_copy_buffer_to_texture()

void wgpu_command_encoder_copy_buffer_to_texture ( WGpuCommandEncoder commandEncoder,
const WGpuImageCopyBuffer *source NOTNULL,
const WGpuImageCopyTexture *destination NOTNULL,
uint32_t copyWidth,
uint32_t copyHeight _WGPU_DEFAULT_VALUE1,
uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE1 )

◆ wgpu_command_encoder_copy_texture_to_buffer()

void wgpu_command_encoder_copy_texture_to_buffer ( WGpuCommandEncoder commandEncoder,
const WGpuImageCopyTexture *source NOTNULL,
const WGpuImageCopyBuffer *destination NOTNULL,
uint32_t copyWidth,
uint32_t copyHeight _WGPU_DEFAULT_VALUE1,
uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE1 )

◆ wgpu_command_encoder_copy_texture_to_texture()

void wgpu_command_encoder_copy_texture_to_texture ( WGpuCommandEncoder commandEncoder,
const WGpuImageCopyTexture *source NOTNULL,
const WGpuImageCopyTexture *destination NOTNULL,
uint32_t copyWidth,
uint32_t copyHeight _WGPU_DEFAULT_VALUE1,
uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE1 )

◆ wgpu_command_encoder_resolve_query_set()

void wgpu_command_encoder_resolve_query_set ( WGpuCommandEncoder commandEncoder,
WGpuQuerySet querySet,
uint32_t firstQuery,
uint32_t queryCount,
WGpuBuffer destination,
double_int53_t destinationOffset )

◆ wgpu_command_encoder_write_timestamp()

void wgpu_command_encoder_write_timestamp ( WGpuCommandEncoder commandEncoder,
WGpuQuerySet querySet,
uint32_t queryIndex )

◆ wgpu_compilation_message_type_to_string()

const char * wgpu_compilation_message_type_to_string ( WGPU_COMPILATION_MESSAGE_TYPE type)

◆ wgpu_compute_pass_encoder_dispatch_workgroups()

void wgpu_compute_pass_encoder_dispatch_workgroups ( WGpuComputePassEncoder encoder,
uint32_t workgroupCountX,
uint32_t workgroupCountY _WGPU_DEFAULT_VALUE1,
uint32_t workgroupCountZ _WGPU_DEFAULT_VALUE1 )

◆ wgpu_compute_pass_encoder_dispatch_workgroups_indirect()

void wgpu_compute_pass_encoder_dispatch_workgroups_indirect ( WGpuComputePassEncoder encoder,
WGpuBuffer indirectBuffer,
double_int53_t indirectOffset )

◆ wgpu_destroy_all_objects()

void wgpu_destroy_all_objects ( void )

◆ wgpu_device_create_bind_group()

WGpuBindGroup wgpu_device_create_bind_group ( WGpuDevice device,
WGpuBindGroupLayout bindGroupLayout,
const WGpuBindGroupEntry * entries,
int numEntries )

◆ wgpu_device_create_bind_group_layout()

WGpuBindGroupLayout wgpu_device_create_bind_group_layout ( WGpuDevice device,
const WGpuBindGroupLayoutEntry * bindGroupLayoutEntries,
int numEntries )

◆ wgpu_device_create_buffer()

WGpuBuffer wgpu_device_create_buffer ( WGpuDevice device,
const WGpuBufferDescriptor *bufferDesc NOTNULL )

◆ wgpu_device_create_command_encoder()

WGpuCommandEncoder wgpu_device_create_command_encoder ( WGpuDevice device,
const WGpuCommandEncoderDescriptor * commandEncoderDesc )

◆ wgpu_device_create_command_encoder_simple()

WGpuCommandEncoder wgpu_device_create_command_encoder_simple ( WGpuDevice device)

◆ wgpu_device_create_compute_pipeline()

WGpuComputePipeline wgpu_device_create_compute_pipeline ( WGpuDevice device,
WGpuShaderModule computeModule,
const char *entryPoint NOTNULL,
WGpuPipelineLayout layout,
const WGpuPipelineConstant * constants,
int numConstants )

◆ wgpu_device_create_compute_pipeline_async()

void wgpu_device_create_compute_pipeline_async ( WGpuDevice device,
WGpuShaderModule computeModule,
const char *entryPoint NOTNULL,
WGpuPipelineLayout layout,
const WGpuPipelineConstant * constants,
int numConstants,
WGpuCreatePipelineCallback callback,
void * userData )

◆ wgpu_device_create_pipeline_layout()

WGpuPipelineLayout wgpu_device_create_pipeline_layout ( WGpuDevice device,
const WGpuBindGroupLayout * bindGroupLayouts,
int numLayouts )

◆ wgpu_device_create_query_set()

WGpuQuerySet wgpu_device_create_query_set ( WGpuDevice device,
const WGpuQuerySetDescriptor *querySetDesc NOTNULL )

◆ wgpu_device_create_render_bundle_encoder()

WGpuRenderBundleEncoder wgpu_device_create_render_bundle_encoder ( WGpuDevice device,
const WGpuRenderBundleEncoderDescriptor *renderBundleEncoderDesc NOTNULL )

◆ wgpu_device_create_render_pipeline()

WGpuRenderPipeline wgpu_device_create_render_pipeline ( WGpuDevice device,
const WGpuRenderPipelineDescriptor *renderPipelineDesc NOTNULL )

◆ wgpu_device_create_render_pipeline_async()

void wgpu_device_create_render_pipeline_async ( WGpuDevice device,
const WGpuRenderPipelineDescriptor *renderPipelineDesc NOTNULL,
WGpuCreatePipelineCallback callback,
void * userData )

◆ wgpu_device_create_sampler()

WGpuSampler wgpu_device_create_sampler ( WGpuDevice device,
const WGpuSamplerDescriptor *samplerDesc NOTNULL )

◆ wgpu_device_create_shader_module()

WGpuShaderModule wgpu_device_create_shader_module ( WGpuDevice device,
const WGpuShaderModuleDescriptor *shaderModuleDesc NOTNULL )

◆ wgpu_device_create_texture()

WGpuTexture wgpu_device_create_texture ( WGpuDevice device,
const WGpuTextureDescriptor *textureDesc NOTNULL )

◆ wgpu_device_get_queue()

WGpuQueue wgpu_device_get_queue ( WGpuDevice device)

◆ wgpu_device_import_external_texture()

WGpuExternalTexture wgpu_device_import_external_texture ( WGpuDevice device,
const WGpuExternalTextureDescriptor *externalTextureDesc NOTNULL )

◆ wgpu_device_pop_error_scope_async()

void wgpu_device_pop_error_scope_async ( WGpuDevice device,
WGpuDeviceErrorCallback callback,
void * userData )

◆ wgpu_device_push_error_scope()

void wgpu_device_push_error_scope ( WGpuDevice device,
WGPU_ERROR_FILTER filter )

◆ wgpu_device_set_lost_callback()

void wgpu_device_set_lost_callback ( WGpuDevice device,
WGpuDeviceLostCallback callback,
void * userData )

◆ wgpu_device_set_uncapturederror_callback()

void wgpu_device_set_uncapturederror_callback ( WGpuDevice device,
WGpuDeviceErrorCallback callback,
void * userData )

◆ wgpu_device_tick()

void wgpu_device_tick ( WGpuDevice device)

◆ wgpu_encoder_end()

void wgpu_encoder_end ( WGpuBindingCommandsMixin encoder)

◆ wgpu_encoder_finish()

WGpuObjectBase wgpu_encoder_finish ( WGpuObjectBase commandOrRenderBundleEncoder)

◆ wgpu_encoder_insert_debug_marker()

void wgpu_encoder_insert_debug_marker ( WGpuDebugCommandsMixin encoder,
const char *markerLabel NOTNULL )

◆ wgpu_encoder_pop_debug_group()

void wgpu_encoder_pop_debug_group ( WGpuDebugCommandsMixin encoder)

◆ wgpu_encoder_push_debug_group()

void wgpu_encoder_push_debug_group ( WGpuDebugCommandsMixin encoder,
const char *groupLabel NOTNULL )

◆ wgpu_encoder_set_bind_group()

void wgpu_encoder_set_bind_group ( WGpuBindingCommandsMixin encoder,
uint32_t index,
WGpuBindGroup bindGroup,
const uint32_t *dynamicOffsets _WGPU_DEFAULT_VALUE0,
uint32_t numDynamicOffsets _WGPU_DEFAULT_VALUE0 )

◆ wgpu_encoder_set_pipeline()

void wgpu_encoder_set_pipeline ( WGpuBindingCommandsMixin encoder,
WGpuObjectBase pipeline )

◆ wgpu_get_num_live_objects()

uint32_t wgpu_get_num_live_objects ( void )

◆ wgpu_is_adapter()

EM_BOOL wgpu_is_adapter ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_bind_group()

EM_BOOL wgpu_is_bind_group ( WGpuObjectBase object)

◆ wgpu_is_bind_group_layout()

EM_BOOL wgpu_is_bind_group_layout ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_binding_commands_mixin()

EM_BOOL wgpu_is_binding_commands_mixin ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_buffer()

EM_BOOL wgpu_is_buffer ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_canvas_context()

EM_BOOL wgpu_is_canvas_context ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_command_buffer()

EM_BOOL wgpu_is_command_buffer ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_command_encoder()

EM_BOOL wgpu_is_command_encoder ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_compute_pass_encoder()

EM_BOOL wgpu_is_compute_pass_encoder ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_compute_pipeline()

EM_BOOL wgpu_is_compute_pipeline ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_device()

EM_BOOL wgpu_is_device ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_external_texture()

EM_BOOL wgpu_is_external_texture ( WGpuObjectBase object)

◆ wgpu_is_pipeline_layout()

EM_BOOL wgpu_is_pipeline_layout ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_query_set()

EM_BOOL wgpu_is_query_set ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_queue()

EM_BOOL wgpu_is_queue ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_render_bundle()

EM_BOOL wgpu_is_render_bundle ( WGpuObjectBase object)

◆ wgpu_is_render_bundle_encoder()

EM_BOOL wgpu_is_render_bundle_encoder ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_render_commands_mixin()

EM_BOOL wgpu_is_render_commands_mixin ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_render_pass_encoder()

EM_BOOL wgpu_is_render_pass_encoder ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_render_pipeline()

EM_BOOL wgpu_is_render_pipeline ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_sampler()

EM_BOOL wgpu_is_sampler ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_shader_module()

EM_BOOL wgpu_is_shader_module ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_texture()

EM_BOOL wgpu_is_texture ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_texture_view()

EM_BOOL wgpu_is_texture_view ( WGpuObjectBase object)
Here is the caller graph for this function:

◆ wgpu_is_valid_object()

EM_BOOL wgpu_is_valid_object ( WGpuObjectBase obj)

◆ wgpu_load_image_bitmap_from_url_async()

void wgpu_load_image_bitmap_from_url_async ( const char *url NOTNULL,
EM_BOOL flipY,
WGpuLoadImageBitmapCallback callback,
void * userData )

◆ wgpu_object_destroy()

void wgpu_object_destroy ( WGpuObjectBase wgpuObject)
Here is the caller graph for this function:

◆ wgpu_object_get_label()

int wgpu_object_get_label ( WGpuObjectBase obj,
char *dstLabel NOTNULL,
uint32_t dstLabelSize )

◆ wgpu_object_set_label()

void wgpu_object_set_label ( WGpuObjectBase obj,
const char *label NOTNULL )

◆ wgpu_pipeline_get_bind_group_layout()

WGpuBindGroupLayout wgpu_pipeline_get_bind_group_layout ( WGpuObjectBase pipelineBase,
uint32_t index )

◆ wgpu_query_set_count()

uint32_t wgpu_query_set_count ( WGpuQuerySet querySet)

◆ wgpu_query_set_type()

WGPU_QUERY_TYPE wgpu_query_set_type ( WGpuQuerySet querySet)

◆ wgpu_queue_copy_external_image_to_texture()

void wgpu_queue_copy_external_image_to_texture ( WGpuQueue queue,
const WGpuImageCopyExternalImage *source NOTNULL,
const WGpuImageCopyTextureTagged *destination NOTNULL,
uint32_t copyWidth,
uint32_t copyHeight _WGPU_DEFAULT_VALUE1,
uint32_t copyDepthOrArrayLayers _WGPU_DEFAULT_VALUE1 )

◆ wgpu_queue_set_on_submitted_work_done_callback()

void wgpu_queue_set_on_submitted_work_done_callback ( WGpuQueue queue,
WGpuOnSubmittedWorkDoneCallback callback,
void * userData )

◆ wgpu_queue_submit_multiple_and_destroy()

void wgpu_queue_submit_multiple_and_destroy ( WGpuQueue queue,
const WGpuCommandBuffer * commandBuffers,
int numCommandBuffers )

◆ wgpu_queue_submit_one_and_destroy()

void wgpu_queue_submit_one_and_destroy ( WGpuQueue queue,
WGpuCommandBuffer commandBuffer )

◆ wgpu_queue_write_buffer()

void wgpu_queue_write_buffer ( WGpuQueue queue,
WGpuBuffer buffer,
double_int53_t bufferOffset,
const void *data NOTNULL,
double_int53_t size )

◆ wgpu_queue_write_texture()

void wgpu_queue_write_texture ( WGpuQueue queue,
const WGpuImageCopyTexture *destination NOTNULL,
const void *data NOTNULL,
uint32_t bytesPerBlockRow,
uint32_t blockRowsPerImage,
uint32_t writeWidth,
uint32_t writeHeight _WGPU_DEFAULT_VALUE1,
uint32_t writeDepthOrArrayLayers _WGPU_DEFAULT_VALUE1 )

◆ wgpu_render_commands_mixin_draw()

void wgpu_render_commands_mixin_draw ( WGpuRenderCommandsMixin renderCommandsMixin,
uint32_t vertexCount,
uint32_t instanceCount _WGPU_DEFAULT_VALUE1,
uint32_t firstVertex _WGPU_DEFAULT_VALUE0,
uint32_t firstInstance _WGPU_DEFAULT_VALUE0 )

◆ wgpu_render_commands_mixin_draw_indexed()

void wgpu_render_commands_mixin_draw_indexed ( WGpuRenderCommandsMixin renderCommandsMixin,
uint32_t indexCount,
uint32_t instanceCount _WGPU_DEFAULT_VALUE1,
uint32_t firstVertex _WGPU_DEFAULT_VALUE0,
int32_t baseVertex _WGPU_DEFAULT_VALUE0,
uint32_t firstInstance _WGPU_DEFAULT_VALUE0 )

◆ wgpu_render_commands_mixin_draw_indexed_indirect()

void wgpu_render_commands_mixin_draw_indexed_indirect ( WGpuRenderCommandsMixin renderCommandsMixin,
WGpuBuffer indirectBuffer,
double_int53_t indirectOffset )

◆ wgpu_render_commands_mixin_draw_indirect()

void wgpu_render_commands_mixin_draw_indirect ( WGpuRenderCommandsMixin renderCommandsMixin,
WGpuBuffer indirectBuffer,
double_int53_t indirectOffset )

◆ wgpu_render_commands_mixin_set_index_buffer()

void wgpu_render_commands_mixin_set_index_buffer ( WGpuRenderCommandsMixin renderCommandsMixin,
WGpuBuffer buffer,
WGPU_INDEX_FORMAT indexFormat,
double_int53_t offset _WGPU_DEFAULT_VALUE0,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_MAX_SIZE )

◆ wgpu_render_commands_mixin_set_vertex_buffer()

void wgpu_render_commands_mixin_set_vertex_buffer ( WGpuRenderCommandsMixin renderCommandsMixin,
int32_t slot,
WGpuBuffer buffer,
double_int53_t offset _WGPU_DEFAULT_VALUE0,
double_int53_t size _WGPU_DEFAULT_VALUEWGPU_MAX_SIZE )

◆ wgpu_render_pass_encoder_begin_occlusion_query()

void wgpu_render_pass_encoder_begin_occlusion_query ( WGpuRenderPassEncoder encoder,
int32_t queryIndex )

◆ wgpu_render_pass_encoder_end_occlusion_query()

void wgpu_render_pass_encoder_end_occlusion_query ( WGpuRenderPassEncoder encoder)

◆ wgpu_render_pass_encoder_execute_bundles()

void wgpu_render_pass_encoder_execute_bundles ( WGpuRenderPassEncoder encoder,
const WGpuRenderBundle * bundles,
int numBundles )

◆ wgpu_render_pass_encoder_set_blend_constant()

void wgpu_render_pass_encoder_set_blend_constant ( WGpuRenderPassEncoder encoder,
double r,
double g,
double b,
double a )

◆ wgpu_render_pass_encoder_set_scissor_rect()

void wgpu_render_pass_encoder_set_scissor_rect ( WGpuRenderPassEncoder encoder,
uint32_t x,
uint32_t y,
uint32_t width,
uint32_t height )

◆ wgpu_render_pass_encoder_set_stencil_reference()

void wgpu_render_pass_encoder_set_stencil_reference ( WGpuRenderPassEncoder encoder,
uint32_t stencilValue )

◆ wgpu_render_pass_encoder_set_viewport()

void wgpu_render_pass_encoder_set_viewport ( WGpuRenderPassEncoder encoder,
float x,
float y,
float width,
float height,
float minDepth,
float maxDepth )

◆ wgpu_shader_module_get_compilation_info_async()

void wgpu_shader_module_get_compilation_info_async ( WGpuShaderModule shaderModule,
WGpuGetCompilationInfoCallback callback,
void * userData )

◆ wgpu_texture_create_view()

WGpuTextureView wgpu_texture_create_view ( WGpuTexture texture,
const WGpuTextureViewDescriptor *textureViewDesc _WGPU_DEFAULT_VALUE0 )

◆ wgpu_texture_create_view_simple()

WGpuTextureView wgpu_texture_create_view_simple ( WGpuTexture texture)

◆ wgpu_texture_depth_or_array_layers()

uint32_t wgpu_texture_depth_or_array_layers ( WGpuTexture texture)

◆ wgpu_texture_dimension()

WGPU_TEXTURE_DIMENSION wgpu_texture_dimension ( WGpuTexture texture)

◆ wgpu_texture_format()

WGPU_TEXTURE_FORMAT wgpu_texture_format ( WGpuTexture texture)

◆ wgpu_texture_height()

uint32_t wgpu_texture_height ( WGpuTexture texture)

◆ wgpu_texture_mip_level_count()

uint32_t wgpu_texture_mip_level_count ( WGpuTexture texture)

◆ wgpu_texture_sample_count()

uint32_t wgpu_texture_sample_count ( WGpuTexture texture)

◆ wgpu_texture_usage()

WGPU_TEXTURE_USAGE_FLAGS wgpu_texture_usage ( WGpuTexture texture)

◆ wgpu_texture_width()

uint32_t wgpu_texture_width ( WGpuTexture texture)

Variable Documentation

◆ WGPU_BIND_GROUP_ENTRY_DEFAULT_INITIALIZER

const WGpuBindGroupEntry WGPU_BIND_GROUP_ENTRY_DEFAULT_INITIALIZER
extern

◆ WGPU_BUFFER_BINDING_LAYOUT_DEFAULT_INITIALIZER

const WGpuBufferBindingLayout WGPU_BUFFER_BINDING_LAYOUT_DEFAULT_INITIALIZER
extern

◆ WGPU_BUFFER_BINDING_LAYOUT_ENTRY_DEFAULT_INITIALIZER

const WGpuBindGroupLayoutEntry WGPU_BUFFER_BINDING_LAYOUT_ENTRY_DEFAULT_INITIALIZER
extern

◆ WGPU_CANVAS_CONFIGURATION_DEFAULT_INITIALIZER

const WGpuCanvasConfiguration WGPU_CANVAS_CONFIGURATION_DEFAULT_INITIALIZER
extern

◆ WGPU_COLOR_TARGET_STATE_DEFAULT_INITIALIZER

const WGpuColorTargetState WGPU_COLOR_TARGET_STATE_DEFAULT_INITIALIZER
extern

◆ WGPU_COMMAND_ENCODER_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuCommandEncoderDescriptor WGPU_COMMAND_ENCODER_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_COMPUTE_PASS_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuComputePassDescriptor WGPU_COMPUTE_PASS_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_COMPUTE_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER

const WGpuComputePassTimestampWrites WGPU_COMPUTE_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER
extern

◆ WGPU_DEVICE_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuDeviceDescriptor WGPU_DEVICE_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_EXTENT_3D_DEFAULT_INITIALIZER

const WGpuExtent3D WGPU_EXTENT_3D_DEFAULT_INITIALIZER
extern

◆ WGPU_EXTERNAL_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuExternalTextureDescriptor WGPU_EXTERNAL_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_IMAGE_COPY_BUFFER_DEFAULT_INITIALIZER

const WGpuImageCopyBuffer WGPU_IMAGE_COPY_BUFFER_DEFAULT_INITIALIZER
extern

◆ WGPU_IMAGE_COPY_EXTERNAL_IMAGE_DEFAULT_INITIALIZER

const WGpuImageCopyExternalImage WGPU_IMAGE_COPY_EXTERNAL_IMAGE_DEFAULT_INITIALIZER
extern

◆ WGPU_IMAGE_COPY_TEXTURE_DEFAULT_INITIALIZER

const WGpuImageCopyTexture WGPU_IMAGE_COPY_TEXTURE_DEFAULT_INITIALIZER
extern

◆ WGPU_IMAGE_COPY_TEXTURE_TAGGED_DEFAULT_INITIALIZER

const WGpuImageCopyTextureTagged WGPU_IMAGE_COPY_TEXTURE_TAGGED_DEFAULT_INITIALIZER
extern

◆ WGPU_RENDER_PASS_COLOR_ATTACHMENT_DEFAULT_INITIALIZER

const WGpuRenderPassColorAttachment WGPU_RENDER_PASS_COLOR_ATTACHMENT_DEFAULT_INITIALIZER
extern

◆ WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_DEFAULT_INITIALIZER

const WGpuRenderPassDepthStencilAttachment WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_DEFAULT_INITIALIZER
extern

◆ WGPU_RENDER_PASS_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuRenderPassDescriptor WGPU_RENDER_PASS_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_RENDER_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER

const WGpuRenderPassTimestampWrites WGPU_RENDER_PASS_TIMESTAMP_WRITES_DEFAULT_INITIALIZER
extern

◆ WGPU_RENDER_PIPELINE_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuRenderPipelineDescriptor WGPU_RENDER_PIPELINE_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_REQUEST_ADAPTER_OPTIONS_DEFAULT_INITIALIZER

const WGpuRequestAdapterOptions WGPU_REQUEST_ADAPTER_OPTIONS_DEFAULT_INITIALIZER
extern

◆ WGPU_SAMPLER_BINDING_LAYOUT_DEFAULT_INITIALIZER

const WGpuSamplerBindingLayout WGPU_SAMPLER_BINDING_LAYOUT_DEFAULT_INITIALIZER
extern

◆ WGPU_SAMPLER_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuSamplerDescriptor WGPU_SAMPLER_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_SHADER_MODULE_COMPILATION_HINT_DEFAULT_INITIALIZER

const WGpuShaderModuleCompilationHint WGPU_SHADER_MODULE_COMPILATION_HINT_DEFAULT_INITIALIZER
extern

◆ WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER

const WGpuStorageTextureBindingLayout WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER
extern

◆ WGPU_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER

const WGpuTextureBindingLayout WGPU_TEXTURE_BINDING_LAYOUT_DEFAULT_INITIALIZER
extern

◆ WGPU_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuTextureDescriptor WGPU_TEXTURE_DESCRIPTOR_DEFAULT_INITIALIZER
extern

◆ WGPU_TEXTURE_VIEW_DESCRIPTOR_DEFAULT_INITIALIZER

const WGpuTextureViewDescriptor WGPU_TEXTURE_VIEW_DESCRIPTOR_DEFAULT_INITIALIZER
extern