neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::video_mode Class Reference

#include <video_mode.hpp>

Public Member Functions

 video_mode (uint32_t aWidth, uint32_t aHeight, uint32_t aBitsPerPixel=32)
 
template<typename T >
 video_mode (const basic_size< T > &aExtents, uint32_t aBitsPerPixel=32)
 
const video_mode_resolutionresolution () const
 
uint32_t bits_per_pixel () const
 

Detailed Description

Definition at line 28 of file video_mode.hpp.

Constructor & Destructor Documentation

◆ video_mode() [1/2]

neogfx::video_mode::video_mode ( uint32_t  aWidth,
uint32_t  aHeight,
uint32_t  aBitsPerPixel = 32 
)
inline

Definition at line 31 of file video_mode.hpp.

◆ video_mode() [2/2]

template<typename T >
neogfx::video_mode::video_mode ( const basic_size< T > &  aExtents,
uint32_t  aBitsPerPixel = 32 
)
inlineexplicit

Definition at line 36 of file video_mode.hpp.

Member Function Documentation

◆ bits_per_pixel()

uint32_t neogfx::video_mode::bits_per_pixel ( ) const
inline

Definition at line 45 of file video_mode.hpp.

◆ resolution()

const video_mode_resolution & neogfx::video_mode::resolution ( ) const
inline

Definition at line 41 of file video_mode.hpp.


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