| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::PipelineFuture< T > Struct Template Reference

`#include <pipeline.h>`

## Public Member Functions
const std::shared_ptr< Pipeline< T > > | Get () const
bool | IsValid () const

## Public Attributes
std::optional< T > | descriptor
std::shared_future< std::shared_ptr< Pipeline< T > > > | future

## Detailed Description

### template<typename T>
struct impeller::PipelineFuture< T >

Definition at line 26 of file pipeline.h.

## Member Function Documentation

## ◆ Get()

template<typename T >

const std::shared_ptr<Pipeline<T> > impeller::PipelineFuture< T >::Get | ( |  | ) | const
| inline

Definition at line 30 of file pipeline.h.

30 { return future.get(); }
impeller::PipelineFuture::future
std::shared_future< std::shared_ptr< Pipeline< T > > > future
Definition: pipeline.h:28

References impeller::PipelineFuture< T >::future.

Referenced by impeller::testing::TEST().

## ◆ IsValid()

template<typename T >

bool impeller::PipelineFuture< T >::IsValid | ( |  | ) | const
| inline

Definition at line 32 of file pipeline.h.

32 { return future.valid(); }

References impeller::PipelineFuture< T >::future.

## Member Data Documentation

## ◆ descriptor

template<typename T >

std::optional<T> impeller::PipelineFuture< T >::descriptor

Definition at line 27 of file pipeline.h.

## ◆ future

template<typename T >

std::shared_future<std::shared_ptr<Pipeline<T> > > impeller::PipelineFuture< T >::future

Definition at line 28 of file pipeline.h.

Referenced by impeller::PipelineFuture< T >::Get(), and impeller::PipelineFuture< T >::IsValid().

The documentation for this struct was generated from the following file:

- impeller/renderer/pipeline.h