3#include "Components/Core/RenderComponent.h"
5#include "Rendering/Common.h"
7#include "Resources/Resources.h"
37template<>
inline Cogs::StringView getName<Cogs::Core::MeshRenderComponent>() {
return "MeshRenderComponent"; }
Renders the contents of a MeshComponent using the given materials.
uint32_t startIndex
Start vertex index to render from.
uint32_t vertexCount
Number of vertexes to draw.
MaterialInstanceHandle material
Material used to render the mesh.
PrimitiveType::EPrimitiveType primitiveType
Primitive type to use when drawing.
static void registerType()
Register the type in the type system.
Base component for all rendering content.
Provides a weakly referenced view over the contents of a string.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
EPrimitiveType
Primitive type enumeration.