Struct ash::extensions::Surface
source · pub struct Surface { /* private fields */ }
Implementations
sourceimpl Surface
impl Surface
pub fn new<E: EntryV1_0, I: InstanceV1_0>(entry: &E, instance: &I) -> Surface
pub fn name() -> &'static CStr
pub unsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_index: u32,
surface: SurfaceKHR
) -> bool
pub unsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
pub unsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
pub unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocation_callbacks: Option<&AllocationCallbacks>
)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnwindSafe for Surface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more