Describes the fixed function and programmable aspects of rendering and compute operations performed by commands submitted to the GPU via a command buffer. More...
#include <pipeline.h>
| Public Member Functions | |
| virtual | ~Pipeline () | 
| virtual bool | IsValid () const =0 | 
| const T & | GetDescriptor () const | 
| Get the descriptor that was responsible for creating this pipeline. It may be copied and modified to create a pipeline variant.  More... | |
| PipelineFuture< T > | CreateVariant (bool async, std::function< void(T &desc)> descriptor_callback) const | 
| Protected Member Functions | |
| Pipeline (std::weak_ptr< PipelineLibrary > library, T desc) | |
| Protected Attributes | |
| const std::weak_ptr< PipelineLibrary > | library_ | 
| const T | desc_ | 
Describes the fixed function and programmable aspects of rendering and compute operations performed by commands submitted to the GPU via a command buffer.
A pipeline handle must be allocated upfront and kept alive for as long as possible. Do not create a pipeline object within a frame workload.
This pipeline object is almost never used directly as it is untyped. Use reflected shader information generated by the Impeller offline shader compiler to generate a typed pipeline object.
Definition at line 52 of file pipeline.h.
| 
 | virtualdefault | 
| 
 | protected | 
Definition at line 18 of file pipeline.cc.
| PipelineFuture< T > impeller::Pipeline< T >::CreateVariant | ( | bool | async, | 
| std::function< void(T &desc)> | descriptor_callback | ||
| ) | const | 
| const T & impeller::Pipeline< T >::GetDescriptor | 
Get the descriptor that was responsible for creating this pipeline. It may be copied and modified to create a pipeline variant.
Definition at line 51 of file pipeline.cc.
References desc_.
| 
 | pure virtual | 
Referenced by impeller::Command::IsValid().
| 
 | protected | 
Definition at line 74 of file pipeline.h.
| 
 | protected | 
Definition at line 72 of file pipeline.h.