#[repr(C)]pub struct RenderTexture {
pub texture: Texture,
pub depth: Texture,
/* private fields */
}Expand description
RenderTexture, fbo for texture rendering
Fields§
§texture: TextureColor buffer attachment texture
depth: TextureDepth buffer attachment texture
Implementations§
Trait Implementations§
Source§impl Clone for RenderTexture
impl Clone for RenderTexture
Source§fn clone(&self) -> RenderTexture
fn clone(&self) -> RenderTexture
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 moreAuto Trait Implementations§
impl Freeze for RenderTexture
impl RefUnwindSafe for RenderTexture
impl Send for RenderTexture
impl Sync for RenderTexture
impl Unpin for RenderTexture
impl UnwindSafe for RenderTexture
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