mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
shaderc: Initialize uniform.
This commit is contained in:
@@ -118,6 +118,16 @@ namespace bgfx
|
||||
|
||||
struct Uniform
|
||||
{
|
||||
Uniform()
|
||||
: type(UniformType::Count)
|
||||
, num(0)
|
||||
, regIndex(0)
|
||||
, regCount(0)
|
||||
, texComponent(0)
|
||||
, texDimension(0)
|
||||
{
|
||||
}
|
||||
|
||||
std::string name;
|
||||
UniformType::Enum type;
|
||||
uint8_t num;
|
||||
|
||||
Reference in New Issue
Block a user