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

#include <render_Renderer.hpp>

Static Public Member Functions

static constexpr TextureRenderOptions Default ()
 
static constexpr TextureRenderOptions WithCustomAlpha (const u8 alpha)
 
static constexpr TextureRenderOptions WithCustomDimensions (const i32 width, const i32 height)
 
static constexpr TextureRenderOptions WithCustomAlphaAndDimensions (const u8 alpha, const i32 width, const i32 height)
 

Public Attributes

i32 alpha_mod
 
i32 width
 
i32 height
 
float rot_angle
 

Static Public Attributes

static constexpr i32 NoAlpha = -1
 
static constexpr i32 NoWidth = -1
 
static constexpr i32 NoHeight = -1
 
static constexpr float NoRotation = -1.0f
 

Member Function Documentation

◆ Default()

static constexpr TextureRenderOptions pu::ui::render::TextureRenderOptions::Default ( )
inlinestaticconstexpr

◆ WithCustomAlpha()

static constexpr TextureRenderOptions pu::ui::render::TextureRenderOptions::WithCustomAlpha ( const u8 alpha)
inlinestaticconstexpr

◆ WithCustomAlphaAndDimensions()

static constexpr TextureRenderOptions pu::ui::render::TextureRenderOptions::WithCustomAlphaAndDimensions ( const u8 alpha,
const i32 width,
const i32 height )
inlinestaticconstexpr

◆ WithCustomDimensions()

static constexpr TextureRenderOptions pu::ui::render::TextureRenderOptions::WithCustomDimensions ( const i32 width,
const i32 height )
inlinestaticconstexpr

Member Data Documentation

◆ alpha_mod

i32 pu::ui::render::TextureRenderOptions::alpha_mod

◆ height

i32 pu::ui::render::TextureRenderOptions::height

◆ NoAlpha

i32 pu::ui::render::TextureRenderOptions::NoAlpha = -1
staticconstexpr

◆ NoHeight

i32 pu::ui::render::TextureRenderOptions::NoHeight = -1
staticconstexpr

◆ NoRotation

float pu::ui::render::TextureRenderOptions::NoRotation = -1.0f
staticconstexpr

◆ NoWidth

i32 pu::ui::render::TextureRenderOptions::NoWidth = -1
staticconstexpr

◆ rot_angle

float pu::ui::render::TextureRenderOptions::rot_angle

◆ width

i32 pu::ui::render::TextureRenderOptions::width

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