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

Detailed Description

Sampler states interface. {Serialize}.

Public Member Functions

virtual tBool Copy (const iSamplerStates *apStates)=0
 Copy another sampler states. More...
 
virtual iSamplerStatesClone () const =0
 Clone this sampler states. More...
 
virtual tBool GetIsCompiled () const =0
 Return whether the sampler states are compiled (read-only) {Property}. More...
 
virtual tBool SetFilter (eSamplerFilter aFilter)=0
 Set the filtering mode. (default eSamplerFilter_Point) {Property}{Serialize}. More...
 
virtual eSamplerFilter GetFilter () const =0
 Get the filtering mode. {Property}{Serialize}. More...
 
virtual tBool SetWrapS (eSamplerWrap aWrap)=0
 Set the S-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}. More...
 
virtual eSamplerWrap GetWrapS () const =0
 Get the S-axis wrapping mode. {Property}{Serialize}. More...
 
virtual tBool SetWrapT (eSamplerWrap aWrap)=0
 Set the T-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}. More...
 
virtual eSamplerWrap GetWrapT () const =0
 Get the T-axis wrapping mode. {Property}{Serialize}. More...
 
virtual tBool SetWrapR (eSamplerWrap aWrap)=0
 Set the R-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}. More...
 
virtual eSamplerWrap GetWrapR () const =0
 Get the R-axis wrapping mode. {Property}{Serialize}. More...
 
virtual tBool SetBorderColor (const sColor4f &avColor)=0
 Set the border color, for border sampler wrap mode. {Property}{Serialize}. More...
 
virtual const sColor4fGetBorderColor () const =0
 Get the border color. {Property}{Serialize}. More...
 
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...
 

Member Function Documentation

virtual tBool Copy ( const iSamplerStates apStates)
pure virtual

Copy another sampler states.

virtual iSamplerStates* Clone ( ) const
pure virtual

Clone this sampler states.

virtual tBool GetIsCompiled ( ) const
pure virtual

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

virtual tBool SetFilter ( eSamplerFilter  aFilter)
pure virtual

Set the filtering mode. (default eSamplerFilter_Point) {Property}{Serialize}.

virtual eSamplerFilter GetFilter ( ) const
pure virtual

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

virtual tBool SetWrapS ( eSamplerWrap  aWrap)
pure virtual

Set the S-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}.

virtual eSamplerWrap GetWrapS ( ) const
pure virtual

Get the S-axis wrapping mode. {Property}{Serialize}.

virtual tBool SetWrapT ( eSamplerWrap  aWrap)
pure virtual

Set the T-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}.

virtual eSamplerWrap GetWrapT ( ) const
pure virtual

Get the T-axis wrapping mode. {Property}{Serialize}.

virtual tBool SetWrapR ( eSamplerWrap  aWrap)
pure virtual

Set the R-axis wrapping mode. (default eSamplerWrap_Clamp) {Property}{Serialize}.

virtual eSamplerWrap GetWrapR ( ) const
pure virtual

Get the R-axis wrapping mode. {Property}{Serialize}.

virtual tBool SetBorderColor ( const sColor4f avColor)
pure virtual

Set the border color, for border sampler wrap mode. {Property}{Serialize}.

virtual const sColor4f& GetBorderColor ( ) const
pure virtual

Get the border color. {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.