Skip to content

Instantly share code, notes, and snippets.

@floooh
Created November 7, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floooh/d1beb0021c062019337ee274aba6ce09 to your computer and use it in GitHub Desktop.
Save floooh/d1beb0021c062019337ee274aba6ce09 to your computer and use it in GitHub Desktop.
sokol_gfx.h auto-generated API JSON
{
"module": "gfx",
"prefix": "sg_",
"dep_prefixes": [],
"decls": [
{
"kind": "struct",
"name": "sg_buffer",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_image",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_sampler",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pipeline",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pass",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_context",
"fields": [
{
"name": "id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_range",
"fields": [
{
"name": "ptr",
"type": "const void *"
},
{
"name": "size",
"type": "size_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "consts",
"items": [
{
"name": "SG_INVALID_ID",
"value": "0"
},
{
"name": "SG_NUM_SHADER_STAGES",
"value": "2"
},
{
"name": "SG_NUM_INFLIGHT_FRAMES",
"value": "2"
},
{
"name": "SG_MAX_COLOR_ATTACHMENTS",
"value": "4"
},
{
"name": "SG_MAX_VERTEX_BUFFERS",
"value": "8"
},
{
"name": "SG_MAX_SHADERSTAGE_IMAGES",
"value": "12"
},
{
"name": "SG_MAX_SHADERSTAGE_SAMPLERS",
"value": "8"
},
{
"name": "SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS",
"value": "12"
},
{
"name": "SG_MAX_SHADERSTAGE_UBS",
"value": "4"
},
{
"name": "SG_MAX_UB_MEMBERS",
"value": "16"
},
{
"name": "SG_MAX_VERTEX_ATTRIBUTES",
"value": "16"
},
{
"name": "SG_MAX_MIPMAPS",
"value": "16"
},
{
"name": "SG_MAX_TEXTUREARRAY_LAYERS",
"value": "128"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_color",
"fields": [
{
"name": "r",
"type": "float"
},
{
"name": "g",
"type": "float"
},
{
"name": "b",
"type": "float"
},
{
"name": "a",
"type": "float"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_backend",
"items": [
{
"name": "SG_BACKEND_GLCORE33"
},
{
"name": "SG_BACKEND_GLES3"
},
{
"name": "SG_BACKEND_D3D11"
},
{
"name": "SG_BACKEND_METAL_IOS"
},
{
"name": "SG_BACKEND_METAL_MACOS"
},
{
"name": "SG_BACKEND_METAL_SIMULATOR"
},
{
"name": "SG_BACKEND_WGPU"
},
{
"name": "SG_BACKEND_DUMMY"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_pixel_format",
"items": [
{
"name": "_SG_PIXELFORMAT_DEFAULT"
},
{
"name": "SG_PIXELFORMAT_NONE"
},
{
"name": "SG_PIXELFORMAT_R8"
},
{
"name": "SG_PIXELFORMAT_R8SN"
},
{
"name": "SG_PIXELFORMAT_R8UI"
},
{
"name": "SG_PIXELFORMAT_R8SI"
},
{
"name": "SG_PIXELFORMAT_R16"
},
{
"name": "SG_PIXELFORMAT_R16SN"
},
{
"name": "SG_PIXELFORMAT_R16UI"
},
{
"name": "SG_PIXELFORMAT_R16SI"
},
{
"name": "SG_PIXELFORMAT_R16F"
},
{
"name": "SG_PIXELFORMAT_RG8"
},
{
"name": "SG_PIXELFORMAT_RG8SN"
},
{
"name": "SG_PIXELFORMAT_RG8UI"
},
{
"name": "SG_PIXELFORMAT_RG8SI"
},
{
"name": "SG_PIXELFORMAT_R32UI"
},
{
"name": "SG_PIXELFORMAT_R32SI"
},
{
"name": "SG_PIXELFORMAT_R32F"
},
{
"name": "SG_PIXELFORMAT_RG16"
},
{
"name": "SG_PIXELFORMAT_RG16SN"
},
{
"name": "SG_PIXELFORMAT_RG16UI"
},
{
"name": "SG_PIXELFORMAT_RG16SI"
},
{
"name": "SG_PIXELFORMAT_RG16F"
},
{
"name": "SG_PIXELFORMAT_RGBA8"
},
{
"name": "SG_PIXELFORMAT_SRGB8A8"
},
{
"name": "SG_PIXELFORMAT_RGBA8SN"
},
{
"name": "SG_PIXELFORMAT_RGBA8UI"
},
{
"name": "SG_PIXELFORMAT_RGBA8SI"
},
{
"name": "SG_PIXELFORMAT_BGRA8"
},
{
"name": "SG_PIXELFORMAT_RGB10A2"
},
{
"name": "SG_PIXELFORMAT_RG11B10F"
},
{
"name": "SG_PIXELFORMAT_RG32UI"
},
{
"name": "SG_PIXELFORMAT_RG32SI"
},
{
"name": "SG_PIXELFORMAT_RG32F"
},
{
"name": "SG_PIXELFORMAT_RGBA16"
},
{
"name": "SG_PIXELFORMAT_RGBA16SN"
},
{
"name": "SG_PIXELFORMAT_RGBA16UI"
},
{
"name": "SG_PIXELFORMAT_RGBA16SI"
},
{
"name": "SG_PIXELFORMAT_RGBA16F"
},
{
"name": "SG_PIXELFORMAT_RGBA32UI"
},
{
"name": "SG_PIXELFORMAT_RGBA32SI"
},
{
"name": "SG_PIXELFORMAT_RGBA32F"
},
{
"name": "SG_PIXELFORMAT_DEPTH"
},
{
"name": "SG_PIXELFORMAT_DEPTH_STENCIL"
},
{
"name": "SG_PIXELFORMAT_BC1_RGBA"
},
{
"name": "SG_PIXELFORMAT_BC2_RGBA"
},
{
"name": "SG_PIXELFORMAT_BC3_RGBA"
},
{
"name": "SG_PIXELFORMAT_BC4_R"
},
{
"name": "SG_PIXELFORMAT_BC4_RSN"
},
{
"name": "SG_PIXELFORMAT_BC5_RG"
},
{
"name": "SG_PIXELFORMAT_BC5_RGSN"
},
{
"name": "SG_PIXELFORMAT_BC6H_RGBF"
},
{
"name": "SG_PIXELFORMAT_BC6H_RGBUF"
},
{
"name": "SG_PIXELFORMAT_BC7_RGBA"
},
{
"name": "SG_PIXELFORMAT_PVRTC_RGB_2BPP"
},
{
"name": "SG_PIXELFORMAT_PVRTC_RGB_4BPP"
},
{
"name": "SG_PIXELFORMAT_PVRTC_RGBA_2BPP"
},
{
"name": "SG_PIXELFORMAT_PVRTC_RGBA_4BPP"
},
{
"name": "SG_PIXELFORMAT_ETC2_RGB8"
},
{
"name": "SG_PIXELFORMAT_ETC2_RGB8A1"
},
{
"name": "SG_PIXELFORMAT_ETC2_RGBA8"
},
{
"name": "SG_PIXELFORMAT_ETC2_RG11"
},
{
"name": "SG_PIXELFORMAT_ETC2_RG11SN"
},
{
"name": "SG_PIXELFORMAT_RGB9E5"
},
{
"name": "_SG_PIXELFORMAT_NUM"
},
{
"name": "_SG_PIXELFORMAT_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pixelformat_info",
"fields": [
{
"name": "sample",
"type": "bool"
},
{
"name": "filter",
"type": "bool"
},
{
"name": "render",
"type": "bool"
},
{
"name": "blend",
"type": "bool"
},
{
"name": "msaa",
"type": "bool"
},
{
"name": "depth",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_features",
"fields": [
{
"name": "origin_top_left",
"type": "bool"
},
{
"name": "image_clamp_to_border",
"type": "bool"
},
{
"name": "mrt_independent_blend_state",
"type": "bool"
},
{
"name": "mrt_independent_write_mask",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_limits",
"fields": [
{
"name": "max_image_size_2d",
"type": "int"
},
{
"name": "max_image_size_cube",
"type": "int"
},
{
"name": "max_image_size_3d",
"type": "int"
},
{
"name": "max_image_size_array",
"type": "int"
},
{
"name": "max_image_array_layers",
"type": "int"
},
{
"name": "max_vertex_attrs",
"type": "int"
},
{
"name": "gl_max_vertex_uniform_vectors",
"type": "int"
},
{
"name": "gl_max_combined_texture_image_units",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_resource_state",
"items": [
{
"name": "SG_RESOURCESTATE_INITIAL"
},
{
"name": "SG_RESOURCESTATE_ALLOC"
},
{
"name": "SG_RESOURCESTATE_VALID"
},
{
"name": "SG_RESOURCESTATE_FAILED"
},
{
"name": "SG_RESOURCESTATE_INVALID"
},
{
"name": "_SG_RESOURCESTATE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_usage",
"items": [
{
"name": "_SG_USAGE_DEFAULT"
},
{
"name": "SG_USAGE_IMMUTABLE"
},
{
"name": "SG_USAGE_DYNAMIC"
},
{
"name": "SG_USAGE_STREAM"
},
{
"name": "_SG_USAGE_NUM"
},
{
"name": "_SG_USAGE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_buffer_type",
"items": [
{
"name": "_SG_BUFFERTYPE_DEFAULT"
},
{
"name": "SG_BUFFERTYPE_VERTEXBUFFER"
},
{
"name": "SG_BUFFERTYPE_INDEXBUFFER"
},
{
"name": "_SG_BUFFERTYPE_NUM"
},
{
"name": "_SG_BUFFERTYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_index_type",
"items": [
{
"name": "_SG_INDEXTYPE_DEFAULT"
},
{
"name": "SG_INDEXTYPE_NONE"
},
{
"name": "SG_INDEXTYPE_UINT16"
},
{
"name": "SG_INDEXTYPE_UINT32"
},
{
"name": "_SG_INDEXTYPE_NUM"
},
{
"name": "_SG_INDEXTYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_image_type",
"items": [
{
"name": "_SG_IMAGETYPE_DEFAULT"
},
{
"name": "SG_IMAGETYPE_2D"
},
{
"name": "SG_IMAGETYPE_CUBE"
},
{
"name": "SG_IMAGETYPE_3D"
},
{
"name": "SG_IMAGETYPE_ARRAY"
},
{
"name": "_SG_IMAGETYPE_NUM"
},
{
"name": "_SG_IMAGETYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_image_sample_type",
"items": [
{
"name": "_SG_IMAGESAMPLETYPE_DEFAULT"
},
{
"name": "SG_IMAGESAMPLETYPE_FLOAT"
},
{
"name": "SG_IMAGESAMPLETYPE_DEPTH"
},
{
"name": "SG_IMAGESAMPLETYPE_SINT"
},
{
"name": "SG_IMAGESAMPLETYPE_UINT"
},
{
"name": "SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT"
},
{
"name": "_SG_IMAGESAMPLETYPE_NUM"
},
{
"name": "_SG_IMAGESAMPLETYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_sampler_type",
"items": [
{
"name": "_SG_SAMPLERTYPE_DEFAULT"
},
{
"name": "SG_SAMPLERTYPE_FILTERING"
},
{
"name": "SG_SAMPLERTYPE_NONFILTERING"
},
{
"name": "SG_SAMPLERTYPE_COMPARISON"
},
{
"name": "_SG_SAMPLERTYPE_NUM"
},
{
"name": "_SG_SAMPLERTYPE_FORCE_U32"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_cube_face",
"items": [
{
"name": "SG_CUBEFACE_POS_X"
},
{
"name": "SG_CUBEFACE_NEG_X"
},
{
"name": "SG_CUBEFACE_POS_Y"
},
{
"name": "SG_CUBEFACE_NEG_Y"
},
{
"name": "SG_CUBEFACE_POS_Z"
},
{
"name": "SG_CUBEFACE_NEG_Z"
},
{
"name": "SG_CUBEFACE_NUM"
},
{
"name": "_SG_CUBEFACE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_shader_stage",
"items": [
{
"name": "SG_SHADERSTAGE_VS"
},
{
"name": "SG_SHADERSTAGE_FS"
},
{
"name": "_SG_SHADERSTAGE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_primitive_type",
"items": [
{
"name": "_SG_PRIMITIVETYPE_DEFAULT"
},
{
"name": "SG_PRIMITIVETYPE_POINTS"
},
{
"name": "SG_PRIMITIVETYPE_LINES"
},
{
"name": "SG_PRIMITIVETYPE_LINE_STRIP"
},
{
"name": "SG_PRIMITIVETYPE_TRIANGLES"
},
{
"name": "SG_PRIMITIVETYPE_TRIANGLE_STRIP"
},
{
"name": "_SG_PRIMITIVETYPE_NUM"
},
{
"name": "_SG_PRIMITIVETYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_filter",
"items": [
{
"name": "_SG_FILTER_DEFAULT"
},
{
"name": "SG_FILTER_NONE"
},
{
"name": "SG_FILTER_NEAREST"
},
{
"name": "SG_FILTER_LINEAR"
},
{
"name": "_SG_FILTER_NUM"
},
{
"name": "_SG_FILTER_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_wrap",
"items": [
{
"name": "_SG_WRAP_DEFAULT"
},
{
"name": "SG_WRAP_REPEAT"
},
{
"name": "SG_WRAP_CLAMP_TO_EDGE"
},
{
"name": "SG_WRAP_CLAMP_TO_BORDER"
},
{
"name": "SG_WRAP_MIRRORED_REPEAT"
},
{
"name": "_SG_WRAP_NUM"
},
{
"name": "_SG_WRAP_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_border_color",
"items": [
{
"name": "_SG_BORDERCOLOR_DEFAULT"
},
{
"name": "SG_BORDERCOLOR_TRANSPARENT_BLACK"
},
{
"name": "SG_BORDERCOLOR_OPAQUE_BLACK"
},
{
"name": "SG_BORDERCOLOR_OPAQUE_WHITE"
},
{
"name": "_SG_BORDERCOLOR_NUM"
},
{
"name": "_SG_BORDERCOLOR_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_vertex_format",
"items": [
{
"name": "SG_VERTEXFORMAT_INVALID"
},
{
"name": "SG_VERTEXFORMAT_FLOAT"
},
{
"name": "SG_VERTEXFORMAT_FLOAT2"
},
{
"name": "SG_VERTEXFORMAT_FLOAT3"
},
{
"name": "SG_VERTEXFORMAT_FLOAT4"
},
{
"name": "SG_VERTEXFORMAT_BYTE4"
},
{
"name": "SG_VERTEXFORMAT_BYTE4N"
},
{
"name": "SG_VERTEXFORMAT_UBYTE4"
},
{
"name": "SG_VERTEXFORMAT_UBYTE4N"
},
{
"name": "SG_VERTEXFORMAT_SHORT2"
},
{
"name": "SG_VERTEXFORMAT_SHORT2N"
},
{
"name": "SG_VERTEXFORMAT_USHORT2N"
},
{
"name": "SG_VERTEXFORMAT_SHORT4"
},
{
"name": "SG_VERTEXFORMAT_SHORT4N"
},
{
"name": "SG_VERTEXFORMAT_USHORT4N"
},
{
"name": "SG_VERTEXFORMAT_UINT10_N2"
},
{
"name": "SG_VERTEXFORMAT_HALF2"
},
{
"name": "SG_VERTEXFORMAT_HALF4"
},
{
"name": "_SG_VERTEXFORMAT_NUM"
},
{
"name": "_SG_VERTEXFORMAT_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_vertex_step",
"items": [
{
"name": "_SG_VERTEXSTEP_DEFAULT"
},
{
"name": "SG_VERTEXSTEP_PER_VERTEX"
},
{
"name": "SG_VERTEXSTEP_PER_INSTANCE"
},
{
"name": "_SG_VERTEXSTEP_NUM"
},
{
"name": "_SG_VERTEXSTEP_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_uniform_type",
"items": [
{
"name": "SG_UNIFORMTYPE_INVALID"
},
{
"name": "SG_UNIFORMTYPE_FLOAT"
},
{
"name": "SG_UNIFORMTYPE_FLOAT2"
},
{
"name": "SG_UNIFORMTYPE_FLOAT3"
},
{
"name": "SG_UNIFORMTYPE_FLOAT4"
},
{
"name": "SG_UNIFORMTYPE_INT"
},
{
"name": "SG_UNIFORMTYPE_INT2"
},
{
"name": "SG_UNIFORMTYPE_INT3"
},
{
"name": "SG_UNIFORMTYPE_INT4"
},
{
"name": "SG_UNIFORMTYPE_MAT4"
},
{
"name": "_SG_UNIFORMTYPE_NUM"
},
{
"name": "_SG_UNIFORMTYPE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_uniform_layout",
"items": [
{
"name": "_SG_UNIFORMLAYOUT_DEFAULT"
},
{
"name": "SG_UNIFORMLAYOUT_NATIVE"
},
{
"name": "SG_UNIFORMLAYOUT_STD140"
},
{
"name": "_SG_UNIFORMLAYOUT_NUM"
},
{
"name": "_SG_UNIFORMLAYOUT_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_cull_mode",
"items": [
{
"name": "_SG_CULLMODE_DEFAULT"
},
{
"name": "SG_CULLMODE_NONE"
},
{
"name": "SG_CULLMODE_FRONT"
},
{
"name": "SG_CULLMODE_BACK"
},
{
"name": "_SG_CULLMODE_NUM"
},
{
"name": "_SG_CULLMODE_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_face_winding",
"items": [
{
"name": "_SG_FACEWINDING_DEFAULT"
},
{
"name": "SG_FACEWINDING_CCW"
},
{
"name": "SG_FACEWINDING_CW"
},
{
"name": "_SG_FACEWINDING_NUM"
},
{
"name": "_SG_FACEWINDING_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_compare_func",
"items": [
{
"name": "_SG_COMPAREFUNC_DEFAULT"
},
{
"name": "SG_COMPAREFUNC_NEVER"
},
{
"name": "SG_COMPAREFUNC_LESS"
},
{
"name": "SG_COMPAREFUNC_EQUAL"
},
{
"name": "SG_COMPAREFUNC_LESS_EQUAL"
},
{
"name": "SG_COMPAREFUNC_GREATER"
},
{
"name": "SG_COMPAREFUNC_NOT_EQUAL"
},
{
"name": "SG_COMPAREFUNC_GREATER_EQUAL"
},
{
"name": "SG_COMPAREFUNC_ALWAYS"
},
{
"name": "_SG_COMPAREFUNC_NUM"
},
{
"name": "_SG_COMPAREFUNC_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_stencil_op",
"items": [
{
"name": "_SG_STENCILOP_DEFAULT"
},
{
"name": "SG_STENCILOP_KEEP"
},
{
"name": "SG_STENCILOP_ZERO"
},
{
"name": "SG_STENCILOP_REPLACE"
},
{
"name": "SG_STENCILOP_INCR_CLAMP"
},
{
"name": "SG_STENCILOP_DECR_CLAMP"
},
{
"name": "SG_STENCILOP_INVERT"
},
{
"name": "SG_STENCILOP_INCR_WRAP"
},
{
"name": "SG_STENCILOP_DECR_WRAP"
},
{
"name": "_SG_STENCILOP_NUM"
},
{
"name": "_SG_STENCILOP_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_blend_factor",
"items": [
{
"name": "_SG_BLENDFACTOR_DEFAULT"
},
{
"name": "SG_BLENDFACTOR_ZERO"
},
{
"name": "SG_BLENDFACTOR_ONE"
},
{
"name": "SG_BLENDFACTOR_SRC_COLOR"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_SRC_COLOR"
},
{
"name": "SG_BLENDFACTOR_SRC_ALPHA"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA"
},
{
"name": "SG_BLENDFACTOR_DST_COLOR"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_DST_COLOR"
},
{
"name": "SG_BLENDFACTOR_DST_ALPHA"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_DST_ALPHA"
},
{
"name": "SG_BLENDFACTOR_SRC_ALPHA_SATURATED"
},
{
"name": "SG_BLENDFACTOR_BLEND_COLOR"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_BLEND_COLOR"
},
{
"name": "SG_BLENDFACTOR_BLEND_ALPHA"
},
{
"name": "SG_BLENDFACTOR_ONE_MINUS_BLEND_ALPHA"
},
{
"name": "_SG_BLENDFACTOR_NUM"
},
{
"name": "_SG_BLENDFACTOR_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_blend_op",
"items": [
{
"name": "_SG_BLENDOP_DEFAULT"
},
{
"name": "SG_BLENDOP_ADD"
},
{
"name": "SG_BLENDOP_SUBTRACT"
},
{
"name": "SG_BLENDOP_REVERSE_SUBTRACT"
},
{
"name": "_SG_BLENDOP_NUM"
},
{
"name": "_SG_BLENDOP_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_color_mask",
"items": [
{
"name": "_SG_COLORMASK_DEFAULT",
"value": "0"
},
{
"name": "SG_COLORMASK_NONE",
"value": "16"
},
{
"name": "SG_COLORMASK_R",
"value": "1"
},
{
"name": "SG_COLORMASK_G",
"value": "2"
},
{
"name": "SG_COLORMASK_RG",
"value": "3"
},
{
"name": "SG_COLORMASK_B",
"value": "4"
},
{
"name": "SG_COLORMASK_RB",
"value": "5"
},
{
"name": "SG_COLORMASK_GB",
"value": "6"
},
{
"name": "SG_COLORMASK_RGB",
"value": "7"
},
{
"name": "SG_COLORMASK_A",
"value": "8"
},
{
"name": "SG_COLORMASK_RA",
"value": "9"
},
{
"name": "SG_COLORMASK_GA",
"value": "10"
},
{
"name": "SG_COLORMASK_RGA",
"value": "11"
},
{
"name": "SG_COLORMASK_BA",
"value": "12"
},
{
"name": "SG_COLORMASK_RBA",
"value": "13"
},
{
"name": "SG_COLORMASK_GBA",
"value": "14"
},
{
"name": "SG_COLORMASK_RGBA",
"value": "15"
},
{
"name": "_SG_COLORMASK_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_load_action",
"items": [
{
"name": "_SG_LOADACTION_DEFAULT"
},
{
"name": "SG_LOADACTION_CLEAR"
},
{
"name": "SG_LOADACTION_LOAD"
},
{
"name": "SG_LOADACTION_DONTCARE"
},
{
"name": "_SG_LOADACTION_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_store_action",
"items": [
{
"name": "_SG_STOREACTION_DEFAULT"
},
{
"name": "SG_STOREACTION_STORE"
},
{
"name": "SG_STOREACTION_DONTCARE"
},
{
"name": "_SG_STOREACTION_FORCE_U32",
"value": "2147483647"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_color_attachment_action",
"fields": [
{
"name": "load_action",
"type": "sg_load_action"
},
{
"name": "store_action",
"type": "sg_store_action"
},
{
"name": "clear_value",
"type": "sg_color"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_depth_attachment_action",
"fields": [
{
"name": "load_action",
"type": "sg_load_action"
},
{
"name": "store_action",
"type": "sg_store_action"
},
{
"name": "clear_value",
"type": "float"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_stencil_attachment_action",
"fields": [
{
"name": "load_action",
"type": "sg_load_action"
},
{
"name": "store_action",
"type": "sg_store_action"
},
{
"name": "clear_value",
"type": "uint8_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pass_action",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "colors",
"type": "sg_color_attachment_action[4]"
},
{
"name": "depth",
"type": "sg_depth_attachment_action"
},
{
"name": "stencil",
"type": "sg_stencil_attachment_action"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_stage_bindings",
"fields": [
{
"name": "images",
"type": "sg_image[12]"
},
{
"name": "samplers",
"type": "sg_sampler[8]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_bindings",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "vertex_buffers",
"type": "sg_buffer[8]"
},
{
"name": "vertex_buffer_offsets",
"type": "int[8]"
},
{
"name": "index_buffer",
"type": "sg_buffer"
},
{
"name": "index_buffer_offset",
"type": "int"
},
{
"name": "vs",
"type": "sg_stage_bindings"
},
{
"name": "fs",
"type": "sg_stage_bindings"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_buffer_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "size",
"type": "size_t"
},
{
"name": "type",
"type": "sg_buffer_type"
},
{
"name": "usage",
"type": "sg_usage"
},
{
"name": "data",
"type": "sg_range"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "gl_buffers",
"type": "uint32_t[2]"
},
{
"name": "mtl_buffers",
"type": "const void *[2]"
},
{
"name": "d3d11_buffer",
"type": "const void *"
},
{
"name": "wgpu_buffer",
"type": "const void *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_image_data",
"fields": [
{
"name": "subimage",
"type": "sg_range[6][16]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_image_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "type",
"type": "sg_image_type"
},
{
"name": "render_target",
"type": "bool"
},
{
"name": "width",
"type": "int"
},
{
"name": "height",
"type": "int"
},
{
"name": "num_slices",
"type": "int"
},
{
"name": "num_mipmaps",
"type": "int"
},
{
"name": "usage",
"type": "sg_usage"
},
{
"name": "pixel_format",
"type": "sg_pixel_format"
},
{
"name": "sample_count",
"type": "int"
},
{
"name": "data",
"type": "sg_image_data"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "gl_textures",
"type": "uint32_t[2]"
},
{
"name": "gl_texture_target",
"type": "uint32_t"
},
{
"name": "mtl_textures",
"type": "const void *[2]"
},
{
"name": "d3d11_texture",
"type": "const void *"
},
{
"name": "d3d11_shader_resource_view",
"type": "const void *"
},
{
"name": "wgpu_texture",
"type": "const void *"
},
{
"name": "wgpu_texture_view",
"type": "const void *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_sampler_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "min_filter",
"type": "sg_filter"
},
{
"name": "mag_filter",
"type": "sg_filter"
},
{
"name": "mipmap_filter",
"type": "sg_filter"
},
{
"name": "wrap_u",
"type": "sg_wrap"
},
{
"name": "wrap_v",
"type": "sg_wrap"
},
{
"name": "wrap_w",
"type": "sg_wrap"
},
{
"name": "min_lod",
"type": "float"
},
{
"name": "max_lod",
"type": "float"
},
{
"name": "border_color",
"type": "sg_border_color"
},
{
"name": "compare",
"type": "sg_compare_func"
},
{
"name": "max_anisotropy",
"type": "uint32_t"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "gl_sampler",
"type": "uint32_t"
},
{
"name": "mtl_sampler",
"type": "const void *"
},
{
"name": "d3d11_sampler",
"type": "const void *"
},
{
"name": "wgpu_sampler",
"type": "const void *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_attr_desc",
"fields": [
{
"name": "name",
"type": "const char *"
},
{
"name": "sem_name",
"type": "const char *"
},
{
"name": "sem_index",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_uniform_desc",
"fields": [
{
"name": "name",
"type": "const char *"
},
{
"name": "type",
"type": "sg_uniform_type"
},
{
"name": "array_count",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_uniform_block_desc",
"fields": [
{
"name": "size",
"type": "size_t"
},
{
"name": "layout",
"type": "sg_uniform_layout"
},
{
"name": "uniforms",
"type": "sg_shader_uniform_desc[16]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_image_desc",
"fields": [
{
"name": "used",
"type": "bool"
},
{
"name": "multisampled",
"type": "bool"
},
{
"name": "image_type",
"type": "sg_image_type"
},
{
"name": "sample_type",
"type": "sg_image_sample_type"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_sampler_desc",
"fields": [
{
"name": "used",
"type": "bool"
},
{
"name": "sampler_type",
"type": "sg_sampler_type"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_image_sampler_pair_desc",
"fields": [
{
"name": "used",
"type": "bool"
},
{
"name": "image_slot",
"type": "int"
},
{
"name": "sampler_slot",
"type": "int"
},
{
"name": "glsl_name",
"type": "const char *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_stage_desc",
"fields": [
{
"name": "source",
"type": "const char *"
},
{
"name": "bytecode",
"type": "sg_range"
},
{
"name": "entry",
"type": "const char *"
},
{
"name": "d3d11_target",
"type": "const char *"
},
{
"name": "uniform_blocks",
"type": "sg_shader_uniform_block_desc[4]"
},
{
"name": "images",
"type": "sg_shader_image_desc[12]"
},
{
"name": "samplers",
"type": "sg_shader_sampler_desc[8]"
},
{
"name": "image_sampler_pairs",
"type": "sg_shader_image_sampler_pair_desc[12]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "attrs",
"type": "sg_shader_attr_desc[16]"
},
{
"name": "vs",
"type": "sg_shader_stage_desc"
},
{
"name": "fs",
"type": "sg_shader_stage_desc"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_vertex_buffer_layout_state",
"fields": [
{
"name": "stride",
"type": "int"
},
{
"name": "step_func",
"type": "sg_vertex_step"
},
{
"name": "step_rate",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_vertex_attr_state",
"fields": [
{
"name": "buffer_index",
"type": "int"
},
{
"name": "offset",
"type": "int"
},
{
"name": "format",
"type": "sg_vertex_format"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_vertex_layout_state",
"fields": [
{
"name": "buffers",
"type": "sg_vertex_buffer_layout_state[8]"
},
{
"name": "attrs",
"type": "sg_vertex_attr_state[16]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_stencil_face_state",
"fields": [
{
"name": "compare",
"type": "sg_compare_func"
},
{
"name": "fail_op",
"type": "sg_stencil_op"
},
{
"name": "depth_fail_op",
"type": "sg_stencil_op"
},
{
"name": "pass_op",
"type": "sg_stencil_op"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_stencil_state",
"fields": [
{
"name": "enabled",
"type": "bool"
},
{
"name": "front",
"type": "sg_stencil_face_state"
},
{
"name": "back",
"type": "sg_stencil_face_state"
},
{
"name": "read_mask",
"type": "uint8_t"
},
{
"name": "write_mask",
"type": "uint8_t"
},
{
"name": "ref",
"type": "uint8_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_depth_state",
"fields": [
{
"name": "pixel_format",
"type": "sg_pixel_format"
},
{
"name": "compare",
"type": "sg_compare_func"
},
{
"name": "write_enabled",
"type": "bool"
},
{
"name": "bias",
"type": "float"
},
{
"name": "bias_slope_scale",
"type": "float"
},
{
"name": "bias_clamp",
"type": "float"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_blend_state",
"fields": [
{
"name": "enabled",
"type": "bool"
},
{
"name": "src_factor_rgb",
"type": "sg_blend_factor"
},
{
"name": "dst_factor_rgb",
"type": "sg_blend_factor"
},
{
"name": "op_rgb",
"type": "sg_blend_op"
},
{
"name": "src_factor_alpha",
"type": "sg_blend_factor"
},
{
"name": "dst_factor_alpha",
"type": "sg_blend_factor"
},
{
"name": "op_alpha",
"type": "sg_blend_op"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_color_target_state",
"fields": [
{
"name": "pixel_format",
"type": "sg_pixel_format"
},
{
"name": "write_mask",
"type": "sg_color_mask"
},
{
"name": "blend",
"type": "sg_blend_state"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pipeline_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "shader",
"type": "sg_shader"
},
{
"name": "layout",
"type": "sg_vertex_layout_state"
},
{
"name": "depth",
"type": "sg_depth_state"
},
{
"name": "stencil",
"type": "sg_stencil_state"
},
{
"name": "color_count",
"type": "int"
},
{
"name": "colors",
"type": "sg_color_target_state[4]"
},
{
"name": "primitive_type",
"type": "sg_primitive_type"
},
{
"name": "index_type",
"type": "sg_index_type"
},
{
"name": "cull_mode",
"type": "sg_cull_mode"
},
{
"name": "face_winding",
"type": "sg_face_winding"
},
{
"name": "sample_count",
"type": "int"
},
{
"name": "blend_color",
"type": "sg_color"
},
{
"name": "alpha_to_coverage_enabled",
"type": "bool"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pass_attachment_desc",
"fields": [
{
"name": "image",
"type": "sg_image"
},
{
"name": "mip_level",
"type": "int"
},
{
"name": "slice",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pass_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "color_attachments",
"type": "sg_pass_attachment_desc[4]"
},
{
"name": "resolve_attachments",
"type": "sg_pass_attachment_desc[4]"
},
{
"name": "depth_stencil_attachment",
"type": "sg_pass_attachment_desc"
},
{
"name": "label",
"type": "const char *"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_trace_hooks",
"fields": [
{
"name": "user_data",
"type": "void *"
},
{
"name": "reset_state_cache",
"type": "void (*)(void *)"
},
{
"name": "make_buffer",
"type": "void (*)(const sg_buffer_desc *, sg_buffer, void *)"
},
{
"name": "make_image",
"type": "void (*)(const sg_image_desc *, sg_image, void *)"
},
{
"name": "make_sampler",
"type": "void (*)(const sg_sampler_desc *, sg_sampler, void *)"
},
{
"name": "make_shader",
"type": "void (*)(const sg_shader_desc *, sg_shader, void *)"
},
{
"name": "make_pipeline",
"type": "void (*)(const sg_pipeline_desc *, sg_pipeline, void *)"
},
{
"name": "make_pass",
"type": "void (*)(const sg_pass_desc *, sg_pass, void *)"
},
{
"name": "destroy_buffer",
"type": "void (*)(sg_buffer, void *)"
},
{
"name": "destroy_image",
"type": "void (*)(sg_image, void *)"
},
{
"name": "destroy_sampler",
"type": "void (*)(sg_sampler, void *)"
},
{
"name": "destroy_shader",
"type": "void (*)(sg_shader, void *)"
},
{
"name": "destroy_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "destroy_pass",
"type": "void (*)(sg_pass, void *)"
},
{
"name": "update_buffer",
"type": "void (*)(sg_buffer, const sg_range *, void *)"
},
{
"name": "update_image",
"type": "void (*)(sg_image, const sg_image_data *, void *)"
},
{
"name": "append_buffer",
"type": "void (*)(sg_buffer, const sg_range *, int, void *)"
},
{
"name": "begin_default_pass",
"type": "void (*)(const sg_pass_action *, int, int, void *)"
},
{
"name": "begin_pass",
"type": "void (*)(sg_pass, const sg_pass_action *, void *)"
},
{
"name": "apply_viewport",
"type": "void (*)(int, int, int, int, bool, void *)"
},
{
"name": "apply_scissor_rect",
"type": "void (*)(int, int, int, int, bool, void *)"
},
{
"name": "apply_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "apply_bindings",
"type": "void (*)(const sg_bindings *, void *)"
},
{
"name": "apply_uniforms",
"type": "void (*)(sg_shader_stage, int, const sg_range *, void *)"
},
{
"name": "draw",
"type": "void (*)(int, int, int, void *)"
},
{
"name": "end_pass",
"type": "void (*)(void *)"
},
{
"name": "commit",
"type": "void (*)(void *)"
},
{
"name": "alloc_buffer",
"type": "void (*)(sg_buffer, void *)"
},
{
"name": "alloc_image",
"type": "void (*)(sg_image, void *)"
},
{
"name": "alloc_sampler",
"type": "void (*)(sg_sampler, void *)"
},
{
"name": "alloc_shader",
"type": "void (*)(sg_shader, void *)"
},
{
"name": "alloc_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "alloc_pass",
"type": "void (*)(sg_pass, void *)"
},
{
"name": "dealloc_buffer",
"type": "void (*)(sg_buffer, void *)"
},
{
"name": "dealloc_image",
"type": "void (*)(sg_image, void *)"
},
{
"name": "dealloc_sampler",
"type": "void (*)(sg_sampler, void *)"
},
{
"name": "dealloc_shader",
"type": "void (*)(sg_shader, void *)"
},
{
"name": "dealloc_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "dealloc_pass",
"type": "void (*)(sg_pass, void *)"
},
{
"name": "init_buffer",
"type": "void (*)(sg_buffer, const sg_buffer_desc *, void *)"
},
{
"name": "init_image",
"type": "void (*)(sg_image, const sg_image_desc *, void *)"
},
{
"name": "init_sampler",
"type": "void (*)(sg_sampler, const sg_sampler_desc *, void *)"
},
{
"name": "init_shader",
"type": "void (*)(sg_shader, const sg_shader_desc *, void *)"
},
{
"name": "init_pipeline",
"type": "void (*)(sg_pipeline, const sg_pipeline_desc *, void *)"
},
{
"name": "init_pass",
"type": "void (*)(sg_pass, const sg_pass_desc *, void *)"
},
{
"name": "uninit_buffer",
"type": "void (*)(sg_buffer, void *)"
},
{
"name": "uninit_image",
"type": "void (*)(sg_image, void *)"
},
{
"name": "uninit_sampler",
"type": "void (*)(sg_sampler, void *)"
},
{
"name": "uninit_shader",
"type": "void (*)(sg_shader, void *)"
},
{
"name": "uninit_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "uninit_pass",
"type": "void (*)(sg_pass, void *)"
},
{
"name": "fail_buffer",
"type": "void (*)(sg_buffer, void *)"
},
{
"name": "fail_image",
"type": "void (*)(sg_image, void *)"
},
{
"name": "fail_sampler",
"type": "void (*)(sg_sampler, void *)"
},
{
"name": "fail_shader",
"type": "void (*)(sg_shader, void *)"
},
{
"name": "fail_pipeline",
"type": "void (*)(sg_pipeline, void *)"
},
{
"name": "fail_pass",
"type": "void (*)(sg_pass, void *)"
},
{
"name": "push_debug_group",
"type": "void (*)(const char *, void *)"
},
{
"name": "pop_debug_group",
"type": "void (*)(void *)"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_slot_info",
"fields": [
{
"name": "state",
"type": "sg_resource_state"
},
{
"name": "res_id",
"type": "uint32_t"
},
{
"name": "ctx_id",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_buffer_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
},
{
"name": "update_frame_index",
"type": "uint32_t"
},
{
"name": "append_frame_index",
"type": "uint32_t"
},
{
"name": "append_pos",
"type": "int"
},
{
"name": "append_overflow",
"type": "bool"
},
{
"name": "num_slots",
"type": "int"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_image_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
},
{
"name": "upd_frame_index",
"type": "uint32_t"
},
{
"name": "num_slots",
"type": "int"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_sampler_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_shader_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pipeline_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_pass_info",
"fields": [
{
"name": "slot",
"type": "sg_slot_info"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_gl",
"fields": [
{
"name": "num_bind_buffer",
"type": "uint32_t"
},
{
"name": "num_active_texture",
"type": "uint32_t"
},
{
"name": "num_bind_texture",
"type": "uint32_t"
},
{
"name": "num_bind_sampler",
"type": "uint32_t"
},
{
"name": "num_use_program",
"type": "uint32_t"
},
{
"name": "num_render_state",
"type": "uint32_t"
},
{
"name": "num_vertex_attrib_pointer",
"type": "uint32_t"
},
{
"name": "num_vertex_attrib_divisor",
"type": "uint32_t"
},
{
"name": "num_enable_vertex_attrib_array",
"type": "uint32_t"
},
{
"name": "num_disable_vertex_attrib_array",
"type": "uint32_t"
},
{
"name": "num_uniform",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11_pass",
"fields": [
{
"name": "num_om_set_render_targets",
"type": "uint32_t"
},
{
"name": "num_clear_render_target_view",
"type": "uint32_t"
},
{
"name": "num_clear_depth_stencil_view",
"type": "uint32_t"
},
{
"name": "num_resolve_subresource",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11_pipeline",
"fields": [
{
"name": "num_rs_set_state",
"type": "uint32_t"
},
{
"name": "num_om_set_depth_stencil_state",
"type": "uint32_t"
},
{
"name": "num_om_set_blend_state",
"type": "uint32_t"
},
{
"name": "num_ia_set_primitive_topology",
"type": "uint32_t"
},
{
"name": "num_ia_set_input_layout",
"type": "uint32_t"
},
{
"name": "num_vs_set_shader",
"type": "uint32_t"
},
{
"name": "num_vs_set_constant_buffers",
"type": "uint32_t"
},
{
"name": "num_ps_set_shader",
"type": "uint32_t"
},
{
"name": "num_ps_set_constant_buffers",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11_bindings",
"fields": [
{
"name": "num_ia_set_vertex_buffers",
"type": "uint32_t"
},
{
"name": "num_ia_set_index_buffer",
"type": "uint32_t"
},
{
"name": "num_vs_set_shader_resources",
"type": "uint32_t"
},
{
"name": "num_ps_set_shader_resources",
"type": "uint32_t"
},
{
"name": "num_vs_set_samplers",
"type": "uint32_t"
},
{
"name": "num_ps_set_samplers",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11_uniforms",
"fields": [
{
"name": "num_update_subresource",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11_draw",
"fields": [
{
"name": "num_draw_indexed_instanced",
"type": "uint32_t"
},
{
"name": "num_draw_indexed",
"type": "uint32_t"
},
{
"name": "num_draw_instanced",
"type": "uint32_t"
},
{
"name": "num_draw",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_d3d11",
"fields": [
{
"name": "pass",
"type": "sg_frame_stats_d3d11_pass"
},
{
"name": "pipeline",
"type": "sg_frame_stats_d3d11_pipeline"
},
{
"name": "bindings",
"type": "sg_frame_stats_d3d11_bindings"
},
{
"name": "uniforms",
"type": "sg_frame_stats_d3d11_uniforms"
},
{
"name": "draw",
"type": "sg_frame_stats_d3d11_draw"
},
{
"name": "num_map",
"type": "uint32_t"
},
{
"name": "num_unmap",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_metal_idpool",
"fields": [
{
"name": "num_added",
"type": "uint32_t"
},
{
"name": "num_released",
"type": "uint32_t"
},
{
"name": "num_garbage_collected",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_metal_pipeline",
"fields": [
{
"name": "num_set_blend_color",
"type": "uint32_t"
},
{
"name": "num_set_cull_mode",
"type": "uint32_t"
},
{
"name": "num_set_front_facing_winding",
"type": "uint32_t"
},
{
"name": "num_set_stencil_reference_value",
"type": "uint32_t"
},
{
"name": "num_set_depth_bias",
"type": "uint32_t"
},
{
"name": "num_set_render_pipeline_state",
"type": "uint32_t"
},
{
"name": "num_set_depth_stencil_state",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_metal_bindings",
"fields": [
{
"name": "num_set_vertex_buffer",
"type": "uint32_t"
},
{
"name": "num_set_vertex_texture",
"type": "uint32_t"
},
{
"name": "num_set_vertex_sampler_state",
"type": "uint32_t"
},
{
"name": "num_set_fragment_texture",
"type": "uint32_t"
},
{
"name": "num_set_fragment_sampler_state",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_metal_uniforms",
"fields": [
{
"name": "num_set_vertex_buffer_offset",
"type": "uint32_t"
},
{
"name": "num_set_fragment_buffer_offset",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_metal",
"fields": [
{
"name": "idpool",
"type": "sg_frame_stats_metal_idpool"
},
{
"name": "pipeline",
"type": "sg_frame_stats_metal_pipeline"
},
{
"name": "bindings",
"type": "sg_frame_stats_metal_bindings"
},
{
"name": "uniforms",
"type": "sg_frame_stats_metal_uniforms"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_wgpu_uniforms",
"fields": [
{
"name": "num_set_bindgroup",
"type": "uint32_t"
},
{
"name": "size_write_buffer",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_wgpu_bindings",
"fields": [
{
"name": "num_set_vertex_buffer",
"type": "uint32_t"
},
{
"name": "num_skip_redundant_vertex_buffer",
"type": "uint32_t"
},
{
"name": "num_set_index_buffer",
"type": "uint32_t"
},
{
"name": "num_skip_redundant_index_buffer",
"type": "uint32_t"
},
{
"name": "num_create_bindgroup",
"type": "uint32_t"
},
{
"name": "num_discard_bindgroup",
"type": "uint32_t"
},
{
"name": "num_set_bindgroup",
"type": "uint32_t"
},
{
"name": "num_skip_redundant_bindgroup",
"type": "uint32_t"
},
{
"name": "num_bindgroup_cache_hits",
"type": "uint32_t"
},
{
"name": "num_bindgroup_cache_misses",
"type": "uint32_t"
},
{
"name": "num_bindgroup_cache_collisions",
"type": "uint32_t"
},
{
"name": "num_bindgroup_cache_hash_vs_key_mismatch",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats_wgpu",
"fields": [
{
"name": "uniforms",
"type": "sg_frame_stats_wgpu_uniforms"
},
{
"name": "bindings",
"type": "sg_frame_stats_wgpu_bindings"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_frame_stats",
"fields": [
{
"name": "frame_index",
"type": "uint32_t"
},
{
"name": "num_passes",
"type": "uint32_t"
},
{
"name": "num_apply_viewport",
"type": "uint32_t"
},
{
"name": "num_apply_scissor_rect",
"type": "uint32_t"
},
{
"name": "num_apply_pipeline",
"type": "uint32_t"
},
{
"name": "num_apply_bindings",
"type": "uint32_t"
},
{
"name": "num_apply_uniforms",
"type": "uint32_t"
},
{
"name": "num_draw",
"type": "uint32_t"
},
{
"name": "num_update_buffer",
"type": "uint32_t"
},
{
"name": "num_append_buffer",
"type": "uint32_t"
},
{
"name": "num_update_image",
"type": "uint32_t"
},
{
"name": "size_apply_uniforms",
"type": "uint32_t"
},
{
"name": "size_update_buffer",
"type": "uint32_t"
},
{
"name": "size_append_buffer",
"type": "uint32_t"
},
{
"name": "size_update_image",
"type": "uint32_t"
},
{
"name": "gl",
"type": "sg_frame_stats_gl"
},
{
"name": "d3d11",
"type": "sg_frame_stats_d3d11"
},
{
"name": "metal",
"type": "sg_frame_stats_metal"
},
{
"name": "wgpu",
"type": "sg_frame_stats_wgpu"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "enum",
"name": "sg_log_item",
"items": [
{
"name": "SG_LOGITEM_OK"
},
{
"name": "SG_LOGITEM_MALLOC_FAILED"
},
{
"name": "SG_LOGITEM_GL_TEXTURE_FORMAT_NOT_SUPPORTED"
},
{
"name": "SG_LOGITEM_GL_3D_TEXTURES_NOT_SUPPORTED"
},
{
"name": "SG_LOGITEM_GL_ARRAY_TEXTURES_NOT_SUPPORTED"
},
{
"name": "SG_LOGITEM_GL_SHADER_COMPILATION_FAILED"
},
{
"name": "SG_LOGITEM_GL_SHADER_LINKING_FAILED"
},
{
"name": "SG_LOGITEM_GL_VERTEX_ATTRIBUTE_NOT_FOUND_IN_SHADER"
},
{
"name": "SG_LOGITEM_GL_TEXTURE_NAME_NOT_FOUND_IN_SHADER"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_UNDEFINED"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_INCOMPLETE_ATTACHMENT"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_INCOMPLETE_MISSING_ATTACHMENT"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_UNSUPPORTED"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_INCOMPLETE_MULTISAMPLE"
},
{
"name": "SG_LOGITEM_GL_FRAMEBUFFER_STATUS_UNKNOWN"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_DEPTH_TEXTURE_UNSUPPORTED_PIXEL_FORMAT"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_DEPTH_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_2D_TEXTURE_UNSUPPORTED_PIXEL_FORMAT"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_2D_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_2D_SRV_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_3D_TEXTURE_UNSUPPORTED_PIXEL_FORMAT"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_3D_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_3D_SRV_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_MSAA_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_SAMPLER_STATE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_LOAD_D3DCOMPILER_47_DLL_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_SHADER_COMPILATION_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_SHADER_COMPILATION_OUTPUT"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_CONSTANT_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_INPUT_LAYOUT_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_RASTERIZER_STATE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_DEPTH_STENCIL_STATE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_BLEND_STATE_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_RTV_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_CREATE_DSV_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_MAP_FOR_UPDATE_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_MAP_FOR_APPEND_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_D3D11_MAP_FOR_UPDATE_IMAGE_FAILED"
},
{
"name": "SG_LOGITEM_METAL_CREATE_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_METAL_TEXTURE_FORMAT_NOT_SUPPORTED"
},
{
"name": "SG_LOGITEM_METAL_CREATE_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_METAL_CREATE_SAMPLER_FAILED"
},
{
"name": "SG_LOGITEM_METAL_SHADER_COMPILATION_FAILED"
},
{
"name": "SG_LOGITEM_METAL_SHADER_CREATION_FAILED"
},
{
"name": "SG_LOGITEM_METAL_SHADER_COMPILATION_OUTPUT"
},
{
"name": "SG_LOGITEM_METAL_VERTEX_SHADER_ENTRY_NOT_FOUND"
},
{
"name": "SG_LOGITEM_METAL_FRAGMENT_SHADER_ENTRY_NOT_FOUND"
},
{
"name": "SG_LOGITEM_METAL_CREATE_RPS_FAILED"
},
{
"name": "SG_LOGITEM_METAL_CREATE_RPS_OUTPUT"
},
{
"name": "SG_LOGITEM_METAL_CREATE_DSS_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_BINDGROUPS_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_WGPU_BINDGROUPSCACHE_SIZE_GREATER_ONE"
},
{
"name": "SG_LOGITEM_WGPU_BINDGROUPSCACHE_SIZE_POW2"
},
{
"name": "SG_LOGITEM_WGPU_CREATEBINDGROUP_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_BUFFER_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_TEXTURE_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_TEXTURE_VIEW_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_SAMPLER_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_SHADER_MODULE_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_SHADER_TOO_MANY_IMAGES"
},
{
"name": "SG_LOGITEM_WGPU_SHADER_TOO_MANY_SAMPLERS"
},
{
"name": "SG_LOGITEM_WGPU_SHADER_CREATE_BINDGROUP_LAYOUT_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_PIPELINE_LAYOUT_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_CREATE_RENDER_PIPELINE_FAILED"
},
{
"name": "SG_LOGITEM_WGPU_PASS_CREATE_TEXTURE_VIEW_FAILED"
},
{
"name": "SG_LOGITEM_UNINIT_BUFFER_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_UNINIT_IMAGE_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_UNINIT_SAMPLER_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_UNINIT_SHADER_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_UNINIT_PIPELINE_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_UNINIT_PASS_ACTIVE_CONTEXT_MISMATCH"
},
{
"name": "SG_LOGITEM_IDENTICAL_COMMIT_LISTENER"
},
{
"name": "SG_LOGITEM_COMMIT_LISTENER_ARRAY_FULL"
},
{
"name": "SG_LOGITEM_TRACE_HOOKS_NOT_ENABLED"
},
{
"name": "SG_LOGITEM_DEALLOC_BUFFER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_DEALLOC_IMAGE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_DEALLOC_SAMPLER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_DEALLOC_SHADER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_DEALLOC_PIPELINE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_DEALLOC_PASS_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_BUFFER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_IMAGE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_SAMPLER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_SHADER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_PIPELINE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_INIT_PASS_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_BUFFER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_IMAGE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_SAMPLER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_SHADER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_PIPELINE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_UNINIT_PASS_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_BUFFER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_IMAGE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_SAMPLER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_SHADER_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_PIPELINE_INVALID_STATE"
},
{
"name": "SG_LOGITEM_FAIL_PASS_INVALID_STATE"
},
{
"name": "SG_LOGITEM_BUFFER_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_IMAGE_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_SAMPLER_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_SHADER_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_PIPELINE_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_PASS_POOL_EXHAUSTED"
},
{
"name": "SG_LOGITEM_DRAW_WITHOUT_BINDINGS"
},
{
"name": "SG_LOGITEM_VALIDATE_BUFFERDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_BUFFERDESC_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_BUFFERDESC_DATA"
},
{
"name": "SG_LOGITEM_VALIDATE_BUFFERDESC_DATA_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_BUFFERDESC_NO_DATA"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDATA_NODATA"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_WIDTH"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_HEIGHT"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_RT_PIXELFORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_NONRT_PIXELFORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_BUT_NO_RT"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_NO_MSAA_RT_SUPPORT"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_NUM_MIPMAPS"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_3D_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_DEPTH_3D_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_RT_IMMUTABLE"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_RT_NO_DATA"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_INJECTED_NO_DATA"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_DYNAMIC_NO_DATA"
},
{
"name": "SG_LOGITEM_VALIDATE_IMAGEDESC_COMPRESSED_IMMUTABLE"
},
{
"name": "SG_LOGITEM_VALIDATE_SAMPLERDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_SAMPLERDESC_MINFILTER_NONE"
},
{
"name": "SG_LOGITEM_VALIDATE_SAMPLERDESC_MAGFILTER_NONE"
},
{
"name": "SG_LOGITEM_VALIDATE_SAMPLERDESC_ANISTROPIC_REQUIRES_LINEAR_FILTERING"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_SOURCE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_BYTECODE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_SOURCE_OR_BYTECODE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_BYTECODE_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_CONT_UBS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_CONT_UB_MEMBERS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_UB_MEMBERS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_UB_MEMBER_NAME"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_UB_SIZE_MISMATCH"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_UB_ARRAY_COUNT"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_UB_STD140_ARRAY_TYPE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_CONT_IMAGES"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_CONT_SAMPLERS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_IMAGE_SLOT_OUT_OF_RANGE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_SAMPLER_SLOT_OUT_OF_RANGE"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_NAME_REQUIRED_FOR_GL"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_HAS_NAME_BUT_NOT_USED"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_HAS_IMAGE_BUT_NOT_USED"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_SAMPLER_PAIR_HAS_SAMPLER_BUT_NOT_USED"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NONFILTERING_SAMPLER_REQUIRED"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_COMPARISON_SAMPLER_REQUIRED"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_IMAGE_NOT_REFERENCED_BY_IMAGE_SAMPLER_PAIRS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_SAMPLER_NOT_REFERENCED_BY_IMAGE_SAMPLER_PAIRS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_NO_CONT_IMAGE_SAMPLER_PAIRS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_ATTR_SEMANTICS"
},
{
"name": "SG_LOGITEM_VALIDATE_SHADERDESC_ATTR_STRING_TOO_LONG"
},
{
"name": "SG_LOGITEM_VALIDATE_PIPELINEDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_PIPELINEDESC_SHADER"
},
{
"name": "SG_LOGITEM_VALIDATE_PIPELINEDESC_NO_ATTRS"
},
{
"name": "SG_LOGITEM_VALIDATE_PIPELINEDESC_LAYOUT_STRIDE4"
},
{
"name": "SG_LOGITEM_VALIDATE_PIPELINEDESC_ATTR_SEMANTICS"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_CANARY"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_NO_ATTACHMENTS"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_NO_CONT_COLOR_ATTS"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_MIPLEVEL"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_FACE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_LAYER"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_SLICE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_IMAGE_NO_RT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_COLOR_INV_PIXELFORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_INV_PIXELFORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_IMAGE_SIZES"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_IMAGE_SAMPLE_COUNTS"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_COLOR_IMAGE_MSAA"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_SAMPLE_COUNT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_MIPLEVEL"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_FACE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_LAYER"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_SLICE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_IMAGE_NO_RT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_IMAGE_SIZES"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_RESOLVE_IMAGE_FORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_MIPLEVEL"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_FACE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_LAYER"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_SLICE"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_IMAGE_NO_RT"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_IMAGE_SIZES"
},
{
"name": "SG_LOGITEM_VALIDATE_PASSDESC_DEPTH_IMAGE_SAMPLE_COUNT"
},
{
"name": "SG_LOGITEM_VALIDATE_BEGINPASS_PASS"
},
{
"name": "SG_LOGITEM_VALIDATE_BEGINPASS_COLOR_ATTACHMENT_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_BEGINPASS_RESOLVE_ATTACHMENT_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_BEGINPASS_DEPTHSTENCIL_ATTACHMENT_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_PIPELINE_VALID_ID"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_PIPELINE_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_PIPELINE_VALID"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_SHADER_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_SHADER_VALID"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_ATT_COUNT"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_COLOR_FORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_DEPTH_FORMAT"
},
{
"name": "SG_LOGITEM_VALIDATE_APIP_SAMPLE_COUNT"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_PIPELINE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_PIPELINE_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_PIPELINE_VALID"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VBS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VB_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VB_TYPE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VB_OVERFLOW"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_NO_IB"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_IB"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_IB_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_IB_TYPE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_IB_OVERFLOW"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_IMAGE_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_IMG_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_IMAGE_TYPE_MISMATCH"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_IMAGE_MSAA"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_FILTERABLE_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_DEPTH_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_UNEXPECTED_IMAGE_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_SAMPLER_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_UNEXPECTED_SAMPLER_COMPARE_NEVER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_SAMPLER_COMPARE_NEVER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_EXPECTED_NONFILTERING_SAMPLER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_UNEXPECTED_SAMPLER_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_VS_SMP_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_IMAGE_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_IMG_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_IMAGE_TYPE_MISMATCH"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_IMAGE_MSAA"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_FILTERABLE_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_DEPTH_IMAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_UNEXPECTED_IMAGE_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_SAMPLER_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_UNEXPECTED_SAMPLER_COMPARE_NEVER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_SAMPLER_COMPARE_NEVER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_EXPECTED_NONFILTERING_SAMPLER"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_UNEXPECTED_SAMPLER_BINDING"
},
{
"name": "SG_LOGITEM_VALIDATE_ABND_FS_SMP_EXISTS"
},
{
"name": "SG_LOGITEM_VALIDATE_AUB_NO_PIPELINE"
},
{
"name": "SG_LOGITEM_VALIDATE_AUB_NO_UB_AT_SLOT"
},
{
"name": "SG_LOGITEM_VALIDATE_AUB_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDATEBUF_USAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDATEBUF_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDATEBUF_ONCE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDATEBUF_APPEND"
},
{
"name": "SG_LOGITEM_VALIDATE_APPENDBUF_USAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_APPENDBUF_SIZE"
},
{
"name": "SG_LOGITEM_VALIDATE_APPENDBUF_UPDATE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDIMG_USAGE"
},
{
"name": "SG_LOGITEM_VALIDATE_UPDIMG_ONCE"
},
{
"name": "SG_LOGITEM_VALIDATION_FAILED"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_metal_context_desc",
"fields": [
{
"name": "device",
"type": "const void *"
},
{
"name": "renderpass_descriptor_cb",
"type": "const void *(*)(void)"
},
{
"name": "renderpass_descriptor_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "drawable_cb",
"type": "const void *(*)(void)"
},
{
"name": "drawable_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_context_desc",
"fields": [
{
"name": "device",
"type": "const void *"
},
{
"name": "device_context",
"type": "const void *"
},
{
"name": "render_target_view_cb",
"type": "const void *(*)(void)"
},
{
"name": "render_target_view_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "depth_stencil_view_cb",
"type": "const void *(*)(void)"
},
{
"name": "depth_stencil_view_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_context_desc",
"fields": [
{
"name": "device",
"type": "const void *"
},
{
"name": "render_view_cb",
"type": "const void *(*)(void)"
},
{
"name": "render_view_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "resolve_view_cb",
"type": "const void *(*)(void)"
},
{
"name": "resolve_view_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "depth_stencil_view_cb",
"type": "const void *(*)(void)"
},
{
"name": "depth_stencil_view_userdata_cb",
"type": "const void *(*)(void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_context_desc",
"fields": [
{
"name": "default_framebuffer_cb",
"type": "uint32_t (*)(void)"
},
{
"name": "default_framebuffer_userdata_cb",
"type": "uint32_t (*)(void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_context_desc",
"fields": [
{
"name": "color_format",
"type": "sg_pixel_format"
},
{
"name": "depth_format",
"type": "sg_pixel_format"
},
{
"name": "sample_count",
"type": "int"
},
{
"name": "metal",
"type": "sg_metal_context_desc"
},
{
"name": "d3d11",
"type": "sg_d3d11_context_desc"
},
{
"name": "wgpu",
"type": "sg_wgpu_context_desc"
},
{
"name": "gl",
"type": "sg_gl_context_desc"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_commit_listener",
"fields": [
{
"name": "func",
"type": "void (*)(void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_allocator",
"fields": [
{
"name": "alloc_fn",
"type": "void *(*)(size_t, void *)"
},
{
"name": "free_fn",
"type": "void (*)(void *, void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_logger",
"fields": [
{
"name": "func",
"type": "void (*)(const char *, uint32_t, uint32_t, const char *, uint32_t, const char *, void *)"
},
{
"name": "user_data",
"type": "void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_desc",
"fields": [
{
"name": "_start_canary",
"type": "uint32_t"
},
{
"name": "buffer_pool_size",
"type": "int"
},
{
"name": "image_pool_size",
"type": "int"
},
{
"name": "sampler_pool_size",
"type": "int"
},
{
"name": "shader_pool_size",
"type": "int"
},
{
"name": "pipeline_pool_size",
"type": "int"
},
{
"name": "pass_pool_size",
"type": "int"
},
{
"name": "context_pool_size",
"type": "int"
},
{
"name": "uniform_buffer_size",
"type": "int"
},
{
"name": "max_commit_listeners",
"type": "int"
},
{
"name": "disable_validation",
"type": "bool"
},
{
"name": "mtl_force_managed_storage_mode",
"type": "bool"
},
{
"name": "wgpu_disable_bindgroups_cache",
"type": "bool"
},
{
"name": "wgpu_bindgroups_cache_size",
"type": "int"
},
{
"name": "allocator",
"type": "sg_allocator"
},
{
"name": "logger",
"type": "sg_logger"
},
{
"name": "context",
"type": "sg_context_desc"
},
{
"name": "_end_canary",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_setup",
"type": "void (const sg_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_shutdown",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_isvalid",
"type": "bool (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_reset_state_cache",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_install_trace_hooks",
"type": "sg_trace_hooks (const sg_trace_hooks *)",
"params": [
{
"name": "trace_hooks",
"type": "const sg_trace_hooks *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_push_debug_group",
"type": "void (const char *)",
"params": [
{
"name": "name",
"type": "const char *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_pop_debug_group",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_add_commit_listener",
"type": "bool (sg_commit_listener)",
"params": [
{
"name": "listener",
"type": "sg_commit_listener"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_remove_commit_listener",
"type": "bool (sg_commit_listener)",
"params": [
{
"name": "listener",
"type": "sg_commit_listener"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_buffer",
"type": "sg_buffer (const sg_buffer_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_buffer_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_image",
"type": "sg_image (const sg_image_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_image_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_sampler",
"type": "sg_sampler (const sg_sampler_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_sampler_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_shader",
"type": "sg_shader (const sg_shader_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_shader_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_pipeline",
"type": "sg_pipeline (const sg_pipeline_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_pipeline_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_make_pass",
"type": "sg_pass (const sg_pass_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_pass_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_buffer",
"type": "void (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_image",
"type": "void (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_sampler",
"type": "void (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_shader",
"type": "void (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_pipeline",
"type": "void (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_destroy_pass",
"type": "void (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_update_buffer",
"type": "void (sg_buffer, const sg_range *)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
},
{
"name": "data",
"type": "const sg_range *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_update_image",
"type": "void (sg_image, const sg_image_data *)",
"params": [
{
"name": "img",
"type": "sg_image"
},
{
"name": "data",
"type": "const sg_image_data *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_append_buffer",
"type": "int (sg_buffer, const sg_range *)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
},
{
"name": "data",
"type": "const sg_range *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_overflow",
"type": "bool (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_will_overflow",
"type": "bool (sg_buffer, size_t)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
},
{
"name": "size",
"type": "size_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_begin_default_pass",
"type": "void (const sg_pass_action *, int, int)",
"params": [
{
"name": "pass_action",
"type": "const sg_pass_action *"
},
{
"name": "width",
"type": "int"
},
{
"name": "height",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_begin_default_passf",
"type": "void (const sg_pass_action *, float, float)",
"params": [
{
"name": "pass_action",
"type": "const sg_pass_action *"
},
{
"name": "width",
"type": "float"
},
{
"name": "height",
"type": "float"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_begin_pass",
"type": "void (sg_pass, const sg_pass_action *)",
"params": [
{
"name": "pass",
"type": "sg_pass"
},
{
"name": "pass_action",
"type": "const sg_pass_action *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_viewport",
"type": "void (int, int, int, int, bool)",
"params": [
{
"name": "x",
"type": "int"
},
{
"name": "y",
"type": "int"
},
{
"name": "width",
"type": "int"
},
{
"name": "height",
"type": "int"
},
{
"name": "origin_top_left",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_viewportf",
"type": "void (float, float, float, float, bool)",
"params": [
{
"name": "x",
"type": "float"
},
{
"name": "y",
"type": "float"
},
{
"name": "width",
"type": "float"
},
{
"name": "height",
"type": "float"
},
{
"name": "origin_top_left",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_scissor_rect",
"type": "void (int, int, int, int, bool)",
"params": [
{
"name": "x",
"type": "int"
},
{
"name": "y",
"type": "int"
},
{
"name": "width",
"type": "int"
},
{
"name": "height",
"type": "int"
},
{
"name": "origin_top_left",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_scissor_rectf",
"type": "void (float, float, float, float, bool)",
"params": [
{
"name": "x",
"type": "float"
},
{
"name": "y",
"type": "float"
},
{
"name": "width",
"type": "float"
},
{
"name": "height",
"type": "float"
},
{
"name": "origin_top_left",
"type": "bool"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_pipeline",
"type": "void (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_bindings",
"type": "void (const sg_bindings *)",
"params": [
{
"name": "bindings",
"type": "const sg_bindings *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_apply_uniforms",
"type": "void (sg_shader_stage, int, const sg_range *)",
"params": [
{
"name": "stage",
"type": "sg_shader_stage"
},
{
"name": "ub_index",
"type": "int"
},
{
"name": "data",
"type": "const sg_range *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_draw",
"type": "void (int, int, int)",
"params": [
{
"name": "base_element",
"type": "int"
},
{
"name": "num_elements",
"type": "int"
},
{
"name": "num_instances",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_end_pass",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_commit",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_desc",
"type": "sg_desc (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_backend",
"type": "sg_backend (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_features",
"type": "sg_features (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_limits",
"type": "sg_limits (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pixelformat",
"type": "sg_pixelformat_info (sg_pixel_format)",
"params": [
{
"name": "fmt",
"type": "sg_pixel_format"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_state",
"type": "sg_resource_state (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_image_state",
"type": "sg_resource_state (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_sampler_state",
"type": "sg_resource_state (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_shader_state",
"type": "sg_resource_state (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pipeline_state",
"type": "sg_resource_state (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pass_state",
"type": "sg_resource_state (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_info",
"type": "sg_buffer_info (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_image_info",
"type": "sg_image_info (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_sampler_info",
"type": "sg_sampler_info (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_shader_info",
"type": "sg_shader_info (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pipeline_info",
"type": "sg_pipeline_info (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pass_info",
"type": "sg_pass_info (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_desc",
"type": "sg_buffer_desc (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_image_desc",
"type": "sg_image_desc (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_sampler_desc",
"type": "sg_sampler_desc (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_shader_desc",
"type": "sg_shader_desc (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pipeline_desc",
"type": "sg_pipeline_desc (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pass_desc",
"type": "sg_pass_desc (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_buffer_defaults",
"type": "sg_buffer_desc (const sg_buffer_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_buffer_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_image_defaults",
"type": "sg_image_desc (const sg_image_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_image_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_sampler_defaults",
"type": "sg_sampler_desc (const sg_sampler_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_sampler_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_shader_defaults",
"type": "sg_shader_desc (const sg_shader_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_shader_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pipeline_defaults",
"type": "sg_pipeline_desc (const sg_pipeline_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_pipeline_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_pass_defaults",
"type": "sg_pass_desc (const sg_pass_desc *)",
"params": [
{
"name": "desc",
"type": "const sg_pass_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_buffer",
"type": "sg_buffer (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_image",
"type": "sg_image (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_sampler",
"type": "sg_sampler (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_shader",
"type": "sg_shader (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_pipeline",
"type": "sg_pipeline (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_alloc_pass",
"type": "sg_pass (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_buffer",
"type": "void (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_image",
"type": "void (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_sampler",
"type": "void (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_shader",
"type": "void (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_pipeline",
"type": "void (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_dealloc_pass",
"type": "void (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_buffer",
"type": "void (sg_buffer, const sg_buffer_desc *)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
},
{
"name": "desc",
"type": "const sg_buffer_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_image",
"type": "void (sg_image, const sg_image_desc *)",
"params": [
{
"name": "img",
"type": "sg_image"
},
{
"name": "desc",
"type": "const sg_image_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_sampler",
"type": "void (sg_sampler, const sg_sampler_desc *)",
"params": [
{
"name": "smg",
"type": "sg_sampler"
},
{
"name": "desc",
"type": "const sg_sampler_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_shader",
"type": "void (sg_shader, const sg_shader_desc *)",
"params": [
{
"name": "shd",
"type": "sg_shader"
},
{
"name": "desc",
"type": "const sg_shader_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_pipeline",
"type": "void (sg_pipeline, const sg_pipeline_desc *)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
},
{
"name": "desc",
"type": "const sg_pipeline_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_init_pass",
"type": "void (sg_pass, const sg_pass_desc *)",
"params": [
{
"name": "pass",
"type": "sg_pass"
},
{
"name": "desc",
"type": "const sg_pass_desc *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_buffer",
"type": "void (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_image",
"type": "void (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_sampler",
"type": "void (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_shader",
"type": "void (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_pipeline",
"type": "void (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_uninit_pass",
"type": "void (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_buffer",
"type": "void (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_image",
"type": "void (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_sampler",
"type": "void (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_shader",
"type": "void (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_pipeline",
"type": "void (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_fail_pass",
"type": "void (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_enable_frame_stats",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_disable_frame_stats",
"type": "void (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_frame_stats_enabled",
"type": "bool (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_query_frame_stats",
"type": "sg_frame_stats (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_setup_context",
"type": "sg_context (void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_activate_context",
"type": "void (sg_context)",
"params": [
{
"name": "ctx_id",
"type": "sg_context"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_discard_context",
"type": "void (sg_context)",
"params": [
{
"name": "ctx_id",
"type": "sg_context"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_buffer_info",
"fields": [
{
"name": "buf",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_image_info",
"fields": [
{
"name": "tex2d",
"type": "const void *"
},
{
"name": "tex3d",
"type": "const void *"
},
{
"name": "res",
"type": "const void *"
},
{
"name": "srv",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_sampler_info",
"fields": [
{
"name": "smp",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_shader_info",
"fields": [
{
"name": "vs_cbufs",
"type": "const void *[4]"
},
{
"name": "fs_cbufs",
"type": "const void *[4]"
},
{
"name": "vs",
"type": "const void *"
},
{
"name": "fs",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_pipeline_info",
"fields": [
{
"name": "il",
"type": "const void *"
},
{
"name": "rs",
"type": "const void *"
},
{
"name": "dss",
"type": "const void *"
},
{
"name": "bs",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_d3d11_pass_info",
"fields": [
{
"name": "color_rtv",
"type": "const void *[4]"
},
{
"name": "resolve_rtv",
"type": "const void *[4]"
},
{
"name": "dsv",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_mtl_buffer_info",
"fields": [
{
"name": "buf",
"type": "const void *[2]"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_mtl_image_info",
"fields": [
{
"name": "tex",
"type": "const void *[2]"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_mtl_sampler_info",
"fields": [
{
"name": "smp",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_mtl_shader_info",
"fields": [
{
"name": "vs_lib",
"type": "const void *"
},
{
"name": "fs_lib",
"type": "const void *"
},
{
"name": "vs_func",
"type": "const void *"
},
{
"name": "fs_func",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_mtl_pipeline_info",
"fields": [
{
"name": "rps",
"type": "const void *"
},
{
"name": "dss",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_buffer_info",
"fields": [
{
"name": "buf",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_image_info",
"fields": [
{
"name": "tex",
"type": "const void *"
},
{
"name": "view",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_sampler_info",
"fields": [
{
"name": "smp",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_shader_info",
"fields": [
{
"name": "vs_mod",
"type": "const void *"
},
{
"name": "fs_mod",
"type": "const void *"
},
{
"name": "bgl",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_pipeline_info",
"fields": [
{
"name": "pip",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_wgpu_pass_info",
"fields": [
{
"name": "color_view",
"type": "const void *[4]"
},
{
"name": "resolve_view",
"type": "const void *[4]"
},
{
"name": "ds_view",
"type": "const void *"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_buffer_info",
"fields": [
{
"name": "buf",
"type": "uint32_t[2]"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_image_info",
"fields": [
{
"name": "tex",
"type": "uint32_t[2]"
},
{
"name": "tex_target",
"type": "uint32_t"
},
{
"name": "msaa_render_buffer",
"type": "uint32_t"
},
{
"name": "active_slot",
"type": "int"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_sampler_info",
"fields": [
{
"name": "smp",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_shader_info",
"fields": [
{
"name": "prog",
"type": "uint32_t"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "struct",
"name": "sg_gl_pass_info",
"fields": [
{
"name": "frame_buffer",
"type": "uint32_t"
},
{
"name": "msaa_resolve_framebuffer",
"type": "uint32_t[4]"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_device",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_device_context",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_buffer_info",
"type": "sg_d3d11_buffer_info (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_image_info",
"type": "sg_d3d11_image_info (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_sampler_info",
"type": "sg_d3d11_sampler_info (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_shader_info",
"type": "sg_d3d11_shader_info (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_pipeline_info",
"type": "sg_d3d11_pipeline_info (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_d3d11_query_pass_info",
"type": "sg_d3d11_pass_info (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_device",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_render_command_encoder",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_query_buffer_info",
"type": "sg_mtl_buffer_info (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_query_image_info",
"type": "sg_mtl_image_info (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_query_sampler_info",
"type": "sg_mtl_sampler_info (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_query_shader_info",
"type": "sg_mtl_shader_info (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_mtl_query_pipeline_info",
"type": "sg_mtl_pipeline_info (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_device",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_queue",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_command_encoder",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_render_pass_encoder",
"type": "const void *(void)",
"params": [],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_buffer_info",
"type": "sg_wgpu_buffer_info (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_image_info",
"type": "sg_wgpu_image_info (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_sampler_info",
"type": "sg_wgpu_sampler_info (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_shader_info",
"type": "sg_wgpu_shader_info (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_pipeline_info",
"type": "sg_wgpu_pipeline_info (sg_pipeline)",
"params": [
{
"name": "pip",
"type": "sg_pipeline"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_wgpu_query_pass_info",
"type": "sg_wgpu_pass_info (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_gl_query_buffer_info",
"type": "sg_gl_buffer_info (sg_buffer)",
"params": [
{
"name": "buf",
"type": "sg_buffer"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_gl_query_image_info",
"type": "sg_gl_image_info (sg_image)",
"params": [
{
"name": "img",
"type": "sg_image"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_gl_query_sampler_info",
"type": "sg_gl_sampler_info (sg_sampler)",
"params": [
{
"name": "smp",
"type": "sg_sampler"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_gl_query_shader_info",
"type": "sg_gl_shader_info (sg_shader)",
"params": [
{
"name": "shd",
"type": "sg_shader"
}
],
"is_dep": false,
"dep_prefix": null
},
{
"kind": "func",
"name": "sg_gl_query_pass_info",
"type": "sg_gl_pass_info (sg_pass)",
"params": [
{
"name": "pass",
"type": "sg_pass"
}
],
"is_dep": false,
"dep_prefix": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment