13 #ifndef RE_UniformBlock_h
14 #define RE_UniformBlock_h
37 int64 getMemoryUsage(
bool inclusive)
const;
45 void setInstanceName(
const char *
name);
48 const char * getInstanceName()
const;
73 int getNumUniforms()
const;
75 const char *getUniformName(
int index)
const;
77 int getUniformShaderIndex(
int index)
const;
104 int array_index = 0);
109 int array_index = 0);
114 int array_index = 0);
119 int array_index = 0);
128 int array_index = 0);
133 int array_index = 0);
138 int array_index = 0);
143 int array_index = 0);
147 int array_index = 0);
151 int array_index = 0);
156 int array_index = 0);
160 int array_index = 0);
164 int array_index = 0);
169 int array_index = 0);
173 int array_index = 0);
177 int array_index = 0);
182 int array_index = 0);
186 int array_index = 0);
190 int array_index = 0);
209 void print(std::ostream *os =
nullptr);
219 void setName(
const char *name);
222 void setSize(
int bytes);
232 int top_array_stride);
233 void clearUniforms();
234 void setBufferSizes(
int fixed_size_bytes,
235 int variable_size_bytes);
244 myResetCount!=theResetCounter;}
246 void setInitializedFor(
const RE_Shader *sh);
248 bool isInitializedFor(
const RE_Shader *sh)
const;
257 void copyToBuffer(
const void *
data,
int len,
int offset,
259 void copyToBuffer3(
const void *
data,
int len,
int dsize,
262 void printMember(std::ostream &os,
int idx,
290 static int theResetCounter;
302 return myInstanceName;
314 return myInitShader == sh;
unsigned long long uint64
A reference counter base class for use with UT_IntrusivePtr.
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
GLint GLenum GLboolean GLsizei stride
GLuint const GLchar * name
GLboolean GLboolean GLboolean b
FMT_INLINE void print(format_string< T...> fmt, T &&...args)