20 RenderingPipelineImpl(
const RenderingPipelineType type = RenderingPipelineType::None) : __type(type) {}
23 inline void SetShaderType(
const RenderingPipelineType type) { __type = type; }
24 inline RenderingPipelineType GetShaderType()
const {
return __type; }
25 inline const ShaderPipelineList & GetRenderingPipelineCache()
const {
return GetRenderingPipelineCache(__type); }
27 static const ShaderPipelineList & GetRenderingPipelineCache(
const RenderingPipelineType type);
34 static void SetRenderingPipelineCache(
const ShaderPipelineList & list,
const RenderingPipelineType type);
36 RenderingPipelineType __type;
49 inline void SetShaderType(
const RenderingPipelineType type) { _impl->As<
RenderingPipelineImpl>()->SetShaderType(type); }
50 inline RenderingPipelineType GetShaderType()
const {
return _impl->As<
RenderingPipelineImpl>()->GetShaderType(); }
51 inline const ShaderPipelineList & GetRenderingPipelineCache()
const {
return _impl->As<
RenderingPipelineImpl>()->GetRenderingPipelineCache(); }
52 inline static const ShaderPipelineList & GetRenderingPipelineCache(
const RenderingPipelineType type) {
return RenderingPipelineImpl::GetRenderingPipelineCache(type); }