imgui fixed!

This commit is contained in:
Asuro
2025-02-21 22:12:12 +01:00
parent dc12510fcb
commit edde743542
5 changed files with 40 additions and 86 deletions

View File

@@ -46,8 +46,10 @@ namespace Game
bgfx::UniformHandle Uniforms[8];
Texture Textures[4];
uint64_t State = 0;
uint32_t ViewID = 0;
static Material LoadFromShader(const char* vertPath,
const char* fragPath,
uint32_t view = 0,
bgfx::TextureHandle = BGFX_INVALID_HANDLE,
bgfx::UniformHandle sampler = BGFX_INVALID_HANDLE);
};
@@ -62,6 +64,7 @@ namespace Game
int32_t LastWidth = 0;
int32_t LastHeight = 0;
uint32_t ResetFlags = BGFX_RESET_VSYNC;
uint32_t MainViewID = 10;
public:
void Setup();