| 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 25 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 29 of file pipeline.h.

29 { return future.get(); }

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

## ◆ IsValid()

template<typename T >

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

Definition at line 31 of file pipeline.h.

31 { return future.valid(); }

## Member Data Documentation

## ◆ descriptor

template<typename T >

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

Definition at line 26 of file pipeline.h.

## ◆ future

template<typename T >

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

Definition at line 27 of file pipeline.h.

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

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

- impeller/renderer/pipeline.h

impeller::PipelineFuture::future
std::shared_future< std::shared_ptr< Pipeline< T > > > future
Definition: pipeline.h:27