2 #ifndef _YI_VIEW_POOL_H_ 3 #define _YI_VIEW_POOL_H_ 63 void ReleaseView(std::unique_ptr<CYISceneView> pView);
77 typedef std::map<CYISceneView *, bool> ViewMap;
78 typedef std::map<CYIString, ViewMap> TypeMap;
94 #endif // _YI_VIEW_POOL_H_ Definition: YiAbstractSignalTransition.h:7
int32_t GetAllocatedAmount(const CYIString &templateName, const CYIRuntimeTypeInfo &viewType) const
Scene trees composed of CYISceneNode objects are registered with the scene manager in order for them ...
Definition: YiSceneManager.h:73
The base class for all view types. Views are containers of renderable elements that often define inte...
Definition: YiSceneView.h:47
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
Definition: YiViewPool.h:40
CYIViewPool(CYISceneManager *pSceneManager, TYPE eType=STATIC)
std::unique_ptr< CYISceneView > TakeView(const CYIString &viewTemplateName, const CYIRuntimeTypeInfo &viewType)
void ReleaseView(std::unique_ptr< CYISceneView > pView)
int32_t GetAllocatedAmountRemaining(const CYIString &templateName, const CYIRuntimeTypeInfo &viewType) const
The abstract runtime representation of a C++ type.
Definition: YiRtti.h:48
Definition: YiViewPool.h:41
This class provides a collection of views that can be re-used.
Definition: YiViewPool.h:31
TYPE
Definition: YiViewPool.h:38
void AddViewType(const CYIString &viewTemplateName, const CYIRuntimeTypeInfo &viewType, int32_t nPreAllocate)
This file contains the classes and macros used to implement RTTI in You.i Engine. ...