HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_UniformData Class Reference

#include <RE_Shader.h>

Public Types

enum  { cached_data_size = sizeof(UT_Matrix4D) }
 

Public Member Functions

 RE_UniformData ()
 
 RE_UniformData (const RE_UniformData &data)
 
bool typeMatch (const RE_UniformData *data) const
 
int64 getMemoryUsage (bool inclusive) const
 

Public Attributes

UT_StringHolder name
 
RE_UniformType type
 
int arraysize
 
int topsize
 
int topstride
 
int uniformblock
 
int dataoffset
 
int location
 
int tex_unit
 
int image_unit
 
bool value_cached
 
char cached_data [cached_data_size]
 

Detailed Description

Definition at line 1245 of file RE_Shader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
cached_data_size 

Definition at line 1286 of file RE_Shader.h.

Constructor & Destructor Documentation

RE_UniformData::RE_UniformData ( )
inline

Definition at line 1248 of file RE_Shader.h.

RE_UniformData::RE_UniformData ( const RE_UniformData data)
inline

Definition at line 1256 of file RE_Shader.h.

Member Function Documentation

int64 RE_UniformData::getMemoryUsage ( bool  inclusive) const
inline

Returns the amount of main memory (NOT graphics memory!) owned by this RE_UniformData.

Definition at line 1279 of file RE_Shader.h.

bool RE_UniformData::typeMatch ( const RE_UniformData data) const
inline

Definition at line 1270 of file RE_Shader.h.

Member Data Documentation

int RE_UniformData::arraysize

Definition at line 1290 of file RE_Shader.h.

char RE_UniformData::cached_data[cached_data_size]

Definition at line 1299 of file RE_Shader.h.

int RE_UniformData::dataoffset

Definition at line 1294 of file RE_Shader.h.

int RE_UniformData::image_unit

Definition at line 1297 of file RE_Shader.h.

int RE_UniformData::location

Definition at line 1295 of file RE_Shader.h.

UT_StringHolder RE_UniformData::name

Definition at line 1288 of file RE_Shader.h.

int RE_UniformData::tex_unit

Definition at line 1296 of file RE_Shader.h.

int RE_UniformData::topsize

Definition at line 1291 of file RE_Shader.h.

int RE_UniformData::topstride

Definition at line 1292 of file RE_Shader.h.

RE_UniformType RE_UniformData::type

Definition at line 1289 of file RE_Shader.h.

int RE_UniformData::uniformblock

Definition at line 1293 of file RE_Shader.h.

bool RE_UniformData::value_cached

Definition at line 1298 of file RE_Shader.h.


The documentation for this class was generated from the following file: