add renderer abstraction
This commit is contained in:
@@ -0,0 +1,412 @@
|
||||
{
|
||||
"defines": [],
|
||||
"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_dx11.h"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structs": [
|
||||
{
|
||||
"name": "ImDrawData",
|
||||
"original_fully_qualified_name": "ImDrawData",
|
||||
"kind": "struct",
|
||||
"by_value": false,
|
||||
"forward_declaration": true,
|
||||
"is_anonymous": false,
|
||||
"fields": [],
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ImGui_ImplDX11_RenderState",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_RenderState",
|
||||
"kind": "struct",
|
||||
"by_value": false,
|
||||
"forward_declaration": false,
|
||||
"is_anonymous": false,
|
||||
"fields": [
|
||||
{
|
||||
"name": "Device",
|
||||
"is_array": false,
|
||||
"is_anonymous": false,
|
||||
"type": {
|
||||
"declaration": "ID3D11Device*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11Device"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 46
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "DeviceContext",
|
||||
"is_array": false,
|
||||
"is_anonymous": false,
|
||||
"type": {
|
||||
"declaration": "ID3D11DeviceContext*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11DeviceContext"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 47
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SamplerLinear",
|
||||
"is_array": false,
|
||||
"is_anonymous": false,
|
||||
"type": {
|
||||
"declaration": "ID3D11SamplerState*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11SamplerState"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 48
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "SamplerNearest",
|
||||
"is_array": false,
|
||||
"is_anonymous": false,
|
||||
"type": {
|
||||
"declaration": "ID3D11SamplerState*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11SamplerState"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 49
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "VertexConstantBuffer",
|
||||
"is_array": false,
|
||||
"is_anonymous": false,
|
||||
"type": {
|
||||
"declaration": "ID3D11Buffer*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11Buffer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 50
|
||||
}
|
||||
}
|
||||
],
|
||||
"comments": {
|
||||
"preceding": [
|
||||
"// [BETA] Selected render state data shared with callbacks.",
|
||||
"// This is temporarily stored in GetPlatformIO().Renderer_RenderState during the ImGui_ImplDX11_RenderDrawData() call.",
|
||||
"// (Please open an issue if you feel you need access to more data)"
|
||||
]
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_dx11.h",
|
||||
"line": 44
|
||||
}
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"name": "cImGui_ImplDX11_Init",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_Init",
|
||||
"return_type": {
|
||||
"declaration": "bool",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "bool"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "device",
|
||||
"type": {
|
||||
"declaration": "ID3D11Device*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11Device"
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "device_context",
|
||||
"type": {
|
||||
"declaration": "ID3D11DeviceContext*",
|
||||
"description": {
|
||||
"kind": "Pointer",
|
||||
"inner_type": {
|
||||
"kind": "User",
|
||||
"name": "ID3D11DeviceContext"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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_dx11.h",
|
||||
"line": 29
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_Shutdown",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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_dx11.h",
|
||||
"line": 30
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_NewFrame",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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_dx11.h",
|
||||
"line": 31
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_RenderDrawData",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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
|
||||
}
|
||||
],
|
||||
"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_dx11.h",
|
||||
"line": 32
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_CreateDeviceObjects",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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_dx11.h",
|
||||
"line": 35
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_InvalidateDeviceObjects",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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_dx11.h",
|
||||
"line": 36
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplDX11_UpdateTexture",
|
||||
"original_fully_qualified_name": "ImGui_ImplDX11_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_dx11.h",
|
||||
"line": 39
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user