Enum naga::ImageQuery [−][src]
pub enum ImageQuery {
Size {
level: Option<Handle<Expression>>,
},
NumLevels,
NumLayers,
NumSamples,
}
Expand description
Type of an image query.
Variants
Get the size at the specified level.
Fields of Size
level: Option<Handle<Expression>>
If None
, the base level is considered.
Get the number of mipmap levels.
Get the number of array layers.
Get the number of samples.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageQuery
impl Send for ImageQuery
impl Sync for ImageQuery
impl Unpin for ImageQuery
impl UnwindSafe for ImageQuery
Blanket Implementations
Mutably borrows from an owned value. Read more