pub struct VulkanAdapter<'a> { /* private fields */ }👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Expand description
Represents a handle to a physical device.
Can be used to create VulkanDevice.
Implementations§
Source§impl<'a> VulkanAdapter<'a>
impl<'a> VulkanAdapter<'a>
pub fn supports_decoding(&self) -> bool
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
pub fn supports_encoding(&self) -> bool
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
pub fn supports_surface(&self, surface: &Surface<'_>) -> bool
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
pub fn create_device( self, descriptor: &VulkanDeviceDescriptor, ) -> Result<Arc<VulkanDevice>, VulkanInitError>
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
pub fn info(&self) -> &AdapterInfo
👎Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Auto Trait Implementations§
impl<'a> Freeze for VulkanAdapter<'a>
impl<'a> !RefUnwindSafe for VulkanAdapter<'a>
impl<'a> Send for VulkanAdapter<'a>
impl<'a> Sync for VulkanAdapter<'a>
impl<'a> Unpin for VulkanAdapter<'a>
impl<'a> UnsafeUnpin for VulkanAdapter<'a>
impl<'a> !UnwindSafe for VulkanAdapter<'a>
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