Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
GrMtlRenderPipeline Class Reference

#include <GrMtlPipeline.h>

Inheritance diagram for GrMtlRenderPipeline:
GrManagedResource SkNoncopyable

Public Member Functions

void freeGPUData () const override
 
id< MTLRenderPipelineState > mtlPipelineState () const
 
- Public Member Functions inherited from GrManagedResource
 GrManagedResource ()
 
virtual ~GrManagedResource ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static sk_sp< GrMtlRenderPipelineMake (id< MTLRenderPipelineState > pso)
 

Detailed Description

Wraps a MTLRenderPipelineState object

Definition at line 18 of file GrMtlPipeline.h.

Member Function Documentation

◆ freeGPUData()

void GrMtlRenderPipeline::freeGPUData ( ) const
inlineoverridevirtual

Must be implemented by any subclasses. Deletes any GPU data associated with this resource

Implements GrManagedResource.

Definition at line 32 of file GrMtlPipeline.h.

32 {
33 fPipelineState = nil;
34 }

◆ Make()

static sk_sp< GrMtlRenderPipeline > GrMtlRenderPipeline::Make ( id< MTLRenderPipelineState >  pso)
inlinestatic

◆ mtlPipelineState()

id< MTLRenderPipelineState > GrMtlRenderPipeline::mtlPipelineState ( ) const
inline

Definition at line 36 of file GrMtlPipeline.h.

36{ return fPipelineState; }

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