mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Refactored uniform types.
This commit is contained in:
@@ -486,9 +486,9 @@ struct Imgui
|
||||
PosUvVertex::init();
|
||||
PosNormalVertex::init();
|
||||
|
||||
u_imageLodEnabled = bgfx::createUniform("u_imageLodEnabled", bgfx::UniformType::Uniform4fv);
|
||||
u_imageSwizzle = bgfx::createUniform("u_swizzle", bgfx::UniformType::Uniform4fv);
|
||||
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Uniform1i);
|
||||
u_imageLodEnabled = bgfx::createUniform("u_imageLodEnabled", bgfx::UniformType::Vec4);
|
||||
u_imageSwizzle = bgfx::createUniform("u_swizzle", bgfx::UniformType::Vec4);
|
||||
s_texColor = bgfx::createUniform("s_texColor", bgfx::UniformType::Int1);
|
||||
|
||||
const bgfx::Memory* vs_imgui_color;
|
||||
const bgfx::Memory* fs_imgui_color;
|
||||
|
||||
Reference in New Issue
Block a user