Struct bgfx_sys::bgfx_attachment_s
source · #[repr(C)]pub struct bgfx_attachment_s {
pub access: bgfx_access_t,
pub handle: bgfx_texture_handle_t,
pub mip: u16,
pub layer: u16,
pub numLayers: u16,
pub resolve: u8,
}
Expand description
Frame buffer texture attachment info.
Fields§
§access: bgfx_access_t
§handle: bgfx_texture_handle_t
Attachment access. See Access::Enum
.
mip: u16
Render target texture handle.
layer: u16
Mip level.
numLayers: u16
Cubemap side or depth layer/slice to use.
resolve: u8
Number of texture layer/slice(s) in array to use.
Trait Implementations§
source§impl Clone for bgfx_attachment_s
impl Clone for bgfx_attachment_s
source§fn clone(&self) -> bgfx_attachment_s
fn clone(&self) -> bgfx_attachment_s
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for bgfx_attachment_s
impl Debug for bgfx_attachment_s
impl Copy for bgfx_attachment_s
Auto Trait Implementations§
impl Freeze for bgfx_attachment_s
impl RefUnwindSafe for bgfx_attachment_s
impl Send for bgfx_attachment_s
impl Sync for bgfx_attachment_s
impl Unpin for bgfx_attachment_s
impl UnwindSafe for bgfx_attachment_s
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more