Struct rust_raylib::ffi::RenderTexture
source · #[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 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