![]() |
XII Release 0.1.0
|
An extractor that can be instantiated in a render pipeline, to define manually which objects should be rendered with a selection outline. More...
#include <Extractor.h>
Public Member Functions | |
xiiSelectedObjectsExtractor (xiiStringView sName="ExplicitlySelectedObjectsExtractor") | |
virtual const xiiDeque< xiiGameObjectHandle > * | GetSelection () override |
virtual xiiResult | Serialize (xiiStreamWriter &inout_stream) const override |
virtual xiiResult | Deserialize (xiiStreamReader &inout_stream) override |
void | SetSelectionContext (xiiSelectedObjectsContext *pSelectionContext) |
The context is typically set through a xiiView, through xiiView::SetExtractorProperty("<name>", "SelectionContext", pointer);. | |
xiiSelectedObjectsContext * | GetSelectionContext () const |
![]() | |
xiiSelectedObjectsExtractorBase (xiiStringView sName="SelectedObjectsExtractor") | |
virtual void | Extract (const xiiView &view, const xiiDynamicArray< const xiiGameObject * > &visibleObjects, xiiExtractedRenderData &ref_extractedRenderData) override |
virtual void | PostSortAndBatch (const xiiView &view, const xiiDynamicArray< const xiiGameObject * > &visibleObjects, xiiExtractedRenderData &ref_extractedRenderData) override |
![]() | |
xiiExtractor (xiiStringView sName) | |
void | SetName (xiiStringView sName) |
Sets the name of the extractor. | |
xiiStringView | GetName () const |
returns the name of the extractor. | |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
![]() | |
xiiRenderData::Category | m_OverrideCategory |
![]() | |
bool | FilterByViewTags (const xiiView &view, const xiiGameObject *pObject) const |
returns true if the given object should be filtered by view tags. | |
void | ExtractRenderData (const xiiView &view, const xiiGameObject *pObject, xiiMsgExtractRenderData &msg, xiiExtractedRenderData &extractedRenderData) const |
extracts the render data for the given object. | |
![]() | |
xiiHybridArray< xiiHashedString, 4 > | m_DependsOn |
An extractor that can be instantiated in a render pipeline, to define manually which objects should be rendered with a selection outline.
|
overridevirtual |
Reimplemented from xiiExtractor.
|
overridevirtual |
Implements xiiSelectedObjectsExtractorBase.
|
overridevirtual |
Reimplemented from xiiExtractor.