![]() |
Faro Engine 0.0.0.b519570 (main)
|
Graphics pipeline state object. More...
#include <GraphicsPipeline.hpp>
Public Member Functions | |
| void | Init (GraphicsAdapter *adapter, GraphicsPipelineDesc desc) |
| void | Init (GraphicsAdapter *adapter) |
| Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization. | |
| void | Init () override |
| Run the initialization logic of this object. Should be overriden by deriving classes. | |
| GraphicsAdapter * | GetAdapter () |
| template<class T > | |
| T * | GetTypedAdapter () |
| virtual void | Destroy () |
| Run the destruction logic of this class. This also frees its memory. | |
Static Public Member Functions | |
| static bool | LoadShader (DataStream *stream, GraphicsPipelineDesc &desc) |
| Load a prebuilt shader into the provided pipeline description. | |
Protected Attributes | |
| GraphicsPipelineDesc | desc |
Graphics pipeline state object.
|
virtualinherited |
Run the destruction logic of this class. This also frees its memory.
Reimplemented in Faro::DataStream, Faro::DataStreamCopy, Faro::GraphicsBufferContainer, Faro::GraphicsSwapchain, Faro::GraphicsBufferVK, Faro::GraphicsCommandListVK, Faro::GraphicsFenceVK, Faro::GraphicsPipelineVK, Faro::GraphicsSemaphoreVK, and Faro::GraphicsSwapchainVK.
|
inherited |
|
inlineinherited |
|
overridevirtual |
Run the initialization logic of this object. Should be overriden by deriving classes.
Reimplemented from Faro::IObject.
Reimplemented in Faro::GraphicsPipelineVK, and Faro::GraphicsPipelineVK.
| void Faro::IGraphicsAdapterChild::Init | ( | GraphicsAdapter * | adapter | ) |
Initialize this as a child object for an adapter. Also invokes IObject::Init, derived classes should use that for initialization.
| adapter | Graphics adapter to initialize this child on. |
| void Faro::GraphicsPipeline::Init | ( | GraphicsAdapter * | adapter, |
| GraphicsPipelineDesc | desc | ||
| ) |
|
static |
Load a prebuilt shader into the provided pipeline description.
| stream | Stream to read the shader from | |
| [out] | desc | Pipeline description to place the shader in |
|
protected |