Type Alias d3d12::GraphicsCommandList

source ·
pub type GraphicsCommandList = ComPtr<ID3D12GraphicsCommandList>;

Aliased Type§

struct GraphicsCommandList(/* private fields */);

Implementations§

source§

impl GraphicsCommandList

source

pub fn as_list(&self) -> CommandList

source

pub fn close(&self) -> HRESULT

source

pub fn reset( &self, allocator: &CommandAllocator, initial_pso: PipelineState ) -> HRESULT

source

pub fn discard_resource(&self, resource: Resource, region: DiscardRegion<'_>)

source

pub fn clear_depth_stencil_view( &self, dsv: CpuDescriptor, flags: ClearFlags, depth: f32, stencil: u8, rects: &[Rect] )

source

pub fn clear_render_target_view( &self, rtv: CpuDescriptor, color: [f32; 4], rects: &[Rect] )

source

pub fn dispatch(&self, count: WorkGroupCount)

source

pub fn draw( &self, num_vertices: VertexCount, num_instances: InstanceCount, first_vertex: VertexCount, first_instance: InstanceCount )

source

pub fn draw_indexed( &self, num_indices: IndexCount, num_instances: InstanceCount, first_index: IndexCount, base_vertex: VertexOffset, first_instance: InstanceCount )

source

pub fn set_index_buffer( &self, gpu_address: GpuAddress, size: u32, format: Format )

source

pub fn set_blend_factor(&self, factor: [f32; 4])

source

pub fn set_stencil_reference(&self, reference: u32)

source

pub fn set_pipeline_state(&self, pso: &PipelineState)

source

pub fn execute_bundle(&self, bundle: GraphicsCommandList)

source

pub fn set_descriptor_heaps(&self, heaps: &[DescriptorHeap])

source

pub fn set_compute_root_signature(&self, signature: &RootSignature)

source

pub fn set_graphics_root_signature(&self, signature: &RootSignature)

source

pub fn set_compute_root_descriptor_table( &self, root_index: RootIndex, base_descriptor: GpuDescriptor )

source

pub fn set_compute_root_constant_buffer_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_compute_root_shader_resource_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_compute_root_unordered_access_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_compute_root_constant( &self, root_index: RootIndex, value: u32, dest_offset_words: u32 )

source

pub fn set_graphics_root_descriptor_table( &self, root_index: RootIndex, base_descriptor: GpuDescriptor )

source

pub fn set_graphics_root_constant_buffer_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_graphics_root_shader_resource_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_graphics_root_unordered_access_view( &self, root_index: RootIndex, buffer_location: GpuAddress )

source

pub fn set_graphics_root_constant( &self, root_index: RootIndex, value: u32, dest_offset_words: u32 )

source

pub fn resource_barrier(&self, barriers: &[ResourceBarrier])