Struct wgpu_core::resource::TextureView
source · pub struct TextureView<A: Api> {
pub(crate) raw: A::TextureView,
pub(crate) parent_id: Stored<TextureId>,
pub(crate) device_id: Stored<DeviceId>,
pub(crate) desc: HalTextureViewDescriptor,
pub(crate) format_features: TextureFormatFeatures,
pub(crate) render_extent: Result<Extent3d, TextureViewNotRenderableReason>,
pub(crate) samples: u32,
pub(crate) selector: TextureSelector,
pub(crate) life_guard: LifeGuard,
}
Fields§
§raw: A::TextureView
§parent_id: Stored<TextureId>
§device_id: Stored<DeviceId>
§desc: HalTextureViewDescriptor
§format_features: TextureFormatFeatures
§render_extent: Result<Extent3d, TextureViewNotRenderableReason>
This is Err
only if the texture view is not renderable
samples: u32
§selector: TextureSelector
§life_guard: LifeGuard