Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GrVkImageLayout Class Reference

#include <GrVkImageLayout.h>

Inheritance diagram for GrVkImageLayout:
SkRefCnt SkRefCntBase

Public Member Functions

 GrVkImageLayout (VkImageLayout layout)
 
void setImageLayout (VkImageLayout layout)
 
VkImageLayout getImageLayout () const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 14 of file GrVkImageLayout.h.

Constructor & Destructor Documentation

◆ GrVkImageLayout()

GrVkImageLayout::GrVkImageLayout ( VkImageLayout  layout)
inline

Definition at line 16 of file GrVkImageLayout.h.

16: fLayout(layout) {}

Member Function Documentation

◆ getImageLayout()

VkImageLayout GrVkImageLayout::getImageLayout ( ) const
inline

Definition at line 23 of file GrVkImageLayout.h.

23 {
24 // Defaulting to use std::memory_order_seq_cst
25 return fLayout.load();
26 }

◆ setImageLayout()

void GrVkImageLayout::setImageLayout ( VkImageLayout  layout)
inline

Definition at line 18 of file GrVkImageLayout.h.

18 {
19 // Defaulting to use std::memory_order_seq_cst
20 fLayout.store(layout);
21 }

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