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

Detailed Description

Painter states interface.

Public Member Functions

virtual tBool Copy (const iPainterStates *apStates)=0
 Copy another state object. More...
 
virtual iPainterStatesClone () const =0
 Clone this state object. More...
 
virtual void SetFogDensity (tF32 afDensity)=0
 Set the fog density. More...
 
virtual tF32 GetFogDensity () const =0
 Get the fog density. {Property}. More...
 
virtual void SetFogColor (const sColor3f &avColor)=0
 Set the fog color. (Default White) {Property}. More...
 
virtual sColor3f GetFogColor () const =0
 Get the fog color. {Property}. More...
 
virtual void SetFast (tBool abFast)=0
 Set fast rendering mode. {Property}. More...
 
virtual tBool GetFast () const =0
 Get fast rendering mode. {Property}. More...
 
virtual void SetWireframe (tBool abWireframe)=0
 Set wireframe mode. {Property}. More...
 
virtual tBool GetWireframe () const =0
 Get wireframe mode. {Property}. More...
 
virtual void SetTranslucent (tBool abV)=0
 Set whether translucent surfaces are drawn. {Property}. More...
 
virtual tBool GetTranslucent () const =0
 Get whether translucent surfaces are drawn. {Property}. More...
 
virtual void SetRefraction (tBool abV)=0
 Set whether refractive surfaces are drawn. {Property}. More...
 
virtual tBool GetRefraction () const =0
 Get whether refractive surfaces are drawn. {Property}. More...
 
virtual void SetShadows (tBool abV)=0
 Set whether to render shadows. {Property}. More...
 
virtual tBool GetShadows () const =0
 Get whether to render shadows. {Property}. More...
 
virtual void SetDebug (tBool abV)=0
 Set whether to render debug infos. {Property}. More...
 
virtual tBool GetDebug () const =0
 Get whether to render debug infos. {Property}. More...
 
virtual void SetPostProcess (tBool abV)=0
 Set whether to enable post processing effects or not. {Property}. More...
 
virtual tBool GetPostProcess () const =0
 Get whether to enable post processing effects or not. {Property}. More...
 
virtual void SetMaterialVertexShaders (tBool abV)=0
 Set whether to enable per material custom vertex shaders. {Property}. More...
 
virtual tBool GetMaterialVertexShaders () const =0
 Get whether to enable per material custom vertex shaders. {Property}. More...
 
virtual void SetMaterialPixelShaders (tBool abV)=0
 Set whether to enable per material custom pixel shaders. {Property}. More...
 
virtual tBool GetMaterialPixelShaders () const =0
 Get whether to enable per material custom pixel shaders. {Property}. 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 tBool Copy ( const iPainterStates apStates)
pure virtual

Copy another state object.

virtual iPainterStates* Clone ( ) const
pure virtual

Clone this state object.

virtual void SetFogDensity ( tF32  afDensity)
pure virtual

Set the fog density.

Remarks
Set to zero to disable (default), regular values are between 0.001 and 0.00001. {Property}
virtual tF32 GetFogDensity ( ) const
pure virtual

Get the fog density. {Property}.

virtual void SetFogColor ( const sColor3f avColor)
pure virtual

Set the fog color. (Default White) {Property}.

virtual sColor3f GetFogColor ( ) const
pure virtual

Get the fog color. {Property}.

virtual void SetFast ( tBool  abFast)
pure virtual

Set fast rendering mode. {Property}.

virtual tBool GetFast ( ) const
pure virtual

Get fast rendering mode. {Property}.

virtual void SetWireframe ( tBool  abWireframe)
pure virtual

Set wireframe mode. {Property}.

virtual tBool GetWireframe ( ) const
pure virtual

Get wireframe mode. {Property}.

virtual void SetTranslucent ( tBool  abV)
pure virtual

Set whether translucent surfaces are drawn. {Property}.

virtual tBool GetTranslucent ( ) const
pure virtual

Get whether translucent surfaces are drawn. {Property}.

virtual void SetRefraction ( tBool  abV)
pure virtual

Set whether refractive surfaces are drawn. {Property}.

virtual tBool GetRefraction ( ) const
pure virtual

Get whether refractive surfaces are drawn. {Property}.

virtual void SetShadows ( tBool  abV)
pure virtual

Set whether to render shadows. {Property}.

virtual tBool GetShadows ( ) const
pure virtual

Get whether to render shadows. {Property}.

virtual void SetDebug ( tBool  abV)
pure virtual

Set whether to render debug infos. {Property}.

virtual tBool GetDebug ( ) const
pure virtual

Get whether to render debug infos. {Property}.

virtual void SetPostProcess ( tBool  abV)
pure virtual

Set whether to enable post processing effects or not. {Property}.

virtual tBool GetPostProcess ( ) const
pure virtual

Get whether to enable post processing effects or not. {Property}.

virtual void SetMaterialVertexShaders ( tBool  abV)
pure virtual

Set whether to enable per material custom vertex shaders. {Property}.

virtual tBool GetMaterialVertexShaders ( ) const
pure virtual

Get whether to enable per material custom vertex shaders. {Property}.

virtual void SetMaterialPixelShaders ( tBool  abV)
pure virtual

Set whether to enable per material custom pixel shaders. {Property}.

virtual tBool GetMaterialPixelShaders ( ) const
pure virtual

Get whether to enable per material custom pixel shaders. {Property}.