Plasma Engine  2.0
Loading...
Searching...
No Matches
Renderer.h
1#pragma once
2
3#include <RendererCore/Pipeline/RenderData.h>
4
8class PL_RENDERERCORE_DLL plRenderer : public plReflectedClass
9{
10 PL_ADD_DYNAMIC_REFLECTION(plRenderer, plReflectedClass);
11
12public:
13 virtual void GetSupportedRenderDataTypes(plHybridArray<const plRTTI*, 8>& ref_types) const = 0;
14 virtual void GetSupportedRenderDataCategories(plHybridArray<plRenderData::Category, 8>& ref_categories) const = 0;
15
16 virtual void RenderBatch(const plRenderViewContext& renderViewContext, const plRenderPipelinePass* pPass, const plRenderDataBatch& batch) const = 0;
17};
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
Definition RenderDataBatch.h:6
Definition RenderPipelinePass.h:26
This is the base class for types that handle rendering of different object types.
Definition Renderer.h:9
Definition Declarations.h:51