#[repr(C)]
pub struct ID3D12GraphicsCommandList { pub lpVtbl: *const ID3D12GraphicsCommandListVtbl, }

Fields§

§lpVtbl: *const ID3D12GraphicsCommandListVtbl

Implementations§

source§

impl ID3D12GraphicsCommandList

source

pub unsafe fn Close(&self) -> i32

source

pub unsafe fn Reset( &self, pAllocator: *mut ID3D12CommandAllocator, pInitialState: *mut ID3D12PipelineState, ) -> i32

source

pub unsafe fn ClearState(&self, pPipelineState: *mut ID3D12PipelineState)

source

pub unsafe fn DrawInstanced( &self, VertexCountPerInstance: u32, InstanceCount: u32, StartVertexLocation: u32, StartInstanceLocation: u32, )

source

pub unsafe fn DrawIndexedInstanced( &self, IndexCountPerInstance: u32, InstanceCount: u32, StartIndexLocation: u32, BaseVertexLocation: i32, StartInstanceLocation: u32, )

source

pub unsafe fn Dispatch( &self, ThreadGroupCountX: u32, ThreadGroupCountY: u32, ThreadGroupCountZ: u32, )

source

pub unsafe fn CopyBufferRegion( &self, pDstBuffer: *mut ID3D12Resource, DstOffset: u64, pSrcBuffer: *mut ID3D12Resource, SrcOffset: u64, NumBytes: u64, )

source

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, )

source

pub unsafe fn CopyResource( &self, pDstResource: *mut ID3D12Resource, pSrcResource: *mut ID3D12Resource, )

source

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, )

source

pub unsafe fn ResolveSubresource( &self, pDstResource: *mut ID3D12Resource, DstSubresource: u32, pSrcResource: *mut ID3D12Resource, SrcSubresource: u32, Format: u32, )

source

pub unsafe fn IASetPrimitiveTopology(&self, PrimitiveTopology: u32)

source

pub unsafe fn RSSetViewports( &self, NumViewports: u32, pViewports: *const D3D12_VIEWPORT, )

source

pub unsafe fn RSSetScissorRects(&self, NumRects: u32, pRects: *const RECT)

source

pub unsafe fn OMSetBlendFactor(&self, BlendFactor: *const [f32; 4])

source

pub unsafe fn OMSetStencilRef(&self, StencilRef: u32)

source

pub unsafe fn SetPipelineState(&self, pPipelineState: *mut ID3D12PipelineState)

source

pub unsafe fn ResourceBarrier( &self, NumBarriers: u32, pBarriers: *const D3D12_RESOURCE_BARRIER, )

source

pub unsafe fn ExecuteBundle(&self, pCommandList: *mut ID3D12GraphicsCommandList)

source

pub unsafe fn SetDescriptorHeaps( &self, NumDescriptorHeaps: u32, ppDescriptorHeaps: *mut *mut ID3D12DescriptorHeap, )

source

pub unsafe fn SetComputeRootSignature( &self, pRootSignature: *mut ID3D12RootSignature, )

source

pub unsafe fn SetGraphicsRootSignature( &self, pRootSignature: *mut ID3D12RootSignature, )

source

pub unsafe fn SetComputeRootDescriptorTable( &self, RootParameterIndex: u32, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE, )

source

pub unsafe fn SetGraphicsRootDescriptorTable( &self, RootParameterIndex: u32, BaseDescriptor: D3D12_GPU_DESCRIPTOR_HANDLE, )

source

pub unsafe fn SetComputeRoot32BitConstant( &self, RootParameterIndex: u32, SrcData: u32, DestOffsetIn32BitValues: u32, )

source

pub unsafe fn SetGraphicsRoot32BitConstant( &self, RootParameterIndex: u32, SrcData: u32, DestOffsetIn32BitValues: u32, )

source

pub unsafe fn SetComputeRoot32BitConstants( &self, RootParameterIndex: u32, Num32BitValuesToSet: u32, pSrcData: *const c_void, DestOffsetIn32BitValues: u32, )

source

pub unsafe fn SetGraphicsRoot32BitConstants( &self, RootParameterIndex: u32, Num32BitValuesToSet: u32, pSrcData: *const c_void, DestOffsetIn32BitValues: u32, )

source

pub unsafe fn SetComputeRootConstantBufferView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn SetGraphicsRootConstantBufferView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn SetComputeRootShaderResourceView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn SetGraphicsRootShaderResourceView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn SetComputeRootUnorderedAccessView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn SetGraphicsRootUnorderedAccessView( &self, RootParameterIndex: u32, BufferLocation: u64, )

source

pub unsafe fn IASetIndexBuffer(&self, pView: *const D3D12_INDEX_BUFFER_VIEW)

source

pub unsafe fn IASetVertexBuffers( &self, StartSlot: u32, NumViews: u32, pViews: *const D3D12_VERTEX_BUFFER_VIEW, )

source

pub unsafe fn SOSetTargets( &self, StartSlot: u32, NumViews: u32, pViews: *const D3D12_STREAM_OUTPUT_BUFFER_VIEW, )

source

pub unsafe fn OMSetRenderTargets( &self, NumRenderTargetDescriptors: u32, pRenderTargetDescriptors: *const D3D12_CPU_DESCRIPTOR_HANDLE, RTsSingleHandleToDescriptorRange: i32, pDepthStencilDescriptor: *const D3D12_CPU_DESCRIPTOR_HANDLE, )

source

pub unsafe fn ClearDepthStencilView( &self, DepthStencilView: D3D12_CPU_DESCRIPTOR_HANDLE, ClearFlags: u32, Depth: f32, Stencil: u8, NumRects: u32, pRects: *const RECT, )

source

pub unsafe fn ClearRenderTargetView( &self, RenderTargetView: D3D12_CPU_DESCRIPTOR_HANDLE, ColorRGBA: *const [f32; 4], NumRects: u32, pRects: *const RECT, )

source

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, )

source

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, )

source

pub unsafe fn DiscardResource( &self, pResource: *mut ID3D12Resource, pRegion: *const D3D12_DISCARD_REGION, )

source

pub unsafe fn BeginQuery( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, Index: u32, )

source

pub unsafe fn EndQuery( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, Index: u32, )

source

pub unsafe fn ResolveQueryData( &self, pQueryHeap: *mut ID3D12QueryHeap, Type: u32, StartIndex: u32, NumQueries: u32, pDestinationBuffer: *mut ID3D12Resource, AlignedDestinationBufferOffset: u64, )

source

pub unsafe fn SetPredication( &self, pBuffer: *mut ID3D12Resource, AlignedBufferOffset: u64, Operation: u32, )

source

pub unsafe fn SetMarker(&self, Metadata: u32, pData: *const c_void, Size: u32)

source

pub unsafe fn BeginEvent(&self, Metadata: u32, pData: *const c_void, Size: u32)

source

pub unsafe fn EndEvent(&self)

source

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>§

source

pub unsafe fn GetType(&self) -> u32

Methods from Deref<Target = ID3D12DeviceChild>§

source

pub unsafe fn GetDevice( &self, riid: *const GUID, ppvDevice: *mut *mut c_void, ) -> i32

Methods from Deref<Target = ID3D12Object>§

source

pub unsafe fn GetPrivateData( &self, guid: *const GUID, pDataSize: *mut u32, pData: *mut c_void, ) -> i32

source

pub unsafe fn SetPrivateData( &self, guid: *const GUID, DataSize: u32, pData: *const c_void, ) -> i32

source

pub unsafe fn SetPrivateDataInterface( &self, guid: *const GUID, pData: *const IUnknown, ) -> i32

source

pub unsafe fn SetName(&self, Name: *const u16) -> i32

Methods from Deref<Target = IUnknown>§

source

pub unsafe fn QueryInterface( &self, riid: *const GUID, ppvObject: *mut *mut c_void, ) -> i32

source

pub unsafe fn AddRef(&self) -> u32

source

pub unsafe fn Release(&self) -> u32

Trait Implementations§

source§

impl Deref for ID3D12GraphicsCommandList

§

type Target = ID3D12CommandList

The resulting type after dereferencing.
source§

fn deref(&self) -> &ID3D12CommandList

Dereferences the value.
source§

impl Interface for ID3D12GraphicsCommandList

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.