[−][src]Struct three_d::core::rendertarget::RenderTarget
Methods
impl RenderTarget[src]
pub fn write_to_color(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
color_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
color_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>
pub fn write_to_depth(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_depth: Option<f32>,
depth_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_depth: Option<f32>,
depth_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>
pub fn write(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
clear_depth: Option<f32>,
color_texture: Option<&Texture2D>,
depth_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
clear_depth: Option<f32>,
color_texture: Option<&Texture2D>,
depth_texture: Option<&Texture2D>,
render: &dyn Fn()
) -> Result<(), Error>
pub fn write_to_color_array(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
color_texture_array: Option<&Texture2DArray>,
color_channel_count: usize,
color_channel_to_texture_layer: &dyn Fn(usize) -> usize,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
color_texture_array: Option<&Texture2DArray>,
color_channel_count: usize,
color_channel_to_texture_layer: &dyn Fn(usize) -> usize,
render: &dyn Fn()
) -> Result<(), Error>
pub fn write_to_depth_array(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_depth: Option<f32>,
depth_texture_array: Option<&Texture2DArray>,
depth_layer: usize,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_depth: Option<f32>,
depth_texture_array: Option<&Texture2DArray>,
depth_layer: usize,
render: &dyn Fn()
) -> Result<(), Error>
pub fn write_array(
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
clear_depth: Option<f32>,
color_texture_array: Option<&Texture2DArray>,
depth_texture_array: Option<&Texture2DArray>,
color_channel_count: usize,
color_channel_to_texture_layer: &dyn Fn(usize) -> usize,
depth_layer: usize,
render: &dyn Fn()
) -> Result<(), Error>[src]
gl: &Gl,
x: i32,
y: i32,
width: usize,
height: usize,
clear_color: Option<&Vec4>,
clear_depth: Option<f32>,
color_texture_array: Option<&Texture2DArray>,
depth_texture_array: Option<&Texture2DArray>,
color_channel_count: usize,
color_channel_to_texture_layer: &dyn Fn(usize) -> usize,
depth_layer: usize,
render: &dyn Fn()
) -> Result<(), Error>
Auto Trait Implementations
impl RefUnwindSafe for RenderTarget
impl Send for RenderTarget
impl Sync for RenderTarget
impl Unpin for RenderTarget
impl UnwindSafe for RenderTarget
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Erased for T
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,