Struct glfw::PRenderContext 
source · pub struct PRenderContext(/* private fields */);Methods from Deref<Target = RenderContext>§
sourcepub fn get_proc_address(&mut self, procname: &str) -> GLProc
 
pub fn get_proc_address(&mut self, procname: &str) -> GLProc
Wrapper function, please refer to Window::get_proc_address
sourcepub fn get_instance_proc_address(
    &mut self,
    instance: Instance,
    procname: &str,
) -> VkProc
 
pub fn get_instance_proc_address( &mut self, instance: Instance, procname: &str, ) -> VkProc
Wrapper function, please refer to Window::get_instance_proc_address
sourcepub fn get_physical_device_presentation_support(
    &self,
    instance: Instance,
    device: PhysicalDevice,
    queue_family: u32,
) -> bool
 
pub fn get_physical_device_presentation_support( &self, instance: Instance, device: PhysicalDevice, queue_family: u32, ) -> bool
Wrapper function, please refer to Window::get_physical_device_presentation_support
sourcepub fn create_window_surface(
    &self,
    instance: Instance,
    allocator: *const AllocationCallbacks<'_>,
    surface: *mut SurfaceKHR,
) -> Result
 
pub fn create_window_surface( &self, instance: Instance, allocator: *const AllocationCallbacks<'_>, surface: *mut SurfaceKHR, ) -> Result
Wrapper function, please refer to Window::create_window_surface
Trait Implementations§
source§impl Debug for PRenderContext
 
impl Debug for PRenderContext
source§impl Deref for PRenderContext
 
impl Deref for PRenderContext
source§impl DerefMut for PRenderContext
 
impl DerefMut for PRenderContext
source§impl HasDisplayHandle for PRenderContext
 
impl HasDisplayHandle for PRenderContext
source§fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
 
fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
Get a handle to the display controller of the windowing system.
source§impl HasWindowHandle for PRenderContext
 
impl HasWindowHandle for PRenderContext
source§fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
 
fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
Get a handle to the window.
impl Send for PRenderContext
impl Sync for PRenderContext
Auto Trait Implementations§
impl Freeze for PRenderContext
impl RefUnwindSafe for PRenderContext
impl Unpin for PRenderContext
impl UnwindSafe for PRenderContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> HasRawDisplayHandle for Twhere
    T: HasDisplayHandle + ?Sized,
 
impl<T> HasRawDisplayHandle for Twhere
    T: HasDisplayHandle + ?Sized,
source§fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
 
fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
👎Deprecated: Use 
HasDisplayHandle insteadsource§impl<T> HasRawWindowHandle for Twhere
    T: HasWindowHandle + ?Sized,
 
impl<T> HasRawWindowHandle for Twhere
    T: HasWindowHandle + ?Sized,
source§fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
 
fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
👎Deprecated: Use 
HasWindowHandle instead