[][src]Type Definition d3d12::GraphicsCommandList

type GraphicsCommandList = WeakPtr<ID3D12GraphicsCommandList>;

Methods

impl GraphicsCommandList[src]

pub fn as_list(&self) -> CommandList[src]

pub fn close(&self) -> HRESULT[src]

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

pub fn discard_resource(&self, resource: Resource, region: DiscardRegion)[src]

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

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

pub fn dispatch(&self, count: WorkGroupCount)[src]

pub fn draw(
    &self,
    num_vertices: VertexCount,
    num_instances: InstanceCount,
    start_vertex: VertexCount,
    start_instance: InstanceCount
)
[src]

pub fn draw_indexed(
    &self,
    num_indices: IndexCount,
    num_instances: InstanceCount,
    start_index: IndexCount,
    base_vertex: VertexOffset,
    start_instance: InstanceCount
)
[src]

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

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

pub fn set_stencil_reference(&self, reference: u32)[src]

pub fn set_pipeline_state(&self, pso: PipelineState)[src]

pub fn execute_bundle(&self, bundle: GraphicsCommandList)[src]

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

pub fn set_compute_root_signature(&self, signature: RootSignature)[src]

pub fn set_graphics_root_signature(&self, signature: RootSignature)[src]

pub fn set_compute_root_descriptor_table(
    &self,
    root_index: u32,
    base_descriptor: GpuDescriptor
)
[src]

pub fn set_compute_root_constant_buffer_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

pub fn set_compute_root_shader_resource_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

pub fn set_compute_root_unordered_access_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

pub fn set_graphics_root_descriptor_table(
    &self,
    root_index: u32,
    base_descriptor: GpuDescriptor
)
[src]

pub fn set_graphics_root_constant_buffer_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

pub fn set_graphics_root_shader_resource_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

pub fn set_graphics_root_unordered_access_view(
    &self,
    root_index: u32,
    buffer_location: GpuAddress
)
[src]

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