mirror of https://github.com/axmolengine/axmol.git
29 lines
584 B
C++
29 lines
584 B
C++
#pragma once
|
|
|
|
#include "../RenderPipeline.h"
|
|
#include "../RenderPipelineDescriptor.h"
|
|
|
|
#include "platform/CCGL.h"
|
|
|
|
#include <vector>
|
|
|
|
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
|