Plutonium framework API  0.3
Simple UI framework for libnx and SDL2
render_SDL2.hpp File Reference
#include <string>
#include <switch.h>
#include <pu/pu_String.hpp>
#include <pu/ui/ui_Types.hpp>
#include <pu/sdl2/sdl2_Types.hpp>

Go to the source code of this file.

Namespaces

 pu::ui::render
 

Enumerations

enum  pu::ui::render::SharedFont {
  pu::ui::render::SharedFont::Standard, pu::ui::render::SharedFont::ChineseSimplified, pu::ui::render::SharedFont::ExtendedChineseSimplified, pu::ui::render::SharedFont::ChineseTraditional,
  pu::ui::render::SharedFont::Korean, pu::ui::render::SharedFont::NintendoExtended
}
 

Functions

sdl2::Texture pu::ui::render::ConvertToTexture (sdl2::Surface Surface)
 
sdl2::Texture pu::ui::render::LoadImage (std::string Path)
 
i32 pu::ui::render::GetTextureWidth (sdl2::Texture Texture)
 
i32 pu::ui::render::GetTextureHeight (sdl2::Texture Texture)
 
void pu::ui::render::SetAlphaValue (sdl2::Texture Texture, u8 Alpha)
 
void pu::ui::render::DeleteTexture (sdl2::Texture Texture)