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

Detailed Description

Draw operation set.

Public Member Functions

virtual void Clear ()=0
 Clear the operation set. More...
 
virtual iDrawOperationInsert (iDrawOperation *apDO)=0
 Insert a draw operation in the set. More...
 
virtual tBool InsertSet (const iDrawOperationSet *apSet)=0
 Insert another set in the set. More...
 
virtual tU32 GetNumDrawOperations () const =0
 Get the number of elements in the set. {Property}. More...
 
virtual iDrawOperationBegin ()=0
 Go to the first iterator and returns it. More...
 
virtual iDrawOperationNext ()=0
 Move to the next draw op and returns it. More...
 
virtual tBool IsEnd () const =0
 Return eTrue if the iterator is the end of the set. More...
 
virtual iDrawOperationGetCurrent () const =0
 Get the current iterator. {Property}. More...
 
virtual tBool GetIsEmpty () const =0
 Check whether the draw operation set is empty. {Property}. More...
 
virtual tU32 Draw (iGraphicsContext *apContext, iFrustum *apFrustum)=0
 Draw all draw operation of the set with specified graphics context. More...
 
virtual tU32 XDraw (const sMatrixf &aMatrix, iGraphicsContext *apContext, iFrustum *apFrustum)=0
 Draw all draw operation of the set with specified graphics context and matrix set on each draw op. 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 void Clear ( )
pure virtual

Clear the operation set.

Remarks
Invalidates the iterator
virtual iDrawOperation* Insert ( iDrawOperation apDO)
pure virtual

Insert a draw operation in the set.

Remarks
Invalidates the iterator
Returns
The draw operation inserted
virtual tBool InsertSet ( const iDrawOperationSet apSet)
pure virtual

Insert another set in the set.

Remarks
Invalidates the iterator
virtual tU32 GetNumDrawOperations ( ) const
pure virtual

Get the number of elements in the set. {Property}.

virtual iDrawOperation* Begin ( )
pure virtual

Go to the first iterator and returns it.

virtual iDrawOperation* Next ( )
pure virtual

Move to the next draw op and returns it.

virtual tBool IsEnd ( ) const
pure virtual

Return eTrue if the iterator is the end of the set.

virtual iDrawOperation* GetCurrent ( ) const
pure virtual

Get the current iterator. {Property}.

virtual tBool GetIsEmpty ( ) const
pure virtual

Check whether the draw operation set is empty. {Property}.

virtual tU32 Draw ( iGraphicsContext apContext,
iFrustum apFrustum 
)
pure virtual

Draw all draw operation of the set with specified graphics context.

Parameters
apContextthe context to draw to
apFrustumif specified frustum culling is applied to the draw operation that have a valid bounding volume
virtual tU32 XDraw ( const sMatrixf aMatrix,
iGraphicsContext apContext,
iFrustum apFrustum 
)
pure virtual

Draw all draw operation of the set with specified graphics context and matrix set on each draw op.

Parameters
aMatrixthe matrix to set on the draw ops
apContextthe context to draw to
apFrustumif specified frustum culling is applied to the draw operation that have a valid bounding volume