Plutonium framework API 0.3.0
UI framework libraries for libnx
Loading...
Searching...
No Matches
pu::ui::render::RendererInitOptions Struct Reference

#include <render_Renderer.hpp>

Public Member Functions

 RendererInitOptions (const u32 sdl_flags, const u32 sdl_render_flags, const u32 w=ScreenWidth, const u32 h=ScreenHeight)
 
void AddDefaultSharedFont (const PlSharedFontType type)
 
void AddDefaultAllSharedFonts ()
 
void AddDefaultFontPath (const std::string &font_path)
 
void AddExtraDefaultFontSize (const u32 font_size)
 
void UseAudio (const u32 audio_mixer_flags)
 
void UseImage (const u32 sdl_img_flags)
 
void UseRomfs ()
 
void SetInputPlayerCount (const u32 count)
 
void AddInputNpadIdType (const u64 type)
 
void AddInputNpadStyleTag (const u32 tag)
 

Public Attributes

u32 sdl_flags
 
u32 sdl_render_flags
 
u32 width
 
u32 height
 
std::vector< PlSharedFontType > default_shared_fonts
 
std::vector< std::string > default_font_paths
 
std::vector< u32 > extra_default_font_sizes
 
bool init_mixer
 
u32 audio_mixer_flags
 
bool init_img
 
u32 sdl_img_flags
 
bool init_romfs
 
u32 pad_player_count
 
u64 pad_id_mask
 
u32 pad_style_tag
 

Constructor & Destructor Documentation

◆ RendererInitOptions()

pu::ui::render::RendererInitOptions::RendererInitOptions ( const u32 sdl_flags,
const u32 sdl_render_flags,
const u32 w = ScreenWidth,
const u32 h = ScreenHeight )
inline

Member Function Documentation

◆ AddDefaultAllSharedFonts()

void pu::ui::render::RendererInitOptions::AddDefaultAllSharedFonts ( )
inline

◆ AddDefaultFontPath()

void pu::ui::render::RendererInitOptions::AddDefaultFontPath ( const std::string & font_path)
inline

◆ AddDefaultSharedFont()

void pu::ui::render::RendererInitOptions::AddDefaultSharedFont ( const PlSharedFontType type)
inline

◆ AddExtraDefaultFontSize()

void pu::ui::render::RendererInitOptions::AddExtraDefaultFontSize ( const u32 font_size)
inline

◆ AddInputNpadIdType()

void pu::ui::render::RendererInitOptions::AddInputNpadIdType ( const u64 type)
inline

◆ AddInputNpadStyleTag()

void pu::ui::render::RendererInitOptions::AddInputNpadStyleTag ( const u32 tag)
inline

◆ SetInputPlayerCount()

void pu::ui::render::RendererInitOptions::SetInputPlayerCount ( const u32 count)
inline

◆ UseAudio()

void pu::ui::render::RendererInitOptions::UseAudio ( const u32 audio_mixer_flags)
inline

◆ UseImage()

void pu::ui::render::RendererInitOptions::UseImage ( const u32 sdl_img_flags)
inline

◆ UseRomfs()

void pu::ui::render::RendererInitOptions::UseRomfs ( )
inline

Member Data Documentation

◆ audio_mixer_flags

u32 pu::ui::render::RendererInitOptions::audio_mixer_flags

◆ default_font_paths

std::vector<std::string> pu::ui::render::RendererInitOptions::default_font_paths

◆ default_shared_fonts

std::vector<PlSharedFontType> pu::ui::render::RendererInitOptions::default_shared_fonts

◆ extra_default_font_sizes

std::vector<u32> pu::ui::render::RendererInitOptions::extra_default_font_sizes

◆ height

u32 pu::ui::render::RendererInitOptions::height

◆ init_img

bool pu::ui::render::RendererInitOptions::init_img

◆ init_mixer

bool pu::ui::render::RendererInitOptions::init_mixer

◆ init_romfs

bool pu::ui::render::RendererInitOptions::init_romfs

◆ pad_id_mask

u64 pu::ui::render::RendererInitOptions::pad_id_mask

◆ pad_player_count

u32 pu::ui::render::RendererInitOptions::pad_player_count

◆ pad_style_tag

u32 pu::ui::render::RendererInitOptions::pad_style_tag

◆ sdl_flags

u32 pu::ui::render::RendererInitOptions::sdl_flags

◆ sdl_img_flags

u32 pu::ui::render::RendererInitOptions::sdl_img_flags

◆ sdl_render_flags

u32 pu::ui::render::RendererInitOptions::sdl_render_flags

◆ width

u32 pu::ui::render::RendererInitOptions::width

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