added image widget with atlas support and global texture manager
This commit is contained in:
@@ -6,8 +6,8 @@ enum class kShaderUniform : uint16_t
|
||||
MVP = const_hash("mvp"),
|
||||
Tex = const_hash("tex"),
|
||||
Col = const_hash("col"),
|
||||
Tof = const_hash("texoff"),
|
||||
Tsz = const_hash("texsz"),
|
||||
Tof = const_hash("tof"),
|
||||
Tsz = const_hash("tsz"),
|
||||
};
|
||||
|
||||
class Shader
|
||||
@@ -29,6 +29,7 @@ enum class kShader : uint16_t
|
||||
Texture = const_hash("texture"),
|
||||
UVs = const_hash("uvs"),
|
||||
Font = const_hash("font"),
|
||||
Atlas = const_hash("atlas"),
|
||||
};
|
||||
|
||||
class ShaderManager
|
||||
|
||||
Reference in New Issue
Block a user