Skip to content

Instantly share code, notes, and snippets.

@raizam
Created February 26, 2019 09:27
Show Gist options
  • Save raizam/a46efc89bbcb8fbd3ccaa31c02b998d3 to your computer and use it in GitHub Desktop.
Save raizam/a46efc89bbcb8fbd3ccaa31c02b998d3 to your computer and use it in GitHub Desktop.
{
"libName": "SlimBgfx",
"includeDirs": [
"E:\\github\\bgfx\\include",
"E:\\github\\bx\\include",
"E:\\github\\bgfx\\examples\\common",
"E:\\github\\bx\\include\\compat\\msvc",
"E:\\github\\bimg\\include"
],
"defines": [
],
"targets": [
"E:\\github\\bgfx\\src\\bgfx.cpp"
],
"tokenStrip": [
"bgfx*",
"*_t",
"*_s", "*handle"
],
"fnSelector": "bgfx",
"access": "public",
"overrides": {
"bgfx_access_t": { "rename": "BufferAccess" },
"bgfx_caps_gpu_t": { "rename": "GPUInfo" },
"bgfx_caps_t": { "rename": "Capabilities" },
"bgfx_caps_gpu_t4": { "rename": "GPUCapabilities" },
"bgfx_attrib_t": { "rename": "VertexAttribute" },
"bgfx_attrib_type_t": { "rename": "VertexAttributeType" },
"bgfx_program_handle_t": { "rename": "ShaderProgram" },
"bgfx_init_t": { "rename": "BgfxInit" },
"bgfx_vertex_decl_handle_t": { "rename": "VertexDeclaration" },
"float3": { "replacedBy": "System.Numerics.Vector3" },
"float4": { "replacedBy": "System.Numerics.Vector4" },
"bgfx_set_debug@0": "DebugFlags",
"@void* view": "Matrix4x4",
"@void* proj": "Matrix4x4",
"bgfx_reset@flags": "ResetFlags",
"bgfx_set_view_clear@flags": "ClearFlags"
},
"enumMacros": {
"BGFX_RESET_*!SHIFT!MASK": {
"enumName": "ResetFlags",
"isFlags": true,
"enumType": "long"
},
"BGFX_CLEAR_*!SHIFT!MASK*": {
"enumName": "ClearFlags",
"isFlags": true,
"enumType": "uint"
},
"BGFX_DEBUG_*!SHIFT!MASK": {
"enumName": "DebugFlags",
"isFlags": true,
"enumType": "uint"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment