{ "defines": [ { "name": "IMGUI_IMPL_WEBGPU_BACKEND_DAWN", "conditionals": [ { "condition": "if", "expression": "defined(__EMSCRIPTEN__)&&!defined(IMGUI_IMPL_WEBGPU_BACKEND_DAWN)&&!defined(IMGUI_IMPL_WEBGPU_BACKEND_WGPU)" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 40 } } ], "enums": [], "typedefs": [ { "name": "ImDrawIdx", "type": { "declaration": "unsigned short", "description": { "kind": "Builtin", "builtin_type": "unsigned_short" } }, "comments": { "attached": "// Default: 16-bit (for maximum compatibility with renderer backends)" }, "conditionals": [ { "condition": "ifndef", "expression": "ImDrawIdx" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h" } } ], "structs": [ { "name": "ImGui_ImplWGPU_InitInfo_ImDrawData", "original_fully_qualified_name": "ImGui_ImplWGPU_InitInfo_ImDrawData", "kind": "struct", "by_value": false, "forward_declaration": true, "is_anonymous": false, "fields": [], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 1 } }, { "name": "ImGui_ImplWGPU_InitInfo", "original_fully_qualified_name": "ImGui_ImplWGPU_InitInfo", "kind": "struct", "by_value": false, "forward_declaration": false, "is_anonymous": false, "fields": [ { "name": "Device", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUDevice", "description": { "kind": "User", "name": "WGPUDevice" } }, "default_value": "nullptr", "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 51 } }, { "name": "NumFramesInFlight", "is_array": false, "is_anonymous": false, "type": { "declaration": "int", "description": { "kind": "Builtin", "builtin_type": "int" } }, "default_value": "3", "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 52 } }, { "name": "RenderTargetFormat", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUTextureFormat", "description": { "kind": "User", "name": "WGPUTextureFormat" } }, "default_value": "WGPUTextureFormat_Undefined", "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 53 } }, { "name": "DepthStencilFormat", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUTextureFormat", "description": { "kind": "User", "name": "WGPUTextureFormat" } }, "default_value": "WGPUTextureFormat_Undefined", "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 54 } }, { "name": "PipelineMultisampleState", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUMultisampleState", "description": { "kind": "User", "name": "WGPUMultisampleState" } }, "default_value": "{}", "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 55 } } ], "comments": { "preceding": [ "// Initialization data, for ImGui_ImplWGPU_Init()" ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 49 } }, { "name": "ImGui_ImplWGPU_RenderState", "original_fully_qualified_name": "ImGui_ImplWGPU_RenderState", "kind": "struct", "by_value": false, "forward_declaration": false, "is_anonymous": false, "fields": [ { "name": "Device", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUDevice", "description": { "kind": "User", "name": "WGPUDevice" } }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 83 } }, { "name": "RenderPassEncoder", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPURenderPassEncoder", "description": { "kind": "User", "name": "WGPURenderPassEncoder" } }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 84 } } ], "comments": { "preceding": [ "// [BETA] Selected render state data shared with callbacks.", "// This is temporarily stored in GetPlatformIO().Renderer_RenderState during the ImGui_ImplWGPU_RenderDrawData() call.", "// (Please open an issue if you feel you need access to more data)" ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 81 } }, { "name": "ImGui_ImplWGPU_CreateSurfaceInfo", "original_fully_qualified_name": "ImGui_ImplWGPU_CreateSurfaceInfo", "kind": "struct", "by_value": false, "forward_declaration": false, "is_anonymous": false, "fields": [ { "name": "Instance", "is_array": false, "is_anonymous": false, "type": { "declaration": "WGPUInstance", "description": { "kind": "User", "name": "WGPUInstance" } }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 111 } }, { "name": "System", "is_array": false, "is_anonymous": false, "type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "comments": { "attached": "// \"cocoa\" | \"wayland\" | \"x11\" | \"win32\"" }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 112 } }, { "name": "RawWindow", "is_array": false, "is_anonymous": false, "type": { "declaration": "void*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "void" } } }, "comments": { "attached": "// NSWindow* | 0 | Window | HWND" }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 113 } }, { "name": "RawDisplay", "is_array": false, "is_anonymous": false, "type": { "declaration": "void*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "void" } } }, "comments": { "attached": "// 0 | wl_display* | Display* | 0" }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 114 } }, { "name": "RawSurface", "is_array": false, "is_anonymous": false, "type": { "declaration": "void*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "void" } } }, "comments": { "attached": "// | wl_surface* | 0 | 0" }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 115 } }, { "name": "RawInstance", "is_array": false, "is_anonymous": false, "type": { "declaration": "void*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "void" } } }, "comments": { "attached": "// 0 | 0 | 0 | HINSTANCE" }, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 116 } } ], "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 109 } } ], "functions": [ { "name": "cImGui_ImplWGPU_Init", "original_fully_qualified_name": "ImGui_ImplWGPU_Init", "return_type": { "declaration": "bool", "description": { "kind": "Builtin", "builtin_type": "bool" } }, "arguments": [ { "name": "init_info", "type": { "declaration": "ImGui_ImplWGPU_InitInfo*", "description": { "kind": "Pointer", "inner_type": { "kind": "User", "name": "ImGui_ImplWGPU_InitInfo" } } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "preceding": [ "// Follow \"Getting Started\" link and check examples/ folder to learn about using backends!" ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 66 } }, { "name": "cImGui_ImplWGPU_Shutdown", "original_fully_qualified_name": "ImGui_ImplWGPU_Shutdown", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 67 } }, { "name": "cImGui_ImplWGPU_NewFrame", "original_fully_qualified_name": "ImGui_ImplWGPU_NewFrame", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 68 } }, { "name": "cImGui_ImplWGPU_RenderDrawData", "original_fully_qualified_name": "ImGui_ImplWGPU_RenderDrawData", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [ { "name": "draw_data", "type": { "declaration": "ImDrawData*", "description": { "kind": "Pointer", "inner_type": { "kind": "User", "name": "ImDrawData" } } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false }, { "name": "pass_encoder", "type": { "declaration": "WGPURenderPassEncoder", "description": { "kind": "User", "name": "WGPURenderPassEncoder" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 69 } }, { "name": "cImGui_ImplWGPU_CreateDeviceObjects", "original_fully_qualified_name": "ImGui_ImplWGPU_CreateDeviceObjects", "return_type": { "declaration": "bool", "description": { "kind": "Builtin", "builtin_type": "bool" } }, "arguments": [], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "preceding": [ "// Use if you want to reset your rendering device without losing Dear ImGui state." ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 72 } }, { "name": "cImGui_ImplWGPU_InvalidateDeviceObjects", "original_fully_qualified_name": "ImGui_ImplWGPU_InvalidateDeviceObjects", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 73 } }, { "name": "cImGui_ImplWGPU_UpdateTexture", "original_fully_qualified_name": "ImGui_ImplWGPU_UpdateTexture", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [ { "name": "tex", "type": { "declaration": "ImTextureData*", "description": { "kind": "Pointer", "inner_type": { "kind": "User", "name": "ImTextureData" } } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "preceding": [ "// (Advanced) Use e.g. if you need to precisely control the timing of texture updates (e.g. for staged rendering), by setting ImDrawData::Textures = nullptr to handle this manually." ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 76 } }, { "name": "cImGui_ImplWGPU_IsSurfaceStatusError", "original_fully_qualified_name": "ImGui_ImplWGPU_IsSurfaceStatusError", "return_type": { "declaration": "bool", "description": { "kind": "Builtin", "builtin_type": "bool" } }, "arguments": [ { "name": "status", "type": { "declaration": "WGPUSurfaceGetCurrentTextureStatus", "description": { "kind": "User", "name": "WGPUSurfaceGetCurrentTextureStatus" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "preceding": [ "// (Optional) Helper to wrap some of the Dawn/WGPU/Emscripten quirks" ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 93 } }, { "name": "cImGui_ImplWGPU_IsSurfaceStatusSubOptimal", "original_fully_qualified_name": "ImGui_ImplWGPU_IsSurfaceStatusSubOptimal", "return_type": { "declaration": "bool", "description": { "kind": "Builtin", "builtin_type": "bool" } }, "arguments": [ { "name": "status", "type": { "declaration": "WGPUSurfaceGetCurrentTextureStatus", "description": { "kind": "User", "name": "WGPUSurfaceGetCurrentTextureStatus" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "attached": "// Return whether the texture is suboptimal and may need to be recreated." }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 94 } }, { "name": "cImGui_ImplWGPU_DebugPrintAdapterInfo", "original_fully_qualified_name": "ImGui_ImplWGPU_DebugPrintAdapterInfo", "return_type": { "declaration": "void", "description": { "kind": "Builtin", "builtin_type": "void" } }, "arguments": [ { "name": "adapter", "type": { "declaration": "WGPUAdapter", "description": { "kind": "User", "name": "WGPUAdapter" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "comments": { "preceding": [ "// (Optional) Helper for debugging/logging" ] }, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 97 } }, { "name": "cImGui_ImplWGPU_GetBackendTypeName", "original_fully_qualified_name": "ImGui_ImplWGPU_GetBackendTypeName", "return_type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "arguments": [ { "name": "type", "type": { "declaration": "WGPUBackendType", "description": { "kind": "User", "name": "WGPUBackendType" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 98 } }, { "name": "cImGui_ImplWGPU_GetAdapterTypeName", "original_fully_qualified_name": "ImGui_ImplWGPU_GetAdapterTypeName", "return_type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "arguments": [ { "name": "type", "type": { "declaration": "WGPUAdapterType", "description": { "kind": "User", "name": "WGPUAdapterType" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 99 } }, { "name": "cImGui_ImplWGPU_GetDeviceLostReasonName", "original_fully_qualified_name": "ImGui_ImplWGPU_GetDeviceLostReasonName", "return_type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "arguments": [ { "name": "type", "type": { "declaration": "WGPUDeviceLostReason", "description": { "kind": "User", "name": "WGPUDeviceLostReason" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "conditionals": [ { "condition": "if", "expression": "defined(IMGUI_IMPL_WEBGPU_BACKEND_DAWN)" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 101 } }, { "name": "cImGui_ImplWGPU_GetErrorTypeName", "original_fully_qualified_name": "ImGui_ImplWGPU_GetErrorTypeName", "return_type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "arguments": [ { "name": "type", "type": { "declaration": "WGPUErrorType", "description": { "kind": "User", "name": "WGPUErrorType" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "conditionals": [ { "condition": "if", "expression": "defined(IMGUI_IMPL_WEBGPU_BACKEND_DAWN)" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 102 } }, { "name": "cImGui_ImplWGPU_GetLogLevelName", "original_fully_qualified_name": "ImGui_ImplWGPU_GetLogLevelName", "return_type": { "declaration": "const char*", "description": { "kind": "Pointer", "inner_type": { "kind": "Builtin", "builtin_type": "char", "storage_classes": [ "const" ] } } }, "arguments": [ { "name": "level", "type": { "declaration": "WGPULogLevel", "description": { "kind": "User", "name": "WGPULogLevel" } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "conditionals": [ { "condition": "ifnot", "expression": "defined(IMGUI_IMPL_WEBGPU_BACKEND_DAWN)" }, { "condition": "if", "expression": "defined(IMGUI_IMPL_WEBGPU_BACKEND_WGPU)" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 104 } }, { "name": "cImGui_ImplWGPU_CreateWGPUSurfaceHelper", "original_fully_qualified_name": "ImGui_ImplWGPU_CreateWGPUSurfaceHelper", "return_type": { "declaration": "WGPUSurface", "description": { "kind": "User", "name": "WGPUSurface" } }, "arguments": [ { "name": "info", "type": { "declaration": "ImGui_ImplWGPU_CreateSurfaceInfo*", "description": { "kind": "Pointer", "inner_type": { "kind": "User", "name": "ImGui_ImplWGPU_CreateSurfaceInfo" } } }, "is_array": false, "is_varargs": false, "is_instance_pointer": false } ], "is_default_argument_helper": false, "is_manual_helper": false, "is_imstr_helper": false, "has_imstr_helper": false, "is_unformatted_helper": false, "is_static": false, "conditionals": [ { "condition": "ifndef", "expression": "__EMSCRIPTEN__" } ], "is_internal": false, "source_location": { "filename": "imgui_impl_wgpu.h", "line": 118 } } ] }