TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iPainterShader Struct Referenceabstract
Inheritance diagram for iPainterShader:
iUnknown

Detailed Description

Cached shader.

Public Member Functions

virtual iShaderGetShader () const =0
 Get the shader. {Property}. More...
 
virtual const tUUIDGetCacheFlags () const =0
 Get the cache flags. {Property}. More...
 
virtual tU32 GetNumSamplers () const =0
 Get the number of samplers. {Property}. More...
 
virtual tI8 GetMaterialSamplerIndex (eMaterialChannel aChannel) const =0
 Get the sampler index of the given material channel. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual iShader* GetShader ( ) const
pure virtual

Get the shader. {Property}.

virtual const tUUID& GetCacheFlags ( ) const
pure virtual

Get the cache flags. {Property}.

virtual tU32 GetNumSamplers ( ) const
pure virtual

Get the number of samplers. {Property}.

virtual tI8 GetMaterialSamplerIndex ( eMaterialChannel  aChannel) const
pure virtual

Get the sampler index of the given material channel.