HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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_String 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 1141 of file RE_Shader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
cached_data_size 

Definition at line 1182 of file RE_Shader.h.

Constructor & Destructor Documentation

RE_UniformData::RE_UniformData ( )
inline

Definition at line 1144 of file RE_Shader.h.

RE_UniformData::RE_UniformData ( const RE_UniformData data)
inline

Definition at line 1152 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 1175 of file RE_Shader.h.

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

Definition at line 1166 of file RE_Shader.h.

Member Data Documentation

int RE_UniformData::arraysize

Definition at line 1186 of file RE_Shader.h.

char RE_UniformData::cached_data[cached_data_size]

Definition at line 1195 of file RE_Shader.h.

int RE_UniformData::dataoffset

Definition at line 1190 of file RE_Shader.h.

int RE_UniformData::image_unit

Definition at line 1193 of file RE_Shader.h.

int RE_UniformData::location

Definition at line 1191 of file RE_Shader.h.

UT_String RE_UniformData::name

Definition at line 1184 of file RE_Shader.h.

int RE_UniformData::tex_unit

Definition at line 1192 of file RE_Shader.h.

int RE_UniformData::topsize

Definition at line 1187 of file RE_Shader.h.

int RE_UniformData::topstride

Definition at line 1188 of file RE_Shader.h.

RE_UniformType RE_UniformData::type

Definition at line 1185 of file RE_Shader.h.

int RE_UniformData::uniformblock

Definition at line 1189 of file RE_Shader.h.

bool RE_UniformData::value_cached

Definition at line 1194 of file RE_Shader.h.


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