#[repr(C)]pub struct RenderTexture {
pub id: c_uint,
pub texture: Texture,
pub depth: Texture,
}
Expand description
RenderTexture, fbo for texture rendering
Fields§
§id: c_uint
OpenGL framebuffer object id
texture: Texture
Color buffer attachment texture
depth: Texture
Depth buffer attachment texture
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