Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
impeller::PipelineMTL Class Referencefinal

#include <pipeline_mtl.h>

Inheritance diagram for impeller::PipelineMTL:
impeller::Pipeline< PipelineDescriptor > impeller::BackendCast< PipelineMTL, Pipeline< PipelineDescriptor > >

Public Member Functions

 ~PipelineMTL () override
 
id< MTLRenderPipelineState > GetMTLRenderPipelineState () const
 
id< MTLDepthStencilState > GetMTLDepthStencilState () const
 
- Public Member Functions inherited from impeller::Pipeline< PipelineDescriptor >
virtual ~Pipeline ()
 
virtual bool IsValid () const=0
 
const PipelineDescriptorGetDescriptor () const
 Get the descriptor that was responsible for creating this pipeline. It may be copied and modified to create a pipeline variant. More...
 
PipelineFuture< PipelineDescriptorCreateVariant (bool async, std::function< void(PipelineDescriptor &desc)> descriptor_callback) const
 

Friends

class PipelineLibraryMTL
 

Additional Inherited Members

- Static Public Member Functions inherited from impeller::BackendCast< PipelineMTL, Pipeline< PipelineDescriptor > >
static PipelineMTLCast (Pipeline< PipelineDescriptor > &base)
 
static const PipelineMTLCast (const Pipeline< PipelineDescriptor > &base)
 
static PipelineMTLCast (Pipeline< PipelineDescriptor > *base)
 
static const PipelineMTLCast (const Pipeline< PipelineDescriptor > *base)
 
- Protected Member Functions inherited from impeller::Pipeline< PipelineDescriptor >
 Pipeline (std::weak_ptr< PipelineLibrary > library, PipelineDescriptor desc)
 
- Protected Attributes inherited from impeller::Pipeline< PipelineDescriptor >
const std::weak_ptr< PipelineLibrarylibrary_
 
const PipelineDescriptor desc_
 

Detailed Description

Definition at line 15 of file pipeline_mtl.h.

Constructor & Destructor Documentation

◆ ~PipelineMTL()

impeller::PipelineMTL::~PipelineMTL ( )
overridedefault

Member Function Documentation

◆ GetMTLDepthStencilState()

id< MTLDepthStencilState > impeller::PipelineMTL::GetMTLDepthStencilState ( ) const

Definition at line 32 of file pipeline_mtl.mm.

32 {
33 return depth_stencil_state_;
34}

◆ GetMTLRenderPipelineState()

id< MTLRenderPipelineState > impeller::PipelineMTL::GetMTLRenderPipelineState ( ) const

Definition at line 28 of file pipeline_mtl.mm.

28 {
29 return pipeline_state_;
30}

Friends And Related Function Documentation

◆ PipelineLibraryMTL

friend class PipelineLibraryMTL
friend

Definition at line 27 of file pipeline_mtl.h.


The documentation for this class was generated from the following files: