Struct asche::ComputeCommandEncoder [−][src]
pub struct ComputeCommandEncoder<'a> { /* fields omitted */ }
Expand description
Used to encode command for a compute command buffer.
Implementations
Binds a pipeline. Vulkan Manual Page
pub fn bind_descriptor_sets(
&self,
layout: PipelineLayout,
set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
pub fn bind_descriptor_sets(
&self,
layout: PipelineLayout,
set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
Binds descriptor sets. Vulkan Manual Page
pub fn push_constants(
&self,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
) -> Result<(), AscheError>
pub fn push_constants(
&self,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
) -> Result<(), AscheError>
Update the values of push constants. Vulkan Manual Page
Dispatch compute work items. Vulkan Manual Page
Dispatch compute work items. Vulkan Manual Page
Dispatch compute work items using indirect parameters. Vulkan Manual Page
pub fn build_acceleration_structures(
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
build_range_infos: &[AccelerationStructureBuildRangeInfoKHR]
)
pub fn build_acceleration_structures(
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
build_range_infos: &[AccelerationStructureBuildRangeInfoKHR]
)
Build acceleration structures with some parameters provided on the device. Vulkan Manual Page
pub fn build_acceleration_structures_indirect(
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
indirect_device_addresses: &[DeviceAddress],
indirect_strides: &[u32],
max_primitive_counts: &[*const u32]
)
pub fn build_acceleration_structures_indirect(
&self,
infos: &[AccelerationStructureBuildGeometryInfoKHRBuilder<'_>],
indirect_device_addresses: &[DeviceAddress],
indirect_strides: &[u32],
max_primitive_counts: &[*const u32]
)
Build an acceleration structure with some parameters provided on the device. Vulkan Manual Page
Copy an acceleration structure. Vulkan Manual Page
pub fn copy_acceleration_structure_to_memory(
&self,
info: &CopyAccelerationStructureToMemoryInfoKHR
)
pub fn copy_acceleration_structure_to_memory(
&self,
info: &CopyAccelerationStructureToMemoryInfoKHR
)
Copy an acceleration structure to device memory. Vulkan Manual Page
pub fn copy_memory_to_acceleration_structure(
&self,
info: &CopyMemoryToAccelerationStructureInfoKHR
)
pub fn copy_memory_to_acceleration_structure(
&self,
info: &CopyMemoryToAccelerationStructureInfoKHR
)
Copy device memory to an acceleration structure. Vulkan Manual Page
pub fn write_acceleration_structures_properties(
&self,
acceleration_structures: &[AccelerationStructureKHR],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
pub fn write_acceleration_structures_properties(
&self,
acceleration_structures: &[AccelerationStructureKHR],
query_type: QueryType,
query_pool: QueryPool,
first_query: u32
)
Write acceleration structure result parameters to query results. Vulkan Manual Page
Reset queries in a query pool. Vulkan Manual Page
pub fn clear_color_image(
&self,
image: Image,
image_layout: ImageLayout,
color: &ClearColorValue,
ranges: &[ImageSubresourceRangeBuilder<'_>]
)
pub fn clear_color_image(
&self,
image: Image,
image_layout: ImageLayout,
color: &ClearColorValue,
ranges: &[ImageSubresourceRangeBuilder<'_>]
)
Clear regions of a color image. Vulkan Manual Page
Trait Implementations
fn copy_buffer(
&self,
src_buffer: Buffer,
dst_buffer: Buffer,
src_offset: DeviceSize,
dst_offset: DeviceSize,
size: DeviceSize
)
fn copy_buffer(
&self,
src_buffer: Buffer,
dst_buffer: Buffer,
src_offset: DeviceSize,
dst_offset: DeviceSize,
size: DeviceSize
)
Copies data between two buffer.
fn copy_buffer_to_image(
&self,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
region: BufferImageCopyBuilder<'_>
)
fn copy_buffer_to_image(
&self,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
region: BufferImageCopyBuilder<'_>
)
Copies data from a buffer to an image.
Insert a memory dependency. Vulkan Manual Page
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ComputeCommandEncoder<'a>
impl<'a> Send for ComputeCommandEncoder<'a>
impl<'a> Sync for ComputeCommandEncoder<'a>
impl<'a> Unpin for ComputeCommandEncoder<'a>
impl<'a> !UnwindSafe for ComputeCommandEncoder<'a>