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

Detailed Description

Rasterizer states {Serialize}.

Public Member Functions

virtual tPtr GetDescStructPtr () const =0
 Get the states description structure pointer. {Property}. More...
 
virtual ni::tBool SerializeDataTable (ni::iDataTable *apDT, tSerializeFlags aFlags)=0
 Serialize the states. 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...
 

General

virtual tBool Copy (const iRasterizerStates *apStates)=0
 Copy another rasterizer states. More...
 
virtual iRasterizerStatesClone () const =0
 Clone this rasterizer states. More...
 
virtual tBool GetIsCompiled () const =0
 Return whether the rasterizer states are compiled (read-only) {Property}. More...
 

Rasterizer

virtual tBool SetWireframe (tBool abWireframe)=0
 Set wireframe rendering. (default false) {Property}{Serialize}. More...
 
virtual tBool GetWireframe () const =0
 Get wireframe rendering. {Property}{Serialize}. More...
 
virtual tBool SetCullingMode (eCullingMode aMode)=0
 Set the culling mode. (default eCullingMode_None) {Property}{Serialize}. More...
 
virtual eCullingMode GetCullingMode () const =0
 Get the culling mode. {Property}{Serialize}. More...
 
virtual tBool SetColorWriteMask (eColorWriteMask aMask)=0
 Set the color write mask. (default eColorWriteMask_All) {Property}{Serialize}. More...
 
virtual eColorWriteMask GetColorWriteMask () const =0
 Get the color write mask. {Property}{Serialize}. More...
 

Scissor

virtual tBool SetScissorTest (tBool abTest)=0
 Set whether the scissor test is enabled. (default false) {Property}{Serialize}. More...
 
virtual tBool GetScissorTest () const =0
 Get whether the scissor test is enabled. {Property}{Serialize}. More...
 

Depth bias

virtual tBool SetDepthBiasFactor (tF32 aVal)=0
 Set the depth bias factor. (default 0) {Property}{Serialize}. More...
 
virtual tF32 GetDepthBiasFactor () const =0
 Get the depth bias factor. {Property}{Serialize}. More...
 
virtual tBool SetDepthBiasUnitScale (tF32 aVal)=0
 Set the depth bias unit scale factor. (default 0) {Property}{Serialize}. More...
 
virtual tF32 GetDepthBiasUnitScale () const =0
 Get the depth bias unit scale factor. {Property}{Serialize}. More...
 

Member Function Documentation

virtual tBool Copy ( const iRasterizerStates apStates)
pure virtual

Copy another rasterizer states.

virtual iRasterizerStates* Clone ( ) const
pure virtual

Clone this rasterizer states.

virtual tBool GetIsCompiled ( ) const
pure virtual

Return whether the rasterizer states are compiled (read-only) {Property}.

virtual tBool SetWireframe ( tBool  abWireframe)
pure virtual

Set wireframe rendering. (default false) {Property}{Serialize}.

virtual tBool GetWireframe ( ) const
pure virtual

Get wireframe rendering. {Property}{Serialize}.

virtual tBool SetCullingMode ( eCullingMode  aMode)
pure virtual

Set the culling mode. (default eCullingMode_None) {Property}{Serialize}.

virtual eCullingMode GetCullingMode ( ) const
pure virtual

Get the culling mode. {Property}{Serialize}.

virtual tBool SetColorWriteMask ( eColorWriteMask  aMask)
pure virtual

Set the color write mask. (default eColorWriteMask_All) {Property}{Serialize}.

virtual eColorWriteMask GetColorWriteMask ( ) const
pure virtual

Get the color write mask. {Property}{Serialize}.

virtual tBool SetScissorTest ( tBool  abTest)
pure virtual

Set whether the scissor test is enabled. (default false) {Property}{Serialize}.

virtual tBool GetScissorTest ( ) const
pure virtual

Get whether the scissor test is enabled. {Property}{Serialize}.

virtual tBool SetDepthBiasFactor ( tF32  aVal)
pure virtual

Set the depth bias factor. (default 0) {Property}{Serialize}.

virtual tF32 GetDepthBiasFactor ( ) const
pure virtual

Get the depth bias factor. {Property}{Serialize}.

virtual tBool SetDepthBiasUnitScale ( tF32  aVal)
pure virtual

Set the depth bias unit scale factor. (default 0) {Property}{Serialize}.

virtual tF32 GetDepthBiasUnitScale ( ) const
pure virtual

Get the depth bias unit scale factor. {Property}{Serialize}.

virtual tPtr GetDescStructPtr ( ) const
pure virtual

Get the states description structure pointer. {Property}.

virtual ni::tBool SerializeDataTable ( ni::iDataTable apDT,
tSerializeFlags  aFlags 
)
pure virtual

Serialize the states.