pub trait IVulkanRenderSession {
// Required methods
fn scaling(&self) -> f64;
fn size(&self) -> PixelSize;
fn is_y_flipped(&self) -> bool;
fn image_info(&self) -> VulkanImageInfo;
fn is_rgba(&self) -> bool;
fn dispose(&self);
}Expand description
One frame being rendered with Vulkan. Disposing the session presents the frame.
Required Methods§
Sourcefn is_y_flipped(&self) -> bool
fn is_y_flipped(&self) -> bool
Whether the first row of the image is its top row.
Sourcefn image_info(&self) -> VulkanImageInfo
fn image_info(&self) -> VulkanImageInfo
The image to render to.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".