Type Alias rust_raylib::ffi::RenderTexture2D

source ·
pub type RenderTexture2D = RenderTexture;
Expand description

RenderTexture2D, same as RenderTexture

Aliased Type§

struct RenderTexture2D {
    pub id: u32,
    pub texture: Texture,
    pub depth: Texture,
}

Fields§

§id: u32

OpenGL framebuffer object id

§texture: Texture

Color buffer attachment texture

§depth: Texture

Depth buffer attachment texture

Trait Implementations§

source§

impl Clone for RenderTexture

source§

fn clone(&self) -> RenderTexture

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RenderTexture

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more