#[repr(C)]pub struct ID3D12GraphicsCommandList {
pub lpVtbl: *const ID3D12GraphicsCommandListVtbl,
}
Fields§
§lpVtbl: *const ID3D12GraphicsCommandListVtbl
Implementations§
source§impl ID3D12GraphicsCommandList
impl ID3D12GraphicsCommandList
pub unsafe fn Close(&self) -> i32
pub unsafe fn Reset( &self, pAllocator: *mut ID3D12CommandAllocator, pInitialState: *mut ID3D12PipelineState, ) -> i32
pub unsafe fn ClearState(&self, pPipelineState: *mut ID3D12PipelineState)
pub unsafe fn DrawInstanced( &self, VertexCountPerInstance: u32, InstanceCount: u32, StartVertexLocation: u32, StartInstanceLocation: u32, )
pub unsafe fn DrawIndexedInstanced( &self, IndexCountPerInstance: u32, InstanceCount: u32, StartIndexLocation: u32, BaseVertexLocation: i32, StartInstanceLocation: u32, )
pub unsafe fn Dispatch( &self, ThreadGroupCountX: u32, ThreadGroupCountY: u32, ThreadGroupCountZ: u32, )
pub unsafe fn CopyBufferRegion( &self, pDstBuffer: *mut ID3D12Resource, DstOffset: u64, pSrcBuffer: *mut ID3D12Resource, SrcOffset: u64, NumBytes: u64, )
pub unsafe fn CopyTextureRegion( &self, pDst: *const D3D12_TEXTURE_COPY_LOCATION, DstX: u32, DstY: u32, DstZ: u32, pSrc: *const D3D12_TEXTURE_COPY_LOCATION, pSrcBox: *const D3D12_BOX, )
pub unsafe fn CopyResource( &self, pDstResource: *mut ID3D12Resource, pSrcResource: *mut ID3D12Resource, )
pub unsafe fn CopyTiles( &self, pTiledResource: *mut ID3D12Resource, pTileRegionStartCoordinate: *const D3D12_TILED_RESOURCE_COORDINATE, pTileRegionSize: *const D3D12_TILE_REGION_SIZE, pBuffer: *mut ID3D12Resource, BufferStartOffsetInBytes: u64, Flags: u32, )
pub unsafe fn ResolveSubresource( &self, pDstResource: *mut ID3D12Resource, DstSubresource: u32, pSrcResource: *mut ID3D12Resource, SrcSubresource: u32, Format: u32, )
pub unsafe fn IASetPrimitiveTopology(&self, PrimitiveTopology: u32)
pub unsafe fn RSSetViewports( &self, NumViewports: u32, pViewports: *const D3D12_VIEWPORT, )
pub unsafe fn RSSetScissorRects(&self, NumRects: u32, pRects: *const RECT)
pub unsafe fn OMSetBlendFactor(&self, BlendFactor: *const [f32; 4])
pub unsafe fn OMSetStencilRef(&self, StencilRef: u32)
pub unsafe fn SetPipelineState(&self, pPipelineState: *mut ID3D12PipelineState)
pub unsafe fn ResourceBarrier( &self, NumBarriers: u32, pBarriers: *const D3D12_RESOURCE_BARRIER, )
pub unsafe fn ExecuteBundle(&self, pCommandList: *mut ID3D12GraphicsCommandList)
pub unsafe fn SetDescriptorHeaps( &self, NumDescriptorHeaps: u32, ppDescriptorHeaps: *mut *mut ID3D12DescriptorHeap, )
pub unsafe fn SetComputeRootSignature( &self, pRootSignature: *mut ID3D12RootSignature, )
pub unsafe fn SetGraphicsRootSignature( &self, pRootSignature: *mut ID3D12RootSignature, )
pub unsafe fn SetComputeRootDescriptorTable( &self, RootParameterIndex: u32, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE, )
pub unsafe fn SetGraphicsRootDescriptorTable( &self, RootParameterIndex: u32, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE, )
pub unsafe fn SetComputeRoot32BitConstant( &self, RootParameterIndex: u32, SrcData: u32, DestOffsetIn32BitValues: u32, )
pub unsafe fn SetGraphicsRoot32BitConstant( &self, RootParameterIndex: u32, SrcData: u32, DestOffsetIn32BitValues: u32, )
pub unsafe fn SetComputeRoot32BitConstants( &self, RootParameterIndex: u32, Num32BitValuesToSet: u32, pSrcData: *const c_void, DestOffsetIn32BitValues: u32, )
pub unsafe fn SetGraphicsRoot32BitConstants( &self, RootParameterIndex: u32, Num32BitValuesToSet: u32, pSrcData: *const c_void, DestOffsetIn32BitValues: u32, )
pub unsafe fn SetComputeRootConstantBufferView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn SetGraphicsRootConstantBufferView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn SetComputeRootShaderResourceView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn SetGraphicsRootShaderResourceView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn SetComputeRootUnorderedAccessView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn SetGraphicsRootUnorderedAccessView( &self, RootParameterIndex: u32, BufferLocation: u64, )
pub unsafe fn IASetIndexBuffer(&self, pView: *const D3D12_INDEX_BUFFER_VIEW)
pub unsafe fn IASetVertexBuffers( &self, StartSlot: u32, NumViews: u32, pViews: *const D3D12_VERTEX_BUFFER_VIEW, )
pub unsafe fn SOSetTargets( &self, StartSlot: u32, NumViews: u32, pViews: *const D3D12_STREAM_OUTPUT_BUFFER_VIEW, )
pub unsafe fn OMSetRenderTargets( &self, NumRenderTargetDescriptors: u32, pRenderTargetDescriptors: *const D3D12_CPU_DESCRIPTOR_HANDLE, RTsSingleHandleToDescriptorRange: i32, pDepthStencilDescriptor: *const D3D12_CPU_DESCRIPTOR_HANDLE, )
pub unsafe fn ClearDepthStencilView( &self, DepthStencilView: D3D12_CPU_DESCRIPTOR_HANDLE, ClearFlags: u32, Depth: f32, Stencil: u8, NumRects: u32, pRects: *const RECT, )
pub unsafe fn ClearRenderTargetView( &self, RenderTargetView: D3D12_CPU_DESCRIPTOR_HANDLE, ColorRGBA: *const [f32; 4], NumRects: u32, pRects: *const RECT, )
pub unsafe fn ClearUnorderedAccessViewUint( &self, ViewGPUHandleInCurrentHeap: D3D12_GPU_DESCRIPTOR_HANDLE, ViewCPUHandle: D3D12_CPU_DESCRIPTOR_HANDLE, pResource: *mut ID3D12Resource, Values: *const [u32; 4], NumRects: u32, pRects: *const RECT, )
pub unsafe fn ClearUnorderedAccessViewFloat( &self, ViewGPUHandleInCurrentHeap: D3D12_GPU_DESCRIPTOR_HANDLE, ViewCPUHandle: D3D12_CPU_DESCRIPTOR_HANDLE, pResource: *mut ID3D12Resource, Values: *const [f32; 4], NumRects: u32, pRects: *const RECT, )
pub unsafe fn DiscardResource( &self, pResource: *mut ID3D12Resource, pRegion: *const D3D12_DISCARD_REGION, )
pub unsafe fn BeginQuery( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, Index: u32, )
pub unsafe fn EndQuery( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, Index: u32, )
pub unsafe fn ResolveQueryData( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, StartIndex: u32, NumQueries: u32, pDestinationBuffer: *mut ID3D12Resource, AlignedDestinationBufferOffset: u64, )
pub unsafe fn SetPredication( &self, pBuffer: *mut ID3D12Resource, AlignedBufferOffset: u64, Operation: u32, )
pub unsafe fn SetMarker(&self, Metadata: u32, pData: *const c_void, Size: u32)
pub unsafe fn BeginEvent(&self, Metadata: u32, pData: *const c_void, Size: u32)
pub unsafe fn EndEvent(&self)
pub unsafe fn ExecuteIndirect( &self, pCommandSignature: *mut ID3D12CommandSignature, MaxCommandCount: u32, pArgumentBuffer: *mut ID3D12Resource, ArgumentBufferOffset: u64, pCountBuffer: *mut ID3D12Resource, CountBufferOffset: u64, )
Methods from Deref<Target = ID3D12CommandList>§
Methods from Deref<Target = ID3D12DeviceChild>§
Methods from Deref<Target = ID3D12Object>§
pub unsafe fn GetPrivateData( &self, guid: *const GUID, pDataSize: *mut u32, pData: *mut c_void, ) -> i32
pub unsafe fn SetPrivateData( &self, guid: *const GUID, DataSize: u32, pData: *const c_void, ) -> i32
pub unsafe fn SetPrivateDataInterface( &self, guid: *const GUID, pData: *const IUnknown, ) -> i32
pub unsafe fn SetName(&self, Name: *const u16) -> i32
Methods from Deref<Target = IUnknown>§
pub unsafe fn QueryInterface( &self, riid: *const GUID, ppvObject: *mut *mut c_void, ) -> i32
pub unsafe fn AddRef(&self) -> u32
pub unsafe fn Release(&self) -> u32
Trait Implementations§
source§impl Deref for ID3D12GraphicsCommandList
impl Deref for ID3D12GraphicsCommandList
§type Target = ID3D12CommandList
type Target = ID3D12CommandList
The resulting type after dereferencing.
source§fn deref(&self) -> &ID3D12CommandList
fn deref(&self) -> &ID3D12CommandList
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID3D12GraphicsCommandList
impl RefUnwindSafe for ID3D12GraphicsCommandList
impl !Send for ID3D12GraphicsCommandList
impl !Sync for ID3D12GraphicsCommandList
impl Unpin for ID3D12GraphicsCommandList
impl UnwindSafe for ID3D12GraphicsCommandList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more