#include <Pipeline.h>
Public Member Functions | |
| const ShaderPointer & | getProgram () const |
| const StatePointer & | getState () const |
Static Public Member Functions | |
| static Pointer | create (const ShaderPointer &program, const StatePointer &state) |
| Creates new pipeline. More... | |
Public Attributes | |
| const GPUObjectPointer | gpuObject {} |
| Graphics API-specific object representing the pipeline. | |
Protected Attributes | |
| ShaderPointer | _program |
| Vertex and fragment shader. | |
| StatePointer | _state |
| Pipeline setup. | |
Contains render pipeline setup and pointer to the shaders.
|
static |
Creates new pipeline.
| program | Shared pointer to the Shader object (contains both vertex and fragment shader). |
| state | Render pipeline state. |
|
inline |
|
inline |