| 1234567891011121314151617181920212223242526272829 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsPrerequisites.h"
- #include "BsSubMesh.h"
- namespace BansheeEngine
- {
- /** @addtogroup Renderer-Engine-Internal
- * @{
- */
- /** Contains all information needed for rendering a single sub-mesh. Closely tied with Renderer. */
- class BS_EXPORT RenderableElement
- {
- public:
- /** Reference to the mesh to render. */
- SPtr<MeshCore> mesh;
- /** Portion of the mesh to render. */
- SubMesh subMesh;
- /** Material to render the mesh with. */
- SPtr<MaterialCore> material;
- };
- /** @} */
- }
|