pub struct TextureTarget { /* private fields */ }Implementations§
Source§impl TextureTarget
impl TextureTarget
Trait Implementations§
Source§impl Drop for TextureTarget
impl Drop for TextureTarget
Source§impl Target for TextureTarget
impl Target for TextureTarget
Source§fn as_raw(&self) -> *mut C3D_RenderTarget
fn as_raw(&self) -> *mut C3D_RenderTarget
Return the underlying
citro3d render target for this target.Source§fn clear(&mut self, flags: ClearFlags, rgba_color: u32, depth: u32)
fn clear(&mut self, flags: ClearFlags, rgba_color: u32, depth: u32)
Clear the render target with the given 32-bit RGBA color and depth buffer value.
Use
flags to specify whether color and/or depth should be overwritten.