Struct three_d::DepthTargetTexture2D [−][src]
A 2D texture that can be rendered into using a RenderTarget.
Implementations
impl DepthTargetTexture2D
[src]
pub fn new(
context: &Context,
width: usize,
height: usize,
wrap_s: Wrapping,
wrap_t: Wrapping,
format: DepthFormat
) -> Result<Self, Error>
[src]
context: &Context,
width: usize,
height: usize,
wrap_s: Wrapping,
wrap_t: Wrapping,
format: DepthFormat
) -> Result<Self, Error>
Trait Implementations
impl Drop for DepthTargetTexture2D
[src]
impl Texture for DepthTargetTexture2D
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DepthTargetTexture2D
impl !Send for DepthTargetTexture2D
impl !Sync for DepthTargetTexture2D
impl Unpin for DepthTargetTexture2D
impl UnwindSafe for DepthTargetTexture2D
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,