19class VENOM_COMMON_API RenderingPipelineImpl :
public PluginObjectImpl,
public GraphicsPluginObject
22 RenderingPipelineImpl(
const RenderingPipelineType type = RenderingPipelineType::None) : __type(type) {}
23 virtual ~RenderingPipelineImpl();
25 inline void SetShaderType(
const RenderingPipelineType type) { __type = type; }
26 inline RenderingPipelineType GetShaderType()
const {
return __type; }
27 inline const ShaderPipelineList & GetRenderingPipelineCache()
const {
return GetRenderingPipelineCache(__type); }
29 static const ShaderPipelineList & GetRenderingPipelineCache(
const RenderingPipelineType type);
38 RenderingPipelineType __type;
44class VENOM_COMMON_API RenderingPipeline :
public PluginObjectImplWrapper
48 RenderingPipeline(
const RenderingPipelineType type);
49 ~RenderingPipeline() =
default;
51 inline void SetShaderType(
const RenderingPipelineType type) { _impl->As<
RenderingPipelineImpl>()->SetShaderType(type); }
52 inline RenderingPipelineType GetShaderType()
const {
return _impl->As<
RenderingPipelineImpl>()->GetShaderType(); }
53 inline const ShaderPipelineList & GetRenderingPipelineCache()
const {
return _impl->As<
RenderingPipelineImpl>()->GetRenderingPipelineCache(); }
54 inline static const ShaderPipelineList & GetRenderingPipelineCache(
const RenderingPipelineType type) {
return RenderingPipelineImpl::GetRenderingPipelineCache(type); }
static void SetRenderingPipelineCache(const ShaderPipelineList &list, const RenderingPipelineType type)
Sets the list of shader pipelines in cache.
Definition RenderingPipeline.cc:30