Struct asche::RenderPassEncoder [−][src]
pub struct RenderPassEncoder<'a> { /* fields omitted */ }
Expand description
Used to encode render pass commands of a command buffer.
Implementations
Bind a pipeline object to a command buffer. Vulkan Manual Page
pub unsafe fn bind_descriptor_sets(
&self,
layout: PipelineLayout,
set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
pub unsafe fn bind_descriptor_sets(
&self,
layout: PipelineLayout,
set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
Binds descriptor sets. Vulkan Manual Page
pub unsafe fn bind_index_buffer(
&self,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
pub unsafe fn bind_index_buffer(
&self,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
Bind an index buffer to a command buffer. Vulkan Manual Page
Bind vertex buffers to a command buffer. Vulkan Manual Page
pub unsafe fn push_constants(
&self,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
) -> Result<(), AscheError>
pub unsafe fn push_constants(
&self,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
) -> Result<(), AscheError>
Update the values of push constants. Vulkan Manual Page
Insert a memory dependency. Vulkan Manual Page
Draws primitives. Vulkan Manual Page
Issue an indexed draw into a command buffer. Vulkan Manual Page
pub unsafe fn draw_indexed_indirect(
&self,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
pub unsafe fn draw_indexed_indirect(
&self,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
Perform an indexed indirect draw. Vulkan Manual Page
pub unsafe fn draw_indexed_indirect_count(
&self,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
pub unsafe fn draw_indexed_indirect_count(
&self,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
Perform an indexed indirect draw with the draw count sourced from a buffer. Vulkan Manual Page
pub unsafe fn draw_indirect(
&self,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
pub unsafe fn draw_indirect(
&self,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
Perform an indexed indirect draw with the draw count sourced from a buffer. Vulkan Manual Page
pub unsafe fn draw_indirect_count(
&self,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
pub unsafe fn draw_indirect_count(
&self,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
Perform an indexed indirect draw with the draw count sourced from a buffer. Vulkan Manual Page