HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_TextureCallback Class Referenceabstract

#include <RE_Material.h>

Public Types

enum  RE_TexMapType {
  DIFFUSE, SPECULAR, BUMP, NORMAL,
  OPACITY, ENVIRONMENT, DISPLACEMENT, EMISSION,
  ROUGHNESS, OCCLUSION, METALLIC, COAT_INTENSITY,
  COAT_ROUGHNESS, REFLECTION_AMOUNT, HAIR_DIFFUSE, HAIR_DIFFUSE_BLEND,
  HAIR_SPECULAR, HAIR_SPECULAR_BLEND, HAIR_ALPHA, GAME_BLEND
}
 

Public Member Functions

 RE_TextureCallback ()
 This class is used to provide texture parameters for each texture layer. More...
 
virtual ~RE_TextureCallback ()
 
virtual int getNumLayers () const
 
virtual void updateAllSources (RE_Material *mat, const UT_Options *opts, fpreal time)
 
virtual RE_TextureMapcreateTexture (RE_Render *r, int layer, RE_TexMapType type, UT_String &uvsetname)
 
virtual int64 getMemoryUsage (bool inclusive) const =0
 

Static Public Member Functions

static bool fetchRegOrUDIM (const UT_StringHolder &tex_name, const UT_StringHolder &node_path, RE_TextureMap *&map)
 

Detailed Description

Definition at line 41 of file RE_Material.h.

Member Enumeration Documentation

Enumerator
DIFFUSE 
SPECULAR 
BUMP 
NORMAL 
OPACITY 
ENVIRONMENT 
DISPLACEMENT 
EMISSION 
ROUGHNESS 
OCCLUSION 
METALLIC 
COAT_INTENSITY 
COAT_ROUGHNESS 
REFLECTION_AMOUNT 
HAIR_DIFFUSE 
HAIR_DIFFUSE_BLEND 
HAIR_SPECULAR 
HAIR_SPECULAR_BLEND 
HAIR_ALPHA 
GAME_BLEND 

Definition at line 48 of file RE_Material.h.

Constructor & Destructor Documentation

RE_TextureCallback::RE_TextureCallback ( )

This class is used to provide texture parameters for each texture layer.

virtual RE_TextureCallback::~RE_TextureCallback ( )
virtual

Member Function Documentation

virtual RE_TextureMap* RE_TextureCallback::createTexture ( RE_Render r,
int  layer,
RE_TexMapType  type,
UT_String uvsetname 
)
virtual
static bool RE_TextureCallback::fetchRegOrUDIM ( const UT_StringHolder tex_name,
const UT_StringHolder node_path,
RE_TextureMap *&  map 
)
static
virtual int64 RE_TextureCallback::getMemoryUsage ( bool  inclusive) const
pure virtual

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

virtual int RE_TextureCallback::getNumLayers ( ) const
inlinevirtual

Definition at line 74 of file RE_Material.h.

virtual void RE_TextureCallback::updateAllSources ( RE_Material mat,
const UT_Options opts,
fpreal  time 
)
inlinevirtual

Definition at line 75 of file RE_Material.h.


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