Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
skgpu::MutableTextureStatePriv Class Referencefinal

#include <MutableTextureStatePriv.h>

Static Public Member Functions

template<typename StateData >
static MutableTextureState MakeMutableTextureState (BackendApi backend, const StateData &data)
 
static const MutableTextureStateDataGetStateData (const MutableTextureState &mts)
 
static const MutableTextureStateDataGetStateData (const MutableTextureState *mts)
 
static MutableTextureStateDataGetStateData (MutableTextureState *mts)
 

Detailed Description

Definition at line 35 of file MutableTextureStatePriv.h.

Member Function Documentation

◆ GetStateData() [1/3]

static const MutableTextureStateData * skgpu::MutableTextureStatePriv::GetStateData ( const MutableTextureState mts)
inlinestatic

Definition at line 43 of file MutableTextureStatePriv.h.

43 {
44 return mts.fStateData.get();
45 }

◆ GetStateData() [2/3]

static const MutableTextureStateData * skgpu::MutableTextureStatePriv::GetStateData ( const MutableTextureState mts)
inlinestatic

Definition at line 47 of file MutableTextureStatePriv.h.

47 {
48 SkASSERT(mts);
49 return mts->fStateData.get();
50 }
#define SkASSERT(cond)
Definition: SkAssert.h:116

◆ GetStateData() [3/3]

static MutableTextureStateData * skgpu::MutableTextureStatePriv::GetStateData ( MutableTextureState mts)
inlinestatic

Definition at line 52 of file MutableTextureStatePriv.h.

52 {
53 SkASSERT(mts);
54 return mts->fStateData.get();
55 }

◆ MakeMutableTextureState()

template<typename StateData >
static MutableTextureState skgpu::MutableTextureStatePriv::MakeMutableTextureState ( BackendApi  backend,
const StateData &  data 
)
inlinestatic

Definition at line 38 of file MutableTextureStatePriv.h.

39 {
40 return MutableTextureState(backend, data);
41 }
const char * backend
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

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