oa::runtime::EngineRequirements

Optional services that the selected device must provide. Compute is always required. These predicates constrain physical-device admission before the logical device is created; they do not expose kernel selection or vendor policy. Presentation readiness proves a graphics queue and swapchain support for an instance created with surface extensions. The eventual Presenter still verifies the concrete window surface.

StRust public API

Declaration

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

Public Methods

pub fn graphics(self) -> Self
pub fn presentation(self) -> Self
pub fn video_decode(self, profile: VideoDecodeProfile) -> Self
pub fn video_encode(self, profile: VideoEncodeProfile) -> Self
fn clone(&self) -> EngineRequirements
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &EngineRequirements) -> bool

Associated Functions

fn default() -> EngineRequirements

Public Method Documentation

pub fn graphics( self ) -> Self
No public source comment is attached to this declaration.
pub fn presentation( self ) -> Self
No public source comment is attached to this declaration.
pub fn video_decode( self, profile: VideoDecodeProfile ) -> Self
No public source comment is attached to this declaration.
pub fn video_encode( self, profile: VideoEncodeProfile ) -> Self
No public source comment is attached to this declaration.
fn clone( &self ) -> EngineRequirements
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: &EngineRequirements ) -> bool
No public source comment is attached to this declaration.
fn default() -> EngineRequirements
No public source comment is attached to this declaration.