#[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

source

pub fn colorMask(&self) -> u8_

source

pub fn set_colorMask(&mut self, val: u8_)

source

pub fn depthMask(&self) -> u8_

source

pub fn set_depthMask(&mut self, val: u8_)

source

pub fn new_bitfield_1( colorMask: u8_, depthMask: u8_ ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

source§

impl Clone for C3D_FrameBuf

source§

fn clone(&self) -> C3D_FrameBuf

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for C3D_FrameBuf

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for C3D_FrameBuf

Auto Trait Implementations§

§

impl RefUnwindSafe for C3D_FrameBuf

§

impl !Send for C3D_FrameBuf

§

impl !Sync for C3D_FrameBuf

§

impl Unpin for C3D_FrameBuf

§

impl UnwindSafe for C3D_FrameBuf

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.