Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <pipeline_state.h>
Public Member Functions | |
PSO () | |
void | SetRootSignature (RootSignature &root_signature) |
RootSignature & | GetRootSignature () |
ID3D12PipelineState * | operator-> () |
virtual void | Finalize ()=0 |
void | Destroy () |
ID3D12PipelineState * | GetPSO () const |
Protected Attributes | |
ID3D12PipelineState * | pso_ |
RootSignature * | root_signature_ |
The base PipelineStateObject.
You actually never directly use this object, it is the base of the GraphicsPSO and the ComputePSO. The PSO only provides functionality that is shared between the other PSO types, such as root signatures and destruction. You are supposed to set all data on the pipeline state, and then calling PSO::Finalize() on it to actually create the PSO.
|
inline |
Constructs the PSO.
void blowbox::PSO::Destroy | ( | ) |
Destroys the PSO.
|
pure virtual |
Finalizes the PSO - it actually makes it ready for use.
Implemented in blowbox::ComputePSO, and blowbox::GraphicsPSO.
|
inline |
|
inline |
|
inline |
Pointer operator overload which returns the underlying PSO.
|
inline |
|
protected |
The underlying PSO object.
|
protected |
The root signature that is bound to this PSO.