private:
struct BoundTexture
{
- unsigned binding;
- mutable bool changed;
- const Texture *texture;
- const Sampler *sampler;
+ unsigned binding = 0;
+ mutable bool changed = false;
+ const Texture *texture = 0;
+ const Sampler *sampler = 0;
- BoundTexture(unsigned);
+ BoundTexture(unsigned b): binding(b) { }
};
struct BoundUniformBlock
{
- int binding;
- mutable bool changed;
- const UniformBlock *block;
+ int binding = 0;
+ mutable bool changed = false;
+ const UniformBlock *block = 0;
- BoundUniformBlock(int);
+ BoundUniformBlock(int b): binding(b) { }
};
enum ChangeMask