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

#include <GrD3DPipeline.h>

Inheritance diagram for GrD3DPipeline:
GrManagedResource SkNoncopyable

Public Member Functions

void freeGPUData () const override
 
ID3D12PipelineState * d3dPipelineState () 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< GrD3DPipelineMake (gr_cp< ID3D12PipelineState > pipelineState)
 

Detailed Description

Definition at line 14 of file GrD3DPipeline.h.

Member Function Documentation

◆ d3dPipelineState()

ID3D12PipelineState * GrD3DPipeline::d3dPipelineState ( ) const
inline

Definition at line 34 of file GrD3DPipeline.h.

34{ return fPipelineState.get(); }
T * get() const
Definition: GrD3DTypes.h:108

◆ freeGPUData()

void GrD3DPipeline::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 GrD3DPipeline.h.

32{}

◆ Make()

static sk_sp< GrD3DPipeline > GrD3DPipeline::Make ( gr_cp< ID3D12PipelineState >  pipelineState)
inlinestatic

Definition at line 16 of file GrD3DPipeline.h.

16 {
17 if (!pipelineState) {
18 return nullptr;
19 }
20 return sk_sp<GrD3DPipeline>(new GrD3DPipeline(std::move(pipelineState)));
21 }

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