Struct asche::DeferredOperation [−][src]
Wraps a deferred operation.
Fields
raw: DeferredOperationKHR
The raw Vulkan deferred operation.
Implementations
impl DeferredOperation
[src]
pub fn join(&self) -> Result<(), AscheError>
[src]
Assign a thread to a deferred operation.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDeferredOperationJoinKHR.html
pub fn max_concurrency(&self) -> u32
[src]
Query the maximum concurrency on a deferred operation.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html
pub fn result(&self) -> Result<(), AscheError>
[src]
Query the result of a deferred operation.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationResultKHR.html
pub fn build_acceleration_structures(
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
build_range_infos: &[AccelerationStructureBuildRangeInfoKHR]
) -> Result<(), AscheError>
[src]
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
build_range_infos: &[AccelerationStructureBuildRangeInfoKHR]
) -> Result<(), AscheError>
Build an acceleration structure on the host.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkBuildAccelerationStructuresKHR.html
pub fn copy_acceleration_structure(
&self,
info: &CopyAccelerationStructureInfoKHRBuilder<'_>
) -> Result<(), AscheError>
[src]
&self,
info: &CopyAccelerationStructureInfoKHRBuilder<'_>
) -> Result<(), AscheError>
Copy an acceleration structure on the host.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureKHR.html
pub fn copy_acceleration_structure_to_memory(
&self,
info: &CopyAccelerationStructureToMemoryInfoKHR
) -> Result<(), AscheError>
[src]
&self,
info: &CopyAccelerationStructureToMemoryInfoKHR
) -> Result<(), AscheError>
Serialize an acceleration structure on the host.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureToMemoryKHR.html
pub fn copy_memory_to_acceleration_structure(
&self,
info: &CopyMemoryToAccelerationStructureInfoKHR
) -> Result<(), AscheError>
[src]
&self,
info: &CopyMemoryToAccelerationStructureInfoKHR
) -> Result<(), AscheError>
Deserialize an acceleration structure on the host.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyMemoryToAccelerationStructureKHR.html
Trait Implementations
impl Debug for DeferredOperation
[src]
impl Drop for DeferredOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeferredOperation
impl Send for DeferredOperation
impl Sync for DeferredOperation
impl Unpin for DeferredOperation
impl UnwindSafe for DeferredOperation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,