pub struct RenderTargetParams {
pub sample_count: i32,
pub depth: bool,
}Fields§
§sample_count: i321 means no multi sampling. Note that sample_count > 1 is not supported on GL2, GLES2 and WebGL1
depth: booldepth: true creates a depth render target attachment and allows such a render target being used for a depth-testing cameras
Trait Implementations§
Source§impl Clone for RenderTargetParams
impl Clone for RenderTargetParams
Source§fn clone(&self) -> RenderTargetParams
fn clone(&self) -> RenderTargetParams
Returns a duplicate 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 moreSource§impl Debug for RenderTargetParams
impl Debug for RenderTargetParams
Source§impl Default for RenderTargetParams
impl Default for RenderTargetParams
Source§fn default() -> RenderTargetParams
fn default() -> RenderTargetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderTargetParams
impl RefUnwindSafe for RenderTargetParams
impl Send for RenderTargetParams
impl Sync for RenderTargetParams
impl Unpin for RenderTargetParams
impl UnsafeUnpin for RenderTargetParams
impl UnwindSafe for RenderTargetParams
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