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

#include <GrGLTypesPriv.h>

Public Member Functions

 GrGLBackendTextureInfo (const GrGLTextureInfo &info, sk_sp< GrGLTextureParameters > params)
 
const GrGLTextureInfoinfo () const
 
GrGLTextureParametersparameters () const
 
sk_sp< GrGLTextureParametersrefParameters () const
 
bool isProtected () const
 

Detailed Description

Definition at line 77 of file GrGLTypesPriv.h.

Constructor & Destructor Documentation

◆ GrGLBackendTextureInfo()

GrGLBackendTextureInfo::GrGLBackendTextureInfo ( const GrGLTextureInfo info,
sk_sp< GrGLTextureParameters params 
)
inline

Definition at line 79 of file GrGLTypesPriv.h.

80 : fInfo(info), fParams(std::move(params)) {}
const GrGLTextureInfo & info() const
Definition: GrGLTypesPriv.h:81
const EmbeddedViewParams * params

Member Function Documentation

◆ info()

const GrGLTextureInfo & GrGLBackendTextureInfo::info ( ) const
inline

Definition at line 81 of file GrGLTypesPriv.h.

81{ return fInfo; }

◆ isProtected()

bool GrGLBackendTextureInfo::isProtected ( ) const
inline

Definition at line 85 of file GrGLTypesPriv.h.

85{ return fInfo.isProtected(); }
bool isProtected() const
Definition: GrGLTypes.h:193

◆ parameters()

GrGLTextureParameters * GrGLBackendTextureInfo::parameters ( ) const
inline

Definition at line 82 of file GrGLTypesPriv.h.

82{ return fParams.get(); }
T * get() const
Definition: SkRefCnt.h:303

◆ refParameters()

sk_sp< GrGLTextureParameters > GrGLBackendTextureInfo::refParameters ( ) const
inline

Definition at line 83 of file GrGLTypesPriv.h.

83{ return fParams; }

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