#pragma once #include "../RenderPipeline.h" #include "../RenderPipelineDescriptor.h" #include "platform/CCGL.h" #include CC_BACKEND_BEGIN class ProgramGL; class BlendStateGL; class RenderPipelineGL : public RenderPipeline { public: RenderPipelineGL(const RenderPipelineDescriptor& descriptor); ~RenderPipelineGL(); inline ProgramGL* getProgram() const { return _programGL; } inline BlendStateGL* getBlendState() const { return _blendState; } private: ProgramGL* _programGL = nullptr; BlendStateGL* _blendState = nullptr; }; CC_BACKEND_END