Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MtlCompileResult Class Reference
Inheritance diagram for MtlCompileResult:
SkRefCnt SkRefCntBase

Public Member Functions

 MtlCompileResult ()
 
void set (id compiledObject, NSError *error)
 
std::pair< id, NSError * > get ()
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 112 of file GrMtlUtil.mm.

Constructor & Destructor Documentation

◆ MtlCompileResult()

MtlCompileResult::MtlCompileResult ( )
inline

Definition at line 114 of file GrMtlUtil.mm.

114: fCompiledObject(nil), fError(nil) {}

Member Function Documentation

◆ get()

std::pair< id, NSError * > MtlCompileResult::get ( )
inline

Definition at line 120 of file GrMtlUtil.mm.

120 {
121 SkAutoMutexExclusive automutex(fMutex);
122 return std::make_pair(fCompiledObject, fError);
123 }

◆ set()

void MtlCompileResult::set ( id  compiledObject,
NSError *  error 
)
inline

Definition at line 115 of file GrMtlUtil.mm.

115 {
116 SkAutoMutexExclusive automutex(fMutex);
117 fCompiledObject = compiledObject;
118 fError = error;
119 }
const uint8_t uint32_t uint32_t GError ** error

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