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

#include <GrMtlFramebuffer.h>

Inheritance diagram for GrMtlFramebuffer:
SkRefCnt SkRefCntBase

Public Member Functions

GrMtlAttachmentcolorAttachment ()
 
GrMtlAttachmentresolveAttachment ()
 
GrMtlAttachmentstencilAttachment ()
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static sk_sp< const GrMtlFramebufferMake (GrMtlAttachment *colorAttachment, GrMtlAttachment *resolveAttachment, GrMtlAttachment *stencilAttachment)
 

Detailed Description

Definition at line 18 of file GrMtlFramebuffer.h.

Member Function Documentation

◆ colorAttachment()

GrMtlAttachment * GrMtlFramebuffer::colorAttachment ( )
inline

Definition at line 24 of file GrMtlFramebuffer.h.

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

◆ Make()

sk_sp< const GrMtlFramebuffer > GrMtlFramebuffer::Make ( GrMtlAttachment colorAttachment,
GrMtlAttachment resolveAttachment,
GrMtlAttachment stencilAttachment 
)
static

Definition at line 12 of file GrMtlFramebuffer.mm.

15 {
16 // At the very least we need a colorAttachment
18
22}
#define SkASSERT(cond)
Definition: SkAssert.h:116
sk_sp< T > sk_ref_sp(T *obj)
Definition: SkRefCnt.h:381
GrMtlAttachment * stencilAttachment()
GrMtlAttachment * colorAttachment()
GrMtlAttachment * resolveAttachment()

◆ resolveAttachment()

GrMtlAttachment * GrMtlFramebuffer::resolveAttachment ( )
inline

Definition at line 25 of file GrMtlFramebuffer.h.

25{ return fResolveAttachment.get(); }

◆ stencilAttachment()

GrMtlAttachment * GrMtlFramebuffer::stencilAttachment ( )
inline

Definition at line 26 of file GrMtlFramebuffer.h.

26{ return fStencilAttachment.get(); }

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