3#include "Components/Core/RenderComponent.h"
5#include "Rendering/Common.h"
7#include "Resources/Resources.h"
33template<>
inline Cogs::StringView getName<Cogs::Core::SubMeshRenderComponent>() {
return "SubMeshRenderComponent"; }
Base component for all rendering content.
Renders a mesh with flexible submesh usage.
std::vector< MaterialInstanceHandle > materials
Materials used to render individual sub-meshes.
static void registerType()
Register the type in the type system.
int subMesh
Sub mesh index.
Provides a weakly referenced view over the contents of a string.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....