[][src]Struct web_glitz::image::texture_2d_array::Texture2DArrayDescriptor

pub struct Texture2DArrayDescriptor<F> where
    F: TextureFormat + 'static, 
{ pub format: F, pub width: u32, pub height: u32, pub depth: u32, pub levels: MipmapLevels, }

Provides the information necessary for the creation of a Texture2DArray.

See RenderingContext::create_texture_2d_array for details.

Fields

format: F

The format type the Texture2DArray will use to store its image data.

Must implement TextureFormat.

width: u32

The width of the Texture2DArray.

height: u32

The height of the Texture2DArray.

depth: u32

The depth of the Texture2DArray.

levels: MipmapLevels

The number of levels in the mipmap for the Texture2DArray.

See MipmapLevels for details.

Auto Trait Implementations

impl<F> Send for Texture2DArrayDescriptor<F> where
    F: Send

impl<F> Unpin for Texture2DArrayDescriptor<F> where
    F: Unpin

impl<F> Sync for Texture2DArrayDescriptor<F> where
    F: Sync

impl<F> UnwindSafe for Texture2DArrayDescriptor<F> where
    F: UnwindSafe

impl<F> RefUnwindSafe for Texture2DArrayDescriptor<F> where
    F: RefUnwindSafe

Blanket Implementations

impl<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]