oa::video::VideoImageFormat

One Vulkan-video-compatible image representation without Vulkan types.

StRust public API

Declaration

pub struct VideoImageFormat { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn pixel_format(self) -> VideoPixelFormat
pub const fn optimal_tiling(self) -> bool
pub const fn sampled(self) -> bool
pub const fn storage(self) -> bool
pub const fn transfer_source(self) -> bool
pub const fn transfer_destination(self) -> bool
fn clone(&self) -> VideoImageFormat
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoImageFormat) -> bool

Public Method Documentation

pub const fn pixel_format( self ) -> VideoPixelFormat
No public source comment is attached to this declaration.
pub const fn optimal_tiling( self ) -> bool
No public source comment is attached to this declaration.
pub const fn sampled( self ) -> bool
No public source comment is attached to this declaration.
pub const fn storage( self ) -> bool
No public source comment is attached to this declaration.
pub const fn transfer_source( self ) -> bool
No public source comment is attached to this declaration.
pub const fn transfer_destination( self ) -> bool
No public source comment is attached to this declaration.
fn clone( &self ) -> VideoImageFormat
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &VideoImageFormat ) -> bool
No public source comment is attached to this declaration.