add renderer abstraction
This commit is contained in:
@@ -0,0 +1,677 @@
|
||||
{
|
||||
"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_glut.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_glut.h",
|
||||
"line": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"functions": [
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_Init",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_Init",
|
||||
"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": [
|
||||
"// Follow \"Getting Started\" link and check examples/ folder to learn about using backends!"
|
||||
]
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 31
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_InstallFuncs",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_InstallFuncs",
|
||||
"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_glut.h",
|
||||
"line": 32
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_Shutdown",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_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_glut.h",
|
||||
"line": 33
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_NewFrame",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_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_glut.h",
|
||||
"line": 34
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_ReshapeFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_ReshapeFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "w",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "h",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": [
|
||||
"// You can call ImGui_ImplGLUT_InstallFuncs() to get all those functions installed automatically,",
|
||||
"// or call them yourself from your own GLUT handlers. We are using the same weird names as GLUT for consistency..",
|
||||
"//------------------------------------ GLUT name ---------------------------------------------- Decent Name ---------"
|
||||
],
|
||||
"attached": "// ~ ResizeFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 39
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_MotionFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_MotionFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ MouseMoveFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 40
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_MouseFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_MouseFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "button",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "state",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ MouseButtonFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 41
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_MouseWheelFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_MouseWheelFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "button",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "dir",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ MouseWheelFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 42
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_KeyboardFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_KeyboardFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "c",
|
||||
"type": {
|
||||
"declaration": "unsigned char",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "unsigned_char"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ CharPressedFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 43
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_KeyboardUpFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_KeyboardUpFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "c",
|
||||
"type": {
|
||||
"declaration": "unsigned char",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "unsigned_char"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ CharReleasedFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 44
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_SpecialFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_SpecialFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ KeyPressedFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 45
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cImGui_ImplGLUT_SpecialUpFunc",
|
||||
"original_fully_qualified_name": "ImGui_ImplGLUT_SpecialUpFunc",
|
||||
"return_type": {
|
||||
"declaration": "void",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "void"
|
||||
}
|
||||
},
|
||||
"arguments": [
|
||||
{
|
||||
"name": "key",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "x",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"is_array": false,
|
||||
"is_varargs": false,
|
||||
"is_instance_pointer": false
|
||||
},
|
||||
{
|
||||
"name": "y",
|
||||
"type": {
|
||||
"declaration": "int",
|
||||
"description": {
|
||||
"kind": "Builtin",
|
||||
"builtin_type": "int"
|
||||
}
|
||||
},
|
||||
"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": "// ~ KeyReleasedFunc"
|
||||
},
|
||||
"is_internal": false,
|
||||
"source_location": {
|
||||
"filename": "imgui_impl_glut.h",
|
||||
"line": 46
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user