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: u32OpenGL framebuffer object id
texture: TextureColor buffer attachment texture
depth: TextureDepth 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 more