WebGPU Native  v0.1.0
The WebGPU C API
Loading...
Searching...
No Matches
Enumerations

Enums. More...

Typedefs

typedef enum WGPUAdapterType WGPUAdapterType
 
typedef enum WGPUAddressMode WGPUAddressMode
 
typedef enum WGPUBackendType WGPUBackendType
 
typedef enum WGPUBlendFactor WGPUBlendFactor
 
typedef enum WGPUBlendOperation WGPUBlendOperation
 
typedef enum WGPUBufferBindingType WGPUBufferBindingType
 
typedef enum WGPUBufferMapAsyncStatus WGPUBufferMapAsyncStatus
 
typedef enum WGPUBufferMapState WGPUBufferMapState
 
typedef enum WGPUCompareFunction WGPUCompareFunction
 
typedef enum WGPUCompilationInfoRequestStatus WGPUCompilationInfoRequestStatus
 
typedef enum WGPUCompilationMessageType WGPUCompilationMessageType
 
typedef enum WGPUCompositeAlphaMode WGPUCompositeAlphaMode
 
typedef enum WGPUCreatePipelineAsyncStatus WGPUCreatePipelineAsyncStatus
 
typedef enum WGPUCullMode WGPUCullMode
 
typedef enum WGPUDeviceLostReason WGPUDeviceLostReason
 
typedef enum WGPUErrorFilter WGPUErrorFilter
 
typedef enum WGPUErrorType WGPUErrorType
 
typedef enum WGPUFeatureName WGPUFeatureName
 
typedef enum WGPUFilterMode WGPUFilterMode
 
typedef enum WGPUFrontFace WGPUFrontFace
 
typedef enum WGPUIndexFormat WGPUIndexFormat
 
typedef enum WGPULoadOp WGPULoadOp
 
typedef enum WGPUMipmapFilterMode WGPUMipmapFilterMode
 
typedef enum WGPUPowerPreference WGPUPowerPreference
 
typedef enum WGPUPresentMode WGPUPresentMode
 
typedef enum WGPUPrimitiveTopology WGPUPrimitiveTopology
 
typedef enum WGPUQueryType WGPUQueryType
 
typedef enum WGPUQueueWorkDoneStatus WGPUQueueWorkDoneStatus
 
typedef enum WGPURequestAdapterStatus WGPURequestAdapterStatus
 
typedef enum WGPURequestDeviceStatus WGPURequestDeviceStatus
 
typedef enum WGPUSType WGPUSType
 
typedef enum WGPUSamplerBindingType WGPUSamplerBindingType
 
typedef enum WGPUStencilOperation WGPUStencilOperation
 
typedef enum WGPUStorageTextureAccess WGPUStorageTextureAccess
 
typedef enum WGPUStoreOp WGPUStoreOp
 
typedef enum WGPUSurfaceGetCurrentTextureStatus WGPUSurfaceGetCurrentTextureStatus
 
typedef enum WGPUTextureAspect WGPUTextureAspect
 
typedef enum WGPUTextureDimension WGPUTextureDimension
 
typedef enum WGPUTextureFormat WGPUTextureFormat
 
typedef enum WGPUTextureSampleType WGPUTextureSampleType
 
typedef enum WGPUTextureViewDimension WGPUTextureViewDimension
 
typedef enum WGPUVertexFormat WGPUVertexFormat
 
typedef enum WGPUVertexStepMode WGPUVertexStepMode
 
typedef enum WGPUWGSLFeatureName WGPUWGSLFeatureName
 

Enumerations

enum  WGPUAdapterType {
  WGPUAdapterType_DiscreteGPU = 0x00000000 ,
  WGPUAdapterType_IntegratedGPU = 0x00000001 ,
  WGPUAdapterType_CPU = 0x00000002 ,
  WGPUAdapterType_Unknown = 0x00000003 ,
  WGPUAdapterType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUAddressMode {
  WGPUAddressMode_Repeat = 0x00000000 ,
  WGPUAddressMode_MirrorRepeat = 0x00000001 ,
  WGPUAddressMode_ClampToEdge = 0x00000002 ,
  WGPUAddressMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBackendType {
  WGPUBackendType_Undefined = 0x00000000 ,
  WGPUBackendType_Null = 0x00000001 ,
  WGPUBackendType_WebGPU = 0x00000002 ,
  WGPUBackendType_D3D11 = 0x00000003 ,
  WGPUBackendType_D3D12 = 0x00000004 ,
  WGPUBackendType_Metal = 0x00000005 ,
  WGPUBackendType_Vulkan = 0x00000006 ,
  WGPUBackendType_OpenGL = 0x00000007 ,
  WGPUBackendType_OpenGLES = 0x00000008 ,
  WGPUBackendType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBlendFactor {
  WGPUBlendFactor_Zero = 0x00000000 ,
  WGPUBlendFactor_One = 0x00000001 ,
  WGPUBlendFactor_Src = 0x00000002 ,
  WGPUBlendFactor_OneMinusSrc = 0x00000003 ,
  WGPUBlendFactor_SrcAlpha = 0x00000004 ,
  WGPUBlendFactor_OneMinusSrcAlpha = 0x00000005 ,
  WGPUBlendFactor_Dst = 0x00000006 ,
  WGPUBlendFactor_OneMinusDst = 0x00000007 ,
  WGPUBlendFactor_DstAlpha = 0x00000008 ,
  WGPUBlendFactor_OneMinusDstAlpha = 0x00000009 ,
  WGPUBlendFactor_SrcAlphaSaturated = 0x0000000A ,
  WGPUBlendFactor_Constant = 0x0000000B ,
  WGPUBlendFactor_OneMinusConstant = 0x0000000C ,
  WGPUBlendFactor_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBlendOperation {
  WGPUBlendOperation_Add = 0x00000000 ,
  WGPUBlendOperation_Subtract = 0x00000001 ,
  WGPUBlendOperation_ReverseSubtract = 0x00000002 ,
  WGPUBlendOperation_Min = 0x00000003 ,
  WGPUBlendOperation_Max = 0x00000004 ,
  WGPUBlendOperation_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBufferBindingType {
  WGPUBufferBindingType_Undefined = 0x00000000 ,
  WGPUBufferBindingType_Uniform = 0x00000001 ,
  WGPUBufferBindingType_Storage = 0x00000002 ,
  WGPUBufferBindingType_ReadOnlyStorage = 0x00000003 ,
  WGPUBufferBindingType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBufferMapAsyncStatus {
  WGPUBufferMapAsyncStatus_Success = 0x00000000 ,
  WGPUBufferMapAsyncStatus_ValidationError = 0x00000001 ,
  WGPUBufferMapAsyncStatus_Unknown = 0x00000002 ,
  WGPUBufferMapAsyncStatus_DeviceLost = 0x00000003 ,
  WGPUBufferMapAsyncStatus_DestroyedBeforeCallback = 0x00000004 ,
  WGPUBufferMapAsyncStatus_UnmappedBeforeCallback = 0x00000005 ,
  WGPUBufferMapAsyncStatus_MappingAlreadyPending = 0x00000006 ,
  WGPUBufferMapAsyncStatus_OffsetOutOfRange = 0x00000007 ,
  WGPUBufferMapAsyncStatus_SizeOutOfRange = 0x00000008 ,
  WGPUBufferMapAsyncStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPUBufferMapState {
  WGPUBufferMapState_Unmapped = 0x00000000 ,
  WGPUBufferMapState_Pending = 0x00000001 ,
  WGPUBufferMapState_Mapped = 0x00000002 ,
  WGPUBufferMapState_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCompareFunction {
  WGPUCompareFunction_Undefined = 0x00000000 ,
  WGPUCompareFunction_Never = 0x00000001 ,
  WGPUCompareFunction_Less = 0x00000002 ,
  WGPUCompareFunction_LessEqual = 0x00000003 ,
  WGPUCompareFunction_Greater = 0x00000004 ,
  WGPUCompareFunction_GreaterEqual = 0x00000005 ,
  WGPUCompareFunction_Equal = 0x00000006 ,
  WGPUCompareFunction_NotEqual = 0x00000007 ,
  WGPUCompareFunction_Always = 0x00000008 ,
  WGPUCompareFunction_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCompilationInfoRequestStatus {
  WGPUCompilationInfoRequestStatus_Success = 0x00000000 ,
  WGPUCompilationInfoRequestStatus_Error = 0x00000001 ,
  WGPUCompilationInfoRequestStatus_DeviceLost = 0x00000002 ,
  WGPUCompilationInfoRequestStatus_Unknown = 0x00000003 ,
  WGPUCompilationInfoRequestStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCompilationMessageType {
  WGPUCompilationMessageType_Error = 0x00000000 ,
  WGPUCompilationMessageType_Warning = 0x00000001 ,
  WGPUCompilationMessageType_Info = 0x00000002 ,
  WGPUCompilationMessageType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCompositeAlphaMode {
  WGPUCompositeAlphaMode_Auto = 0x00000000 ,
  WGPUCompositeAlphaMode_Opaque = 0x00000001 ,
  WGPUCompositeAlphaMode_Premultiplied = 0x00000002 ,
  WGPUCompositeAlphaMode_Unpremultiplied = 0x00000003 ,
  WGPUCompositeAlphaMode_Inherit = 0x00000004 ,
  WGPUCompositeAlphaMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCreatePipelineAsyncStatus {
  WGPUCreatePipelineAsyncStatus_Success = 0x00000000 ,
  WGPUCreatePipelineAsyncStatus_ValidationError = 0x00000001 ,
  WGPUCreatePipelineAsyncStatus_InternalError = 0x00000002 ,
  WGPUCreatePipelineAsyncStatus_DeviceLost = 0x00000003 ,
  WGPUCreatePipelineAsyncStatus_DeviceDestroyed = 0x00000004 ,
  WGPUCreatePipelineAsyncStatus_Unknown = 0x00000005 ,
  WGPUCreatePipelineAsyncStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPUCullMode {
  WGPUCullMode_None = 0x00000000 ,
  WGPUCullMode_Front = 0x00000001 ,
  WGPUCullMode_Back = 0x00000002 ,
  WGPUCullMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUDeviceLostReason {
  WGPUDeviceLostReason_Undefined = 0x00000000 ,
  WGPUDeviceLostReason_Destroyed = 0x00000001 ,
  WGPUDeviceLostReason_Force32 = 0x7FFFFFFF
}
 
enum  WGPUErrorFilter {
  WGPUErrorFilter_Validation = 0x00000000 ,
  WGPUErrorFilter_OutOfMemory = 0x00000001 ,
  WGPUErrorFilter_Internal = 0x00000002 ,
  WGPUErrorFilter_Force32 = 0x7FFFFFFF
}
 
enum  WGPUErrorType {
  WGPUErrorType_NoError = 0x00000000 ,
  WGPUErrorType_Validation = 0x00000001 ,
  WGPUErrorType_OutOfMemory = 0x00000002 ,
  WGPUErrorType_Internal = 0x00000003 ,
  WGPUErrorType_Unknown = 0x00000004 ,
  WGPUErrorType_DeviceLost = 0x00000005 ,
  WGPUErrorType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUFeatureName {
  WGPUFeatureName_Undefined = 0x00000000 ,
  WGPUFeatureName_DepthClipControl = 0x00000001 ,
  WGPUFeatureName_Depth32FloatStencil8 = 0x00000002 ,
  WGPUFeatureName_TimestampQuery = 0x00000003 ,
  WGPUFeatureName_TextureCompressionBC = 0x00000004 ,
  WGPUFeatureName_TextureCompressionETC2 = 0x00000005 ,
  WGPUFeatureName_TextureCompressionASTC = 0x00000006 ,
  WGPUFeatureName_IndirectFirstInstance = 0x00000007 ,
  WGPUFeatureName_ShaderF16 = 0x00000008 ,
  WGPUFeatureName_RG11B10UfloatRenderable = 0x00000009 ,
  WGPUFeatureName_BGRA8UnormStorage = 0x0000000A ,
  WGPUFeatureName_Float32Filterable = 0x0000000B ,
  WGPUFeatureName_Force32 = 0x7FFFFFFF
}
 
enum  WGPUFilterMode {
  WGPUFilterMode_Nearest = 0x00000000 ,
  WGPUFilterMode_Linear = 0x00000001 ,
  WGPUFilterMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUFrontFace {
  WGPUFrontFace_CCW = 0x00000000 ,
  WGPUFrontFace_CW = 0x00000001 ,
  WGPUFrontFace_Force32 = 0x7FFFFFFF
}
 
enum  WGPUIndexFormat {
  WGPUIndexFormat_Undefined = 0x00000000 ,
  WGPUIndexFormat_Uint16 = 0x00000001 ,
  WGPUIndexFormat_Uint32 = 0x00000002 ,
  WGPUIndexFormat_Force32 = 0x7FFFFFFF
}
 
enum  WGPULoadOp {
  WGPULoadOp_Undefined = 0x00000000 ,
  WGPULoadOp_Clear = 0x00000001 ,
  WGPULoadOp_Load = 0x00000002 ,
  WGPULoadOp_Force32 = 0x7FFFFFFF
}
 
enum  WGPUMipmapFilterMode {
  WGPUMipmapFilterMode_Nearest = 0x00000000 ,
  WGPUMipmapFilterMode_Linear = 0x00000001 ,
  WGPUMipmapFilterMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUPowerPreference {
  WGPUPowerPreference_Undefined = 0x00000000 ,
  WGPUPowerPreference_LowPower = 0x00000001 ,
  WGPUPowerPreference_HighPerformance = 0x00000002 ,
  WGPUPowerPreference_Force32 = 0x7FFFFFFF
}
 
enum  WGPUPresentMode {
  WGPUPresentMode_Fifo = 0x00000000 ,
  WGPUPresentMode_FifoRelaxed = 0x00000001 ,
  WGPUPresentMode_Immediate = 0x00000002 ,
  WGPUPresentMode_Mailbox = 0x00000003 ,
  WGPUPresentMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUPrimitiveTopology {
  WGPUPrimitiveTopology_PointList = 0x00000000 ,
  WGPUPrimitiveTopology_LineList = 0x00000001 ,
  WGPUPrimitiveTopology_LineStrip = 0x00000002 ,
  WGPUPrimitiveTopology_TriangleList = 0x00000003 ,
  WGPUPrimitiveTopology_TriangleStrip = 0x00000004 ,
  WGPUPrimitiveTopology_Force32 = 0x7FFFFFFF
}
 
enum  WGPUQueryType {
  WGPUQueryType_Occlusion = 0x00000000 ,
  WGPUQueryType_Timestamp = 0x00000001 ,
  WGPUQueryType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUQueueWorkDoneStatus {
  WGPUQueueWorkDoneStatus_Success = 0x00000000 ,
  WGPUQueueWorkDoneStatus_Error = 0x00000001 ,
  WGPUQueueWorkDoneStatus_Unknown = 0x00000002 ,
  WGPUQueueWorkDoneStatus_DeviceLost = 0x00000003 ,
  WGPUQueueWorkDoneStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPURequestAdapterStatus {
  WGPURequestAdapterStatus_Success = 0x00000000 ,
  WGPURequestAdapterStatus_Unavailable = 0x00000001 ,
  WGPURequestAdapterStatus_Error = 0x00000002 ,
  WGPURequestAdapterStatus_Unknown = 0x00000003 ,
  WGPURequestAdapterStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPURequestDeviceStatus {
  WGPURequestDeviceStatus_Success = 0x00000000 ,
  WGPURequestDeviceStatus_Error = 0x00000001 ,
  WGPURequestDeviceStatus_Unknown = 0x00000002 ,
  WGPURequestDeviceStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPUSType {
  WGPUSType_Invalid = 0x00000000 ,
  WGPUSType_SurfaceDescriptorFromMetalLayer = 0x00000001 ,
  WGPUSType_SurfaceDescriptorFromWindowsHWND = 0x00000002 ,
  WGPUSType_SurfaceDescriptorFromXlibWindow = 0x00000003 ,
  WGPUSType_SurfaceDescriptorFromCanvasHTMLSelector = 0x00000004 ,
  WGPUSType_ShaderModuleSPIRVDescriptor = 0x00000005 ,
  WGPUSType_ShaderModuleWGSLDescriptor = 0x00000006 ,
  WGPUSType_PrimitiveDepthClipControl = 0x00000007 ,
  WGPUSType_SurfaceDescriptorFromWaylandSurface = 0x00000008 ,
  WGPUSType_SurfaceDescriptorFromAndroidNativeWindow = 0x00000009 ,
  WGPUSType_SurfaceDescriptorFromXcbWindow = 0x0000000A ,
  WGPUSType_RenderPassDescriptorMaxDrawCount = 0x0000000F ,
  WGPUSType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUSamplerBindingType {
  WGPUSamplerBindingType_Undefined = 0x00000000 ,
  WGPUSamplerBindingType_Filtering = 0x00000001 ,
  WGPUSamplerBindingType_NonFiltering = 0x00000002 ,
  WGPUSamplerBindingType_Comparison = 0x00000003 ,
  WGPUSamplerBindingType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUStencilOperation {
  WGPUStencilOperation_Keep = 0x00000000 ,
  WGPUStencilOperation_Zero = 0x00000001 ,
  WGPUStencilOperation_Replace = 0x00000002 ,
  WGPUStencilOperation_Invert = 0x00000003 ,
  WGPUStencilOperation_IncrementClamp = 0x00000004 ,
  WGPUStencilOperation_DecrementClamp = 0x00000005 ,
  WGPUStencilOperation_IncrementWrap = 0x00000006 ,
  WGPUStencilOperation_DecrementWrap = 0x00000007 ,
  WGPUStencilOperation_Force32 = 0x7FFFFFFF
}
 
enum  WGPUStorageTextureAccess {
  WGPUStorageTextureAccess_Undefined = 0x00000000 ,
  WGPUStorageTextureAccess_WriteOnly = 0x00000001 ,
  WGPUStorageTextureAccess_ReadOnly = 0x00000002 ,
  WGPUStorageTextureAccess_ReadWrite = 0x00000003 ,
  WGPUStorageTextureAccess_Force32 = 0x7FFFFFFF
}
 
enum  WGPUStoreOp {
  WGPUStoreOp_Undefined = 0x00000000 ,
  WGPUStoreOp_Store = 0x00000001 ,
  WGPUStoreOp_Discard = 0x00000002 ,
  WGPUStoreOp_Force32 = 0x7FFFFFFF
}
 
enum  WGPUSurfaceGetCurrentTextureStatus {
  WGPUSurfaceGetCurrentTextureStatus_Success = 0x00000000 ,
  WGPUSurfaceGetCurrentTextureStatus_Timeout = 0x00000001 ,
  WGPUSurfaceGetCurrentTextureStatus_Outdated = 0x00000002 ,
  WGPUSurfaceGetCurrentTextureStatus_Lost = 0x00000003 ,
  WGPUSurfaceGetCurrentTextureStatus_OutOfMemory = 0x00000004 ,
  WGPUSurfaceGetCurrentTextureStatus_DeviceLost = 0x00000005 ,
  WGPUSurfaceGetCurrentTextureStatus_Force32 = 0x7FFFFFFF
}
 
enum  WGPUTextureAspect {
  WGPUTextureAspect_All = 0x00000000 ,
  WGPUTextureAspect_StencilOnly = 0x00000001 ,
  WGPUTextureAspect_DepthOnly = 0x00000002 ,
  WGPUTextureAspect_Force32 = 0x7FFFFFFF
}
 
enum  WGPUTextureDimension {
  WGPUTextureDimension_1D = 0x00000000 ,
  WGPUTextureDimension_2D = 0x00000001 ,
  WGPUTextureDimension_3D = 0x00000002 ,
  WGPUTextureDimension_Force32 = 0x7FFFFFFF
}
 
enum  WGPUTextureFormat {
  WGPUTextureFormat_Undefined = 0x00000000 ,
  WGPUTextureFormat_R8Unorm = 0x00000001 ,
  WGPUTextureFormat_R8Snorm = 0x00000002 ,
  WGPUTextureFormat_R8Uint = 0x00000003 ,
  WGPUTextureFormat_R8Sint = 0x00000004 ,
  WGPUTextureFormat_R16Uint = 0x00000005 ,
  WGPUTextureFormat_R16Sint = 0x00000006 ,
  WGPUTextureFormat_R16Float = 0x00000007 ,
  WGPUTextureFormat_RG8Unorm = 0x00000008 ,
  WGPUTextureFormat_RG8Snorm = 0x00000009 ,
  WGPUTextureFormat_RG8Uint = 0x0000000A ,
  WGPUTextureFormat_RG8Sint = 0x0000000B ,
  WGPUTextureFormat_R32Float = 0x0000000C ,
  WGPUTextureFormat_R32Uint = 0x0000000D ,
  WGPUTextureFormat_R32Sint = 0x0000000E ,
  WGPUTextureFormat_RG16Uint = 0x0000000F ,
  WGPUTextureFormat_RG16Sint = 0x00000010 ,
  WGPUTextureFormat_RG16Float = 0x00000011 ,
  WGPUTextureFormat_RGBA8Unorm = 0x00000012 ,
  WGPUTextureFormat_RGBA8UnormSrgb = 0x00000013 ,
  WGPUTextureFormat_RGBA8Snorm = 0x00000014 ,
  WGPUTextureFormat_RGBA8Uint = 0x00000015 ,
  WGPUTextureFormat_RGBA8Sint = 0x00000016 ,
  WGPUTextureFormat_BGRA8Unorm = 0x00000017 ,
  WGPUTextureFormat_BGRA8UnormSrgb = 0x00000018 ,
  WGPUTextureFormat_RGB10A2Uint = 0x00000019 ,
  WGPUTextureFormat_RGB10A2Unorm = 0x0000001A ,
  WGPUTextureFormat_RG11B10Ufloat = 0x0000001B ,
  WGPUTextureFormat_RGB9E5Ufloat = 0x0000001C ,
  WGPUTextureFormat_RG32Float = 0x0000001D ,
  WGPUTextureFormat_RG32Uint = 0x0000001E ,
  WGPUTextureFormat_RG32Sint = 0x0000001F ,
  WGPUTextureFormat_RGBA16Uint = 0x00000020 ,
  WGPUTextureFormat_RGBA16Sint = 0x00000021 ,
  WGPUTextureFormat_RGBA16Float = 0x00000022 ,
  WGPUTextureFormat_RGBA32Float = 0x00000023 ,
  WGPUTextureFormat_RGBA32Uint = 0x00000024 ,
  WGPUTextureFormat_RGBA32Sint = 0x00000025 ,
  WGPUTextureFormat_Stencil8 = 0x00000026 ,
  WGPUTextureFormat_Depth16Unorm = 0x00000027 ,
  WGPUTextureFormat_Depth24Plus = 0x00000028 ,
  WGPUTextureFormat_Depth24PlusStencil8 = 0x00000029 ,
  WGPUTextureFormat_Depth32Float = 0x0000002A ,
  WGPUTextureFormat_Depth32FloatStencil8 = 0x0000002B ,
  WGPUTextureFormat_BC1RGBAUnorm = 0x0000002C ,
  WGPUTextureFormat_BC1RGBAUnormSrgb = 0x0000002D ,
  WGPUTextureFormat_BC2RGBAUnorm = 0x0000002E ,
  WGPUTextureFormat_BC2RGBAUnormSrgb = 0x0000002F ,
  WGPUTextureFormat_BC3RGBAUnorm = 0x00000030 ,
  WGPUTextureFormat_BC3RGBAUnormSrgb = 0x00000031 ,
  WGPUTextureFormat_BC4RUnorm = 0x00000032 ,
  WGPUTextureFormat_BC4RSnorm = 0x00000033 ,
  WGPUTextureFormat_BC5RGUnorm = 0x00000034 ,
  WGPUTextureFormat_BC5RGSnorm = 0x00000035 ,
  WGPUTextureFormat_BC6HRGBUfloat = 0x00000036 ,
  WGPUTextureFormat_BC6HRGBFloat = 0x00000037 ,
  WGPUTextureFormat_BC7RGBAUnorm = 0x00000038 ,
  WGPUTextureFormat_BC7RGBAUnormSrgb = 0x00000039 ,
  WGPUTextureFormat_ETC2RGB8Unorm = 0x0000003A ,
  WGPUTextureFormat_ETC2RGB8UnormSrgb = 0x0000003B ,
  WGPUTextureFormat_ETC2RGB8A1Unorm = 0x0000003C ,
  WGPUTextureFormat_ETC2RGB8A1UnormSrgb = 0x0000003D ,
  WGPUTextureFormat_ETC2RGBA8Unorm = 0x0000003E ,
  WGPUTextureFormat_ETC2RGBA8UnormSrgb = 0x0000003F ,
  WGPUTextureFormat_EACR11Unorm = 0x00000040 ,
  WGPUTextureFormat_EACR11Snorm = 0x00000041 ,
  WGPUTextureFormat_EACRG11Unorm = 0x00000042 ,
  WGPUTextureFormat_EACRG11Snorm = 0x00000043 ,
  WGPUTextureFormat_ASTC4x4Unorm = 0x00000044 ,
  WGPUTextureFormat_ASTC4x4UnormSrgb = 0x00000045 ,
  WGPUTextureFormat_ASTC5x4Unorm = 0x00000046 ,
  WGPUTextureFormat_ASTC5x4UnormSrgb = 0x00000047 ,
  WGPUTextureFormat_ASTC5x5Unorm = 0x00000048 ,
  WGPUTextureFormat_ASTC5x5UnormSrgb = 0x00000049 ,
  WGPUTextureFormat_ASTC6x5Unorm = 0x0000004A ,
  WGPUTextureFormat_ASTC6x5UnormSrgb = 0x0000004B ,
  WGPUTextureFormat_ASTC6x6Unorm = 0x0000004C ,
  WGPUTextureFormat_ASTC6x6UnormSrgb = 0x0000004D ,
  WGPUTextureFormat_ASTC8x5Unorm = 0x0000004E ,
  WGPUTextureFormat_ASTC8x5UnormSrgb = 0x0000004F ,
  WGPUTextureFormat_ASTC8x6Unorm = 0x00000050 ,
  WGPUTextureFormat_ASTC8x6UnormSrgb = 0x00000051 ,
  WGPUTextureFormat_ASTC8x8Unorm = 0x00000052 ,
  WGPUTextureFormat_ASTC8x8UnormSrgb = 0x00000053 ,
  WGPUTextureFormat_ASTC10x5Unorm = 0x00000054 ,
  WGPUTextureFormat_ASTC10x5UnormSrgb = 0x00000055 ,
  WGPUTextureFormat_ASTC10x6Unorm = 0x00000056 ,
  WGPUTextureFormat_ASTC10x6UnormSrgb = 0x00000057 ,
  WGPUTextureFormat_ASTC10x8Unorm = 0x00000058 ,
  WGPUTextureFormat_ASTC10x8UnormSrgb = 0x00000059 ,
  WGPUTextureFormat_ASTC10x10Unorm = 0x0000005A ,
  WGPUTextureFormat_ASTC10x10UnormSrgb = 0x0000005B ,
  WGPUTextureFormat_ASTC12x10Unorm = 0x0000005C ,
  WGPUTextureFormat_ASTC12x10UnormSrgb = 0x0000005D ,
  WGPUTextureFormat_ASTC12x12Unorm = 0x0000005E ,
  WGPUTextureFormat_ASTC12x12UnormSrgb = 0x0000005F ,
  WGPUTextureFormat_Force32 = 0x7FFFFFFF
}
 
enum  WGPUTextureSampleType {
  WGPUTextureSampleType_Undefined = 0x00000000 ,
  WGPUTextureSampleType_Float = 0x00000001 ,
  WGPUTextureSampleType_UnfilterableFloat = 0x00000002 ,
  WGPUTextureSampleType_Depth = 0x00000003 ,
  WGPUTextureSampleType_Sint = 0x00000004 ,
  WGPUTextureSampleType_Uint = 0x00000005 ,
  WGPUTextureSampleType_Force32 = 0x7FFFFFFF
}
 
enum  WGPUTextureViewDimension {
  WGPUTextureViewDimension_Undefined = 0x00000000 ,
  WGPUTextureViewDimension_1D = 0x00000001 ,
  WGPUTextureViewDimension_2D = 0x00000002 ,
  WGPUTextureViewDimension_2DArray = 0x00000003 ,
  WGPUTextureViewDimension_Cube = 0x00000004 ,
  WGPUTextureViewDimension_CubeArray = 0x00000005 ,
  WGPUTextureViewDimension_3D = 0x00000006 ,
  WGPUTextureViewDimension_Force32 = 0x7FFFFFFF
}
 
enum  WGPUVertexFormat {
  WGPUVertexFormat_Undefined = 0x00000000 ,
  WGPUVertexFormat_Uint8x2 = 0x00000001 ,
  WGPUVertexFormat_Uint8x4 = 0x00000002 ,
  WGPUVertexFormat_Sint8x2 = 0x00000003 ,
  WGPUVertexFormat_Sint8x4 = 0x00000004 ,
  WGPUVertexFormat_Unorm8x2 = 0x00000005 ,
  WGPUVertexFormat_Unorm8x4 = 0x00000006 ,
  WGPUVertexFormat_Snorm8x2 = 0x00000007 ,
  WGPUVertexFormat_Snorm8x4 = 0x00000008 ,
  WGPUVertexFormat_Uint16x2 = 0x00000009 ,
  WGPUVertexFormat_Uint16x4 = 0x0000000A ,
  WGPUVertexFormat_Sint16x2 = 0x0000000B ,
  WGPUVertexFormat_Sint16x4 = 0x0000000C ,
  WGPUVertexFormat_Unorm16x2 = 0x0000000D ,
  WGPUVertexFormat_Unorm16x4 = 0x0000000E ,
  WGPUVertexFormat_Snorm16x2 = 0x0000000F ,
  WGPUVertexFormat_Snorm16x4 = 0x00000010 ,
  WGPUVertexFormat_Float16x2 = 0x00000011 ,
  WGPUVertexFormat_Float16x4 = 0x00000012 ,
  WGPUVertexFormat_Float32 = 0x00000013 ,
  WGPUVertexFormat_Float32x2 = 0x00000014 ,
  WGPUVertexFormat_Float32x3 = 0x00000015 ,
  WGPUVertexFormat_Float32x4 = 0x00000016 ,
  WGPUVertexFormat_Uint32 = 0x00000017 ,
  WGPUVertexFormat_Uint32x2 = 0x00000018 ,
  WGPUVertexFormat_Uint32x3 = 0x00000019 ,
  WGPUVertexFormat_Uint32x4 = 0x0000001A ,
  WGPUVertexFormat_Sint32 = 0x0000001B ,
  WGPUVertexFormat_Sint32x2 = 0x0000001C ,
  WGPUVertexFormat_Sint32x3 = 0x0000001D ,
  WGPUVertexFormat_Sint32x4 = 0x0000001E ,
  WGPUVertexFormat_Force32 = 0x7FFFFFFF
}
 
enum  WGPUVertexStepMode {
  WGPUVertexStepMode_Vertex = 0x00000000 ,
  WGPUVertexStepMode_Instance = 0x00000001 ,
  WGPUVertexStepMode_VertexBufferNotUsed = 0x00000002 ,
  WGPUVertexStepMode_Force32 = 0x7FFFFFFF
}
 
enum  WGPUWGSLFeatureName {
  WGPUWGSLFeatureName_Undefined = 0x00000000 ,
  WGPUWGSLFeatureName_ReadonlyAndReadwriteStorageTextures = 0x00000001 ,
  WGPUWGSLFeatureName_Packed4x8IntegerDotProduct = 0x00000002 ,
  WGPUWGSLFeatureName_UnrestrictedPointerParameters = 0x00000003 ,
  WGPUWGSLFeatureName_PointerCompositeAccess = 0x00000004 ,
  WGPUWGSLFeatureName_Force32 = 0x7FFFFFFF
}
 

Detailed Description

Enums.

Enumeration Type Documentation

◆ WGPUAdapterType

enum WGPUAdapterType

Definition at line 203 of file webgpu.h.

◆ WGPUAddressMode

enum WGPUAddressMode

Definition at line 211 of file webgpu.h.

◆ WGPUBackendType

enum WGPUBackendType

Definition at line 218 of file webgpu.h.

◆ WGPUBlendFactor

enum WGPUBlendFactor

Definition at line 231 of file webgpu.h.

◆ WGPUBlendOperation

enum WGPUBlendOperation

Definition at line 248 of file webgpu.h.

◆ WGPUBufferBindingType

enum WGPUBufferBindingType

Definition at line 257 of file webgpu.h.

◆ WGPUBufferMapAsyncStatus

enum WGPUBufferMapAsyncStatus

Definition at line 265 of file webgpu.h.

◆ WGPUBufferMapState

enum WGPUBufferMapState

Definition at line 278 of file webgpu.h.

◆ WGPUCompareFunction

enum WGPUCompareFunction

Definition at line 285 of file webgpu.h.

◆ WGPUCompilationInfoRequestStatus

enum WGPUCompilationInfoRequestStatus

Definition at line 298 of file webgpu.h.

◆ WGPUCompilationMessageType

enum WGPUCompilationMessageType

Definition at line 306 of file webgpu.h.

◆ WGPUCompositeAlphaMode

enum WGPUCompositeAlphaMode

Definition at line 313 of file webgpu.h.

◆ WGPUCreatePipelineAsyncStatus

enum WGPUCreatePipelineAsyncStatus

Definition at line 322 of file webgpu.h.

◆ WGPUCullMode

enum WGPUCullMode

Definition at line 332 of file webgpu.h.

◆ WGPUDeviceLostReason

enum WGPUDeviceLostReason

Definition at line 339 of file webgpu.h.

◆ WGPUErrorFilter

enum WGPUErrorFilter

Definition at line 345 of file webgpu.h.

◆ WGPUErrorType

enum WGPUErrorType

Definition at line 352 of file webgpu.h.

◆ WGPUFeatureName

enum WGPUFeatureName

Definition at line 362 of file webgpu.h.

◆ WGPUFilterMode

enum WGPUFilterMode

Definition at line 378 of file webgpu.h.

◆ WGPUFrontFace

enum WGPUFrontFace

Definition at line 384 of file webgpu.h.

◆ WGPUIndexFormat

enum WGPUIndexFormat

Definition at line 390 of file webgpu.h.

◆ WGPULoadOp

enum WGPULoadOp

Definition at line 397 of file webgpu.h.

◆ WGPUMipmapFilterMode

enum WGPUMipmapFilterMode

Definition at line 404 of file webgpu.h.

◆ WGPUPowerPreference

enum WGPUPowerPreference

Definition at line 410 of file webgpu.h.

◆ WGPUPresentMode

enum WGPUPresentMode

Definition at line 417 of file webgpu.h.

◆ WGPUPrimitiveTopology

enum WGPUPrimitiveTopology

Definition at line 425 of file webgpu.h.

◆ WGPUQueryType

enum WGPUQueryType

Definition at line 434 of file webgpu.h.

◆ WGPUQueueWorkDoneStatus

enum WGPUQueueWorkDoneStatus

Definition at line 440 of file webgpu.h.

◆ WGPURequestAdapterStatus

enum WGPURequestAdapterStatus

Definition at line 448 of file webgpu.h.

◆ WGPURequestDeviceStatus

enum WGPURequestDeviceStatus

Definition at line 456 of file webgpu.h.

◆ WGPUSamplerBindingType

enum WGPUSamplerBindingType

Definition at line 479 of file webgpu.h.

◆ WGPUStencilOperation

enum WGPUStencilOperation

Definition at line 487 of file webgpu.h.

◆ WGPUStorageTextureAccess

enum WGPUStorageTextureAccess

Definition at line 499 of file webgpu.h.

◆ WGPUStoreOp

enum WGPUStoreOp

Definition at line 507 of file webgpu.h.

◆ WGPUSType

enum WGPUSType

Definition at line 463 of file webgpu.h.

◆ WGPUSurfaceGetCurrentTextureStatus

enum WGPUSurfaceGetCurrentTextureStatus

Definition at line 514 of file webgpu.h.

◆ WGPUTextureAspect

enum WGPUTextureAspect

Definition at line 524 of file webgpu.h.

◆ WGPUTextureDimension

enum WGPUTextureDimension

Definition at line 531 of file webgpu.h.

◆ WGPUTextureFormat

enum WGPUTextureFormat

Definition at line 538 of file webgpu.h.

◆ WGPUTextureSampleType

enum WGPUTextureSampleType

Definition at line 638 of file webgpu.h.

◆ WGPUTextureViewDimension

enum WGPUTextureViewDimension

Definition at line 648 of file webgpu.h.

◆ WGPUVertexFormat

enum WGPUVertexFormat

Definition at line 659 of file webgpu.h.

◆ WGPUVertexStepMode

enum WGPUVertexStepMode

Definition at line 694 of file webgpu.h.

◆ WGPUWGSLFeatureName

enum WGPUWGSLFeatureName

Definition at line 701 of file webgpu.h.