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_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 1152 of file RE_Shader.h.

Member Enumeration Documentation

anonymous enum
Enumerator
cached_data_size 

Definition at line 1193 of file RE_Shader.h.

Constructor & Destructor Documentation

RE_UniformData::RE_UniformData ( )
inline

Definition at line 1155 of file RE_Shader.h.

RE_UniformData::RE_UniformData ( const RE_UniformData data)
inline

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

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

Definition at line 1177 of file RE_Shader.h.

Member Data Documentation

int RE_UniformData::arraysize

Definition at line 1197 of file RE_Shader.h.

char RE_UniformData::cached_data[cached_data_size]

Definition at line 1206 of file RE_Shader.h.

int RE_UniformData::dataoffset

Definition at line 1201 of file RE_Shader.h.

int RE_UniformData::image_unit

Definition at line 1204 of file RE_Shader.h.

int RE_UniformData::location

Definition at line 1202 of file RE_Shader.h.

UT_String RE_UniformData::name

Definition at line 1195 of file RE_Shader.h.

int RE_UniformData::tex_unit

Definition at line 1203 of file RE_Shader.h.

int RE_UniformData::topsize

Definition at line 1198 of file RE_Shader.h.

int RE_UniformData::topstride

Definition at line 1199 of file RE_Shader.h.

RE_UniformType RE_UniformData::type

Definition at line 1196 of file RE_Shader.h.

int RE_UniformData::uniformblock

Definition at line 1200 of file RE_Shader.h.

bool RE_UniformData::value_cached

Definition at line 1205 of file RE_Shader.h.


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