13 #ifndef RE_UniformBlock_h
14 #define RE_UniformBlock_h
40 int64 getMemoryUsage(
bool inclusive)
const;
48 void setInstanceName(
const char *
name);
51 const char * getInstanceName()
const;
76 int getNumUniforms()
const;
78 const char *getUniformName(
int index)
const;
80 int getUniformShaderIndex(
int index)
const;
101 int array_index = 0);
107 int array_index = 0);
112 int array_index = 0);
117 int array_index = 0);
122 int array_index = 0);
131 int array_index = 0);
136 int array_index = 0);
141 int array_index = 0);
146 int array_index = 0);
150 int array_index = 0);
154 int array_index = 0);
159 int array_index = 0);
163 int array_index = 0);
167 int array_index = 0);
172 int array_index = 0);
176 int array_index = 0);
180 int array_index = 0);
185 int array_index = 0);
189 int array_index = 0);
193 int array_index = 0);
212 void print(std::ostream *os =
nullptr);
222 void setName(
const char *name);
225 void setSize(
int bytes);
235 int top_array_stride);
236 void clearUniforms();
237 void setBufferSizes(
int fixed_size_bytes,
238 int variable_size_bytes);
247 myResetCount!=theResetCounter;}
249 void setInitializedFor(
const RE_Shader *sh);
251 bool isInitializedFor(
const RE_Shader *sh)
const;
260 void copyToBuffer(
const void *
data,
int len,
int offset,
262 void copyToBuffer3(
const void *
data,
int len,
int dsize,
265 void printMember(std::ostream &os,
int idx,
293 static int theResetCounter;
305 return myInstanceName;
317 return myInitShader == sh;
unsigned long long uint64
A reference counter base class for use with UT_IntrusivePtr.
GLint GLint GLsizei GLint GLenum GLenum type
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
GLint GLenum GLboolean GLsizei stride
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
GLboolean GLboolean GLboolean b
FMT_INLINE void print(format_string< T...> fmt, T &&...args)