Struct bedrock::resources::ImageSubresourceRange
[−]
[src]
pub struct 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
Trait Implementations
impl Debug for ImageSubresourceRange
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ImageSubresourceRange
[src]
fn clone(&self) -> ImageSubresourceRange
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ImageSubresourceRange
[src]
fn eq(&self, __arg_0: &ImageSubresourceRange) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImageSubresourceRange) -> bool
[src]
This method tests for !=
.
impl Eq for ImageSubresourceRange
[src]
impl Borrow<VkImageSubresourceRange> for ImageSubresourceRange
[src]
fn borrow(&self) -> &VkImageSubresourceRange
[src]
Immutably borrows from an owned value. Read more