Struct citro3d_sys::C3D_TexInitParams
source · #[repr(C, align(8))]pub struct C3D_TexInitParams {
pub width: u16_,
pub height: u16_,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: u16,
}
Fields§
§width: u16_
§height: u16_
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§__bindgen_padding_0: u16
Implementations§
source§impl C3D_TexInitParams
impl C3D_TexInitParams
pub fn maxLevel(&self) -> u8_
pub fn set_maxLevel(&mut self, val: u8_)
pub fn format(&self) -> GPU_TEXCOLOR
pub fn set_format(&mut self, val: GPU_TEXCOLOR)
pub fn type_(&self) -> GPU_TEXTURE_MODE_PARAM
pub fn set_type(&mut self, val: GPU_TEXTURE_MODE_PARAM)
pub fn onVram(&self) -> bool
pub fn set_onVram(&mut self, val: bool)
pub fn new_bitfield_1( maxLevel: u8_, format: GPU_TEXCOLOR, type_: GPU_TEXTURE_MODE_PARAM, onVram: bool ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for C3D_TexInitParams
impl Clone for C3D_TexInitParams
source§fn clone(&self) -> C3D_TexInitParams
fn clone(&self) -> C3D_TexInitParams
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more