Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
skgpu::graphite::MonotonicValue< Sequence > Class Template Reference

#include <DrawOrder.h>

Public Member Functions

 MonotonicValue ()=default
 
 MonotonicValue (const MonotonicValue &o)=default
 
MonotonicValueoperator= (const MonotonicValue &o)=default
 
bool operator< (MonotonicValue o) const
 
bool operator<= (MonotonicValue o) const
 
bool operator> (MonotonicValue o) const
 
bool operator>= (MonotonicValue o) const
 
bool operator== (MonotonicValue o) const
 
bool operator!= (MonotonicValue o) const
 
uint16_t bits () const
 
MonotonicValue next () const
 

Static Public Member Functions

static constexpr MonotonicValue First ()
 
static constexpr MonotonicValue Last ()
 

Detailed Description

template<typename Sequence>
class skgpu::graphite::MonotonicValue< Sequence >

Definition at line 20 of file DrawOrder.h.

Constructor & Destructor Documentation

◆ MonotonicValue() [1/2]

template<typename Sequence >
skgpu::graphite::MonotonicValue< Sequence >::MonotonicValue ( )
default

◆ MonotonicValue() [2/2]

template<typename Sequence >
skgpu::graphite::MonotonicValue< Sequence >::MonotonicValue ( const MonotonicValue< Sequence > &  o)
default

Member Function Documentation

◆ bits()

template<typename Sequence >
uint16_t skgpu::graphite::MonotonicValue< Sequence >::bits ( ) const
inline

Definition at line 39 of file DrawOrder.h.

39{ return fIndex; }

◆ First()

template<typename Sequence >
static constexpr MonotonicValue skgpu::graphite::MonotonicValue< Sequence >::First ( )
inlinestaticconstexpr

Definition at line 22 of file DrawOrder.h.

22{ return 0; }

◆ Last()

template<typename Sequence >
static constexpr MonotonicValue skgpu::graphite::MonotonicValue< Sequence >::Last ( )
inlinestaticconstexpr

Definition at line 23 of file DrawOrder.h.

23{ return 0xffff; }

◆ next()

template<typename Sequence >
MonotonicValue skgpu::graphite::MonotonicValue< Sequence >::next ( ) const
inline

Definition at line 42 of file DrawOrder.h.

42{ return fIndex + 1; }

◆ operator!=()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator!= ( MonotonicValue< Sequence >  o) const
inline

Definition at line 37 of file DrawOrder.h.

37{ return fIndex != o.fIndex; }

◆ operator<()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator< ( MonotonicValue< Sequence >  o) const
inline

Definition at line 30 of file DrawOrder.h.

30{ return fIndex < o.fIndex; }

◆ operator<=()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator<= ( MonotonicValue< Sequence >  o) const
inline

Definition at line 31 of file DrawOrder.h.

31{ return fIndex <= o.fIndex; }

◆ operator=()

template<typename Sequence >
MonotonicValue & skgpu::graphite::MonotonicValue< Sequence >::operator= ( const MonotonicValue< Sequence > &  o)
default

◆ operator==()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator== ( MonotonicValue< Sequence >  o) const
inline

Definition at line 36 of file DrawOrder.h.

36{ return fIndex == o.fIndex; }

◆ operator>()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator> ( MonotonicValue< Sequence >  o) const
inline

Definition at line 33 of file DrawOrder.h.

33{ return fIndex > o.fIndex; }

◆ operator>=()

template<typename Sequence >
bool skgpu::graphite::MonotonicValue< Sequence >::operator>= ( MonotonicValue< Sequence >  o) const
inline

Definition at line 34 of file DrawOrder.h.

34{ return fIndex >= o.fIndex; }

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