pub type MetalCapturedTextures = CapturedTextures<MetalTexture>;Expand description
Result of creating Metal textures from an IOSurface
Aliased Type§
pub struct MetalCapturedTextures {
pub plane0: MetalTexture,
pub plane1: Option<MetalTexture>,
pub pixel_format: FourCharCode,
pub width: usize,
pub height: usize,
}Fields§
§plane0: MetalTexturePrimary texture (BGRA/L10R for single-plane, Y plane for YCbCr)
plane1: Option<MetalTexture>Secondary texture (CbCr plane for YCbCr formats)
pixel_format: FourCharCodeThe pixel format of the source surface
width: usizeWidth in pixels
height: usizeHeight in pixels