You.i Engine
CYIDelegatingNodeAdapter::Delegate Class Referenceabstract

Detailed Description

An interface for a class that creates and dismisses nodes.

#include <streamer/YiDelegatingNodeAdapter.h>

Public Member Functions

virtual ~Delegate ()=default
 
virtual size_t GetItemsCountForAdapter () const =0
 
virtual glm::vec3 GetInitialNodeSizeForAdapter (size_t index) const =0
 
virtual std::unique_ptr< CYISceneNodeBuildNodeForAdapter (size_t index, CYISceneManager *pSceneManager)=0
 
virtual void ReleaseNodeForAdapter (size_t index, std::unique_ptr< CYISceneNode > pNode)=0
 

Constructor & Destructor Documentation

◆ ~Delegate()

virtual CYIDelegatingNodeAdapter::Delegate::~Delegate ( )
virtualdefault

Member Function Documentation

◆ BuildNodeForAdapter()

virtual std::unique_ptr<CYISceneNode> CYIDelegatingNodeAdapter::Delegate::BuildNodeForAdapter ( size_t  index,
CYISceneManager pSceneManager 
)
pure virtual

◆ GetInitialNodeSizeForAdapter()

virtual glm::vec3 CYIDelegatingNodeAdapter::Delegate::GetInitialNodeSizeForAdapter ( size_t  index) const
pure virtual

◆ GetItemsCountForAdapter()

virtual size_t CYIDelegatingNodeAdapter::Delegate::GetItemsCountForAdapter ( ) const
pure virtual

◆ ReleaseNodeForAdapter()

virtual void CYIDelegatingNodeAdapter::Delegate::ReleaseNodeForAdapter ( size_t  index,
std::unique_ptr< CYISceneNode pNode 
)
pure virtual

The documentation for this class was generated from the following file: