| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #pragma once
- #include "BsCorePrerequisites.h"
- #include "BsMaterialProxy.h"
- #include "BsMeshProxy.h"
- #include "BsBounds.h"
- #include "BsMatrix4.h"
- namespace BansheeEngine
- {
- // TODO UNDOCUMENTED
- class BS_CORE_EXPORT RenderableElement
- {
- public:
- RenderableElement();
- Bounds calculateWorldBounds();
- UINT32 id;
- Matrix4 worldTransform;
- MeshProxyPtr mesh;
- MaterialProxyPtr material;
- UINT64 layer;
- private:
- bool mBoundsDirty;
- };
- class BS_CORE_EXPORT RenderableProxy
- {
- public:
- ~RenderableProxy();
- Vector<RenderableElement*> renderableElements;
- RenderableType renderableType;
- };
- typedef std::shared_ptr<RenderableProxy> RenderableProxyPtr;
- }
|