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

#include <Resource.h>

Public Member Functions

 UniqueID ()=default
 
 UniqueID (uint32_t id)
 
uint32_t asUInt () const
 
bool operator== (const UniqueID &other) const
 
bool operator!= (const UniqueID &other) const
 

Detailed Description

Definition at line 106 of file Resource.h.

Constructor & Destructor Documentation

◆ UniqueID() [1/2]

skgpu::graphite::Resource::UniqueID::UniqueID ( )
default

◆ UniqueID() [2/2]

skgpu::graphite::Resource::UniqueID::UniqueID ( uint32_t  id)
inlineexplicit

Definition at line 110 of file Resource.h.

110: fID(id) {}

Member Function Documentation

◆ asUInt()

uint32_t skgpu::graphite::Resource::UniqueID::asUInt ( ) const
inline

Definition at line 112 of file Resource.h.

112{ return fID; }

◆ operator!=()

bool skgpu::graphite::Resource::UniqueID::operator!= ( const UniqueID other) const
inline

Definition at line 115 of file Resource.h.

115{ return !(*this == other); }

◆ operator==()

bool skgpu::graphite::Resource::UniqueID::operator== ( const UniqueID other) const
inline

Definition at line 114 of file Resource.h.

114{ return fID == other.fID; }

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