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

Member Enumeration Documentation

anonymous enum

Definition at line 1221 of file RE_Shader.h.

Constructor & Destructor Documentation

RE_UniformData::RE_UniformData ( )

Definition at line 1183 of file RE_Shader.h.

RE_UniformData::RE_UniformData ( const RE_UniformData data)

Definition at line 1191 of file RE_Shader.h.

Member Function Documentation

int64 RE_UniformData::getMemoryUsage ( bool  inclusive) const

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

Definition at line 1214 of file RE_Shader.h.

bool RE_UniformData::typeMatch ( const RE_UniformData data) const

Definition at line 1205 of file RE_Shader.h.

Member Data Documentation

int RE_UniformData::arraysize

Definition at line 1225 of file RE_Shader.h.

char RE_UniformData::cached_data[cached_data_size]

Definition at line 1234 of file RE_Shader.h.

int RE_UniformData::dataoffset

Definition at line 1229 of file RE_Shader.h.

int RE_UniformData::image_unit

Definition at line 1232 of file RE_Shader.h.

int RE_UniformData::location

Definition at line 1230 of file RE_Shader.h.

UT_StringHolder RE_UniformData::name

Definition at line 1223 of file RE_Shader.h.

int RE_UniformData::tex_unit

Definition at line 1231 of file RE_Shader.h.

int RE_UniformData::topsize

Definition at line 1226 of file RE_Shader.h.

int RE_UniformData::topstride

Definition at line 1227 of file RE_Shader.h.

RE_UniformType RE_UniformData::type

Definition at line 1224 of file RE_Shader.h.

int RE_UniformData::uniformblock

Definition at line 1228 of file RE_Shader.h.

bool RE_UniformData::value_cached

Definition at line 1233 of file RE_Shader.h.

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