Struct citro3d_sys::C3D_FrameBuf
source · #[repr(C)]pub struct C3D_FrameBuf {
pub colorBuf: *mut c_void,
pub depthBuf: *mut c_void,
pub width: u16_,
pub height: u16_,
pub colorFmt: GPU_COLORBUF,
pub depthFmt: GPU_DEPTHBUF,
pub block32: bool,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Fields§
§colorBuf: *mut c_void
§depthBuf: *mut c_void
§width: u16_
§height: u16_
§colorFmt: GPU_COLORBUF
§depthFmt: GPU_DEPTHBUF
§block32: bool
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl C3D_FrameBuf
impl C3D_FrameBuf
pub fn colorMask(&self) -> u8_
pub fn set_colorMask(&mut self, val: u8_)
pub fn depthMask(&self) -> u8_
pub fn set_depthMask(&mut self, val: u8_)
pub fn new_bitfield_1( colorMask: u8_, depthMask: u8_ ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for C3D_FrameBuf
impl Clone for C3D_FrameBuf
source§fn clone(&self) -> C3D_FrameBuf
fn clone(&self) -> C3D_FrameBuf
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