11 #ifndef hifi_gpu_Pipeline_h
12 #define hifi_gpu_Pipeline_h
27 using Pointer = std::shared_ptr< Pipeline >;
36 static Pointer
create(
const ShaderPointer& program,
const StatePointer& state);
62 typedef Pipeline::Pointer PipelinePointer;
63 typedef std::vector< PipelinePointer > Pipelines;
Definition: gpu/src/gpu/Forward.h:134
Definition: Pipeline.h:25
const GPUObjectPointer gpuObject
Graphics API-specific object representing the pipeline.
Definition: Pipeline.h:50
ShaderPointer _program
Vertex and fragment shader.
Definition: Pipeline.h:54
const ShaderPointer & getProgram() const
Definition: Pipeline.h:42
const StatePointer & getState() const
Definition: Pipeline.h:47
static Pointer create(const ShaderPointer &program, const StatePointer &state)
Creates new pipeline.
Definition: Pipeline.cpp:26
StatePointer _state
Pipeline setup.
Definition: Pipeline.h:57