Iros
 
Loading...
Searching...
No Matches
gfx::bitmap::BitMapImpl< Buffer > Class Template Reference

#include </home/runner/work/iros/iros/libs/diusgfx/include/diusgfx/bitmap.h>

Public Member Functions

 BitMapImpl ()=default
 
constexpr BitMapImpl (Buffer buffer, usize width, usize height)
 
constexpr auto width () const -> usize
 
constexpr auto height () const -> usize
 
constexpr auto byte_count () const -> usize
 
auto argb_pixels () const
 
constexpr auto as_raw_bytes () const
 
 operator ConstBuffer () &&
 

Constructor & Destructor Documentation

◆ BitMapImpl() [1/2]

template<typename Buffer>
gfx::bitmap::BitMapImpl< Buffer >::BitMapImpl ( )
default

◆ BitMapImpl() [2/2]

template<typename Buffer>
gfx::bitmap::BitMapImpl< Buffer >::BitMapImpl ( Buffer buffer,
usize width,
usize height )
inlineexplicitconstexpr

Member Function Documentation

◆ argb_pixels()

template<typename Buffer>
auto gfx::bitmap::BitMapImpl< Buffer >::argb_pixels ( ) const
inline

◆ as_raw_bytes()

template<typename Buffer>
auto gfx::bitmap::BitMapImpl< Buffer >::as_raw_bytes ( ) const
inlineconstexpr

◆ byte_count()

template<typename Buffer>
auto gfx::bitmap::BitMapImpl< Buffer >::byte_count ( ) const -> usize
inlineconstexpr

◆ height()

template<typename Buffer>
auto gfx::bitmap::BitMapImpl< Buffer >::height ( ) const -> usize
inlineconstexpr

◆ operator ConstBuffer()

template<typename Buffer>
gfx::bitmap::BitMapImpl< Buffer >::operator ConstBuffer ( ) &&
inline

◆ width()

template<typename Buffer>
auto gfx::bitmap::BitMapImpl< Buffer >::width ( ) const -> usize
inlineconstexpr

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