pub struct BufferDeviceAddress { /* private fields */ }
Implementations§
Source§impl BufferDeviceAddress
impl BufferDeviceAddress
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn get_buffer_device_address(
&self,
info: &BufferDeviceAddressInfoKHR,
) -> DeviceAddress
pub unsafe fn get_buffer_device_address( &self, info: &BufferDeviceAddressInfoKHR, ) -> DeviceAddress
Sourcepub unsafe fn get_buffer_opaque_capture_address(
&self,
info: &BufferDeviceAddressInfoKHR,
) -> u64
pub unsafe fn get_buffer_opaque_capture_address( &self, info: &BufferDeviceAddressInfoKHR, ) -> u64
Sourcepub unsafe fn get_device_memory_opaque_capture_address(
&self,
info: &DeviceMemoryOpaqueCaptureAddressInfoKHR,
) -> u64
pub unsafe fn get_device_memory_opaque_capture_address( &self, info: &DeviceMemoryOpaqueCaptureAddressInfoKHR, ) -> u64
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrBufferDeviceAddressFn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for BufferDeviceAddress
impl Clone for BufferDeviceAddress
Source§fn clone(&self) -> BufferDeviceAddress
fn clone(&self) -> BufferDeviceAddress
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BufferDeviceAddress
impl RefUnwindSafe for BufferDeviceAddress
impl Send for BufferDeviceAddress
impl Sync for BufferDeviceAddress
impl Unpin for BufferDeviceAddress
impl UnwindSafe for BufferDeviceAddress
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)