Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrMtlBackendFormatData Class Referencefinal
Inheritance diagram for GrMtlBackendFormatData:
GrBackendFormatData

Public Member Functions

 GrMtlBackendFormatData (GrMTLPixelFormat format)
 
GrMTLPixelFormat asMtlFormat () const
 
- Public Member Functions inherited from GrBackendFormatData
virtual ~GrBackendFormatData ()
 
virtual SkTextureCompressionType compressionType () const =0
 
virtual size_t bytesPerBlock () const =0
 
virtual int stencilBits () const =0
 
virtual bool equal (const GrBackendFormatData *that) const =0
 

Additional Inherited Members

- Protected Types inherited from GrBackendFormatData
using AnyFormatData = GrBackendFormat::AnyFormatData
 
- Protected Member Functions inherited from GrBackendFormatData
 GrBackendFormatData ()=default
 
 GrBackendFormatData (const GrBackendFormatData &)=default
 

Detailed Description

Definition at line 21 of file GrMtlBackendSurface.mm.

Constructor & Destructor Documentation

◆ GrMtlBackendFormatData()

GrMtlBackendFormatData::GrMtlBackendFormatData ( GrMTLPixelFormat  format)
inline

Definition at line 23 of file GrMtlBackendSurface.mm.

23: fFormat((MTLPixelFormat)format) {}
uint32_t uint32_t * format

Member Function Documentation

◆ asMtlFormat()

GrMTLPixelFormat GrMtlBackendFormatData::asMtlFormat ( ) const
inline

Definition at line 25 of file GrMtlBackendSurface.mm.

25{ return (GrMTLPixelFormat)fFormat; }
unsigned int GrMTLPixelFormat
Definition: GrMtlTypes.h:17

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