pub struct ExternalTexture {
pub(crate) device: Arc<Device>,
pub(crate) planes: ArrayVec<Arc<TextureView>, 3>,
pub(crate) params: Arc<Buffer>,
pub(crate) label: String,
pub(crate) tracking_data: TrackingData,
}
Fields§
§device: Arc<Device>
§planes: ArrayVec<Arc<TextureView>, 3>
Between 1 and 3 (inclusive) planes of texture data.
params: Arc<Buffer>
Buffer containing a crate::device::resource::ExternalTextureParams
describing the external texture.
label: String
The label
from the descriptor used to create the resource.
tracking_data: TrackingData
Implementations§
Trait Implementations§
Source§impl Debug for ExternalTexture
impl Debug for ExternalTexture
Source§impl Drop for ExternalTexture
impl Drop for ExternalTexture
Source§impl Labeled for ExternalTexture
impl Labeled for ExternalTexture
Source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
Source§impl ParentDevice for ExternalTexture
impl ParentDevice for ExternalTexture
Source§impl ResourceType for ExternalTexture
impl ResourceType for ExternalTexture
Source§impl StorageItem for ExternalTexture
impl StorageItem for ExternalTexture
type Marker = ExternalTexture
Source§impl Trackable for ExternalTexture
impl Trackable for ExternalTexture
fn tracker_index(&self) -> TrackerIndex
Auto Trait Implementations§
impl Freeze for ExternalTexture
impl !RefUnwindSafe for ExternalTexture
impl Send for ExternalTexture
impl Sync for ExternalTexture
impl Unpin for ExternalTexture
impl !UnwindSafe for ExternalTexture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more