[−][src]Struct bedrock::resources::ImageSubresourceRange
Structure specifying a image subresource range
Methods
impl ImageSubresourceRange
[src]
pub fn color<Levels, Layers>(mip_levels: Levels, array_layers: Layers) -> Self where
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
[src]
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
Specify color subresource
pub fn stencil<Levels, Layers>(mip_levels: Levels, array_layers: Layers) -> Self where
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
[src]
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
Specify stencil subresource
pub fn depth<Levels, Layers>(mip_levels: Levels, array_layers: Layers) -> Self where
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
[src]
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
Specify depth subresource
pub fn depth_stencil<Levels, Layers>(
mip_levels: Levels,
array_layers: Layers
) -> Self where
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
[src]
mip_levels: Levels,
array_layers: Layers
) -> Self where
Levels: AnalogNumRange<u32>,
Layers: AnalogNumRange<u32>,
Specify depth and stencil subresource
Trait Implementations
impl Borrow<VkImageSubresourceRange> for ImageSubresourceRange
[src]
fn borrow(&self) -> &VkImageSubresourceRange
[src]
impl Clone for ImageSubresourceRange
[src]
fn clone(&self) -> ImageSubresourceRange
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImageSubresourceRange
[src]
impl Eq for ImageSubresourceRange
[src]
impl From<VkImageSubresourceRange> for ImageSubresourceRange
[src]
fn from(v: VkImageSubresourceRange) -> Self
[src]
impl PartialEq<ImageSubresourceRange> for ImageSubresourceRange
[src]
fn eq(&self, other: &ImageSubresourceRange) -> bool
[src]
fn ne(&self, other: &ImageSubresourceRange) -> bool
[src]
impl StructuralEq for ImageSubresourceRange
[src]
impl StructuralPartialEq for ImageSubresourceRange
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageSubresourceRange
impl Send for ImageSubresourceRange
impl Sync for ImageSubresourceRange
impl Unpin for ImageSubresourceRange
impl UnwindSafe for ImageSubresourceRange
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,