Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::graphite::AutoLockBuilderAsKey Class Reference

#include <PaintParamsKey.h>

Public Member Functions

 AutoLockBuilderAsKey (PaintParamsKeyBuilder *builder)
 
 ~AutoLockBuilderAsKey ()
 
const PaintParamsKeyoperator* () const
 
const PaintParamsKeyoperator-> () const
 

Detailed Description

Definition at line 195 of file PaintParamsKey.h.

Constructor & Destructor Documentation

◆ AutoLockBuilderAsKey()

skgpu::graphite::AutoLockBuilderAsKey::AutoLockBuilderAsKey ( PaintParamsKeyBuilder builder)
inline

Definition at line 197 of file PaintParamsKey.h.

198 : fBuilder(builder)
199 , fKey(builder->lockAsKey()) {}

◆ ~AutoLockBuilderAsKey()

skgpu::graphite::AutoLockBuilderAsKey::~AutoLockBuilderAsKey ( )
inline

Definition at line 201 of file PaintParamsKey.h.

201 {
202 fBuilder->unlock();
203 }

Member Function Documentation

◆ operator*()

const PaintParamsKey & skgpu::graphite::AutoLockBuilderAsKey::operator* ( ) const
inline

Definition at line 206 of file PaintParamsKey.h.

206{ return fKey; }

◆ operator->()

const PaintParamsKey * skgpu::graphite::AutoLockBuilderAsKey::operator-> ( ) const
inline

Definition at line 207 of file PaintParamsKey.h.

207{ return &fKey; }

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