[−][src]Struct dxplr::d3d12::GraphicsCommandList
Implementations
impl GraphicsCommandList
[src]
pub fn as_command_list(&self) -> CommandList
[src]
Trait Implementations
impl Clone for GraphicsCommandList
[src]
pub fn clone(&self) -> GraphicsCommandList
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GraphicsCommandList
[src]
impl ICommandList for GraphicsCommandList
[src]
pub fn get_type(&self) -> CommandListType
[src]
impl IDeviceChild for GraphicsCommandList
[src]
pub fn get_device<T: IDevice>(&self) -> Result<T, HResult>
[src]
impl IGraphicsCommandList for GraphicsCommandList
[src]
pub fn begin_event(&self, metadata: u32, data: *const c_void, size: u32)
[src]
pub fn begin_query(&self, query_heap: &QueryHeap, ty: QueryType, index: u32)
[src]
pub fn clear_depth_stencil_view(
&self,
dsv: CPUDescriptorHandle,
clear_flags: ClearFlags,
depth: f32,
stencil: u8,
rects: Option<&[Rect<i32>]>
)
[src]
&self,
dsv: CPUDescriptorHandle,
clear_flags: ClearFlags,
depth: f32,
stencil: u8,
rects: Option<&[Rect<i32>]>
)
pub fn clear_render_target_view(
&self,
rtv: CPUDescriptorHandle,
clear_rgba: RGBA,
rects: Option<&[Rect<i32>]>
)
[src]
&self,
rtv: CPUDescriptorHandle,
clear_rgba: RGBA,
rects: Option<&[Rect<i32>]>
)
pub fn clear_state(&self, pipeline_state: &PipelineState)
[src]
pub fn clear_unordered_access_view_float(
&self,
view_gpu_handle_in_current_heap: GPUDescriptorHandle,
view_cpu_handle: CPUDescriptorHandle,
resource: &Resource,
values: [f32; 4],
rects: &[Rect<i32>]
)
[src]
&self,
view_gpu_handle_in_current_heap: GPUDescriptorHandle,
view_cpu_handle: CPUDescriptorHandle,
resource: &Resource,
values: [f32; 4],
rects: &[Rect<i32>]
)
pub fn clear_unordered_access_view_uint(
&self,
view_gpu_handle_in_current_heap: GPUDescriptorHandle,
view_cpu_handle: CPUDescriptorHandle,
resource: &Resource,
values: [u32; 4],
rects: &[Rect<i32>]
)
[src]
&self,
view_gpu_handle_in_current_heap: GPUDescriptorHandle,
view_cpu_handle: CPUDescriptorHandle,
resource: &Resource,
values: [u32; 4],
rects: &[Rect<i32>]
)
pub fn close(&self) -> Result<(), HResult>
[src]
pub fn copy_buffer_region(
&self,
dst_buffer: &Resource,
dst_offset: u64,
src_buffer: &Resource,
src_offset: u64,
num_bytes: u64
)
[src]
&self,
dst_buffer: &Resource,
dst_offset: u64,
src_buffer: &Resource,
src_offset: u64,
num_bytes: u64
)
pub fn copy_resource(&self, dst_resource: &Resource, src_resource: &Resource)
[src]
pub fn copy_texture_region(
&self,
dst: &TextureCopyLocation<'_, impl IResource>,
dst_x: u32,
dst_y: u32,
dst_z: u32,
src: &TextureCopyLocation<'_, impl IResource>,
src_box: Option<Box3D>
)
[src]
&self,
dst: &TextureCopyLocation<'_, impl IResource>,
dst_x: u32,
dst_y: u32,
dst_z: u32,
src: &TextureCopyLocation<'_, impl IResource>,
src_box: Option<Box3D>
)
pub fn copy_tiles(
&self,
tiled_resource: &Resource,
tile_region_start_coordinate: &TiledResourceCoordinate,
tile_region_size: &TileRegionSize,
buffer: &Resource,
buffer_start_offset_in_bytes: u64,
flags: Option<TileCopyFlags>
)
[src]
&self,
tiled_resource: &Resource,
tile_region_start_coordinate: &TiledResourceCoordinate,
tile_region_size: &TileRegionSize,
buffer: &Resource,
buffer_start_offset_in_bytes: u64,
flags: Option<TileCopyFlags>
)
pub fn discard_resouce(&self, resource: &Resource, region: DiscardRegion<'_>)
[src]
pub fn dispatch(
&self,
thread_group_count_x: u32,
thread_group_count_y: u32,
thread_group_count_z: u32
)
[src]
&self,
thread_group_count_x: u32,
thread_group_count_y: u32,
thread_group_count_z: u32
)
pub fn draw_indexed_instanced(
&self,
index_count_per_instance: u32,
instance_count: u32,
start_index_location: u32,
base_vertex_location: i32,
start_instance_location: u32
)
[src]
&self,
index_count_per_instance: u32,
instance_count: u32,
start_index_location: u32,
base_vertex_location: i32,
start_instance_location: u32
)
pub fn draw_instanced(
&self,
vertex_count_per_instance: u32,
instance_count: u32,
start_vertex_location: u32,
start_instance_location: u32
)
[src]
&self,
vertex_count_per_instance: u32,
instance_count: u32,
start_vertex_location: u32,
start_instance_location: u32
)
pub fn end_event(&self)
[src]
pub fn end_query(&self, query_heap: &QueryHeap, ty: QueryType, index: u32)
[src]
pub fn execute_bundle(&self, command_list: &GraphicsCommandList)
[src]
pub fn execute_indirect(
&self,
command_signature: &CommandSignature,
max_command_count: u32,
argument_buffer: &Resource,
argument_buffer_offset: u64,
count_buffer: Option<&Resource>,
count_buffer_offset: u64
)
[src]
&self,
command_signature: &CommandSignature,
max_command_count: u32,
argument_buffer: &Resource,
argument_buffer_offset: u64,
count_buffer: Option<&Resource>,
count_buffer_offset: u64
)
pub fn ia_set_index_buffer(&self, view: &IndexBufferView)
[src]
pub fn ia_set_primitive_topology(&self, primitive_topology: PrimitiveTopology)
[src]
pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[VertexBufferView])
[src]
pub fn om_set_blend_factor(&self, blend_factor: RGBA)
[src]
pub fn om_set_render_targets(
&self,
render_target_descriptors: &[CPUDescriptorHandle],
rts_single_handle_to_descriptor_range: bool,
depth_stencil_descriptor: Option<CPUDescriptorHandle>
)
[src]
&self,
render_target_descriptors: &[CPUDescriptorHandle],
rts_single_handle_to_descriptor_range: bool,
depth_stencil_descriptor: Option<CPUDescriptorHandle>
)
pub fn om_set_stencil_ref(&self, stencil_ref: u32)
[src]
pub fn reset(
&self,
command_allocator: &CommandAllocator,
pipeline_state: Option<&PipelineState>
) -> Result<(), HResult>
[src]
&self,
command_allocator: &CommandAllocator,
pipeline_state: Option<&PipelineState>
) -> Result<(), HResult>
pub fn resolve_query_data(
&self,
query_heap: &QueryHeap,
ty: QueryType,
start_index: u32,
num_queries: u32,
dst_buffer: &Resource,
aligned_dst_bufer_offset: u64
)
[src]
&self,
query_heap: &QueryHeap,
ty: QueryType,
start_index: u32,
num_queries: u32,
dst_buffer: &Resource,
aligned_dst_bufer_offset: u64
)
pub fn resolve_subresource(
&self,
dst_resource: &Resource,
dst_subresource: u32,
src_resource: &Resource,
src_subresource: u32,
format: Format
)
[src]
&self,
dst_resource: &Resource,
dst_subresource: u32,
src_resource: &Resource,
src_subresource: u32,
format: Format
)
pub fn resource_barrier(&self, barriers: &[ResourceBarrier<'_, impl IResource>])
[src]
pub fn rs_set_scissor_rects(&self, rects: &[Rect<i32>])
[src]
pub fn rs_set_viewports(&self, viewports: &[Viewport])
[src]
pub fn set_compute_root_32bit_constant(
&self,
root_parameter_index: u32,
src_data: u32,
dest_offset_in_32bit_value: u32
)
[src]
&self,
root_parameter_index: u32,
src_data: u32,
dest_offset_in_32bit_value: u32
)
pub fn set_compute_root_32bit_constants<T>(
&self,
root_parameter_index: u32,
src_data: &[T],
dest_offset_in_32bit_values: u32
)
[src]
&self,
root_parameter_index: u32,
src_data: &[T],
dest_offset_in_32bit_values: u32
)
pub fn set_compute_root_constant_buffer_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_compute_root_descriptor_table(
&self,
root_parameter_index: u32,
base_descriptor: GPUDescriptorHandle
)
[src]
&self,
root_parameter_index: u32,
base_descriptor: GPUDescriptorHandle
)
pub fn set_compute_root_shader_resource_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_compute_root_signature(&self, root_signature: &RootSignature)
[src]
pub fn set_compute_root_unordered_access_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_descriptor_heaps(&self, descriptor_heaps: &[&DescriptorHeap])
[src]
pub fn set_graphics_root_32bit_constant(
&self,
root_parameter_index: u32,
src_data: u32,
dest_offset_in_32bit_value: u32
)
[src]
&self,
root_parameter_index: u32,
src_data: u32,
dest_offset_in_32bit_value: u32
)
pub fn set_graphics_root_32bit_constants<T>(
&self,
root_parameter_index: u32,
src_data: &[T],
dest_offset_in_32bit_values: u32
)
[src]
&self,
root_parameter_index: u32,
src_data: &[T],
dest_offset_in_32bit_values: u32
)
pub fn set_graphics_root_constant_buffer_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_graphics_root_descriptor_table(
&self,
root_parameter_index: u32,
base_descriptor: GPUDescriptorHandle
)
[src]
&self,
root_parameter_index: u32,
base_descriptor: GPUDescriptorHandle
)
pub fn set_graphics_root_shader_resource_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_graphics_root_signature(&self, root_signature: &RootSignature)
[src]
pub fn set_graphics_root_unordered_access_view(
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
[src]
&self,
root_parameter_index: u32,
buffer_location: GPUVirtualAddress
)
pub fn set_marker(&self, metadata: u32, data: *const c_void, size: u32)
[src]
pub fn set_pipeline_state(&self, pipeline_state: &PipelineState)
[src]
pub fn set_predication(
&self,
resource: &Resource,
aligned_buffer_offset: u64,
operation: PredicationOp
)
[src]
&self,
resource: &Resource,
aligned_buffer_offset: u64,
operation: PredicationOp
)
pub fn so_set_targets(&self, start_slot: u32, views: &[StreamOutputBufferView])
[src]
impl IObject for GraphicsCommandList
[src]
impl Interface for GraphicsCommandList
[src]
type APIType = ID3D12GraphicsCommandList
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl Send for GraphicsCommandList
[src]
impl Sync for GraphicsCommandList
[src]
Auto Trait Implementations
impl RefUnwindSafe for GraphicsCommandList
impl Unpin for GraphicsCommandList
impl UnwindSafe for GraphicsCommandList
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,