pub struct RenderTarget3d { /* private fields */ }Expand description
Offscreen color and depth attachments for stereometry rendering.
Implementations§
Source§impl RenderTarget3d
impl RenderTarget3d
Sourcepub const fn logical_viewport(&self) -> LogicalViewport
pub const fn logical_viewport(&self) -> LogicalViewport
Returns the logical viewport represented by the offscreen texture.
Sourcepub const fn pixels_per_logical(&self) -> PhysicalPerLogical
pub const fn pixels_per_logical(&self) -> PhysicalPerLogical
Returns target texels per logical screen pixel.
Sourcepub const fn color_target(&self) -> &RenderTarget2d
pub const fn color_target(&self) -> &RenderTarget2d
Returns the composable 2D color attachment.
Sourcepub fn allocation_bytes(&self) -> usize
pub fn allocation_bytes(&self) -> usize
Returns color plus depth allocation bytes.
Auto Trait Implementations§
impl !RefUnwindSafe for RenderTarget3d
impl !UnwindSafe for RenderTarget3d
impl Freeze for RenderTarget3d
impl Send for RenderTarget3d
impl Sync for RenderTarget3d
impl Unpin for RenderTarget3d
impl UnsafeUnpin for RenderTarget3d
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