Struct mltg_bindings::Windows::Win32::Graphics::Direct3D12::ID3D12GraphicsCommandList [−][src]
#[repr(transparent)]pub struct ID3D12GraphicsCommandList(_);
Implementations
pub unsafe fn GetPrivateData(
&self,
guid: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> Result<()>
pub unsafe fn SetPrivateData(
&self,
guid: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a, Param1: IntoParam<'a, IUnknown>>(
&self,
guid: *const Guid,
pdata: Param1
) -> Result<()>
pub unsafe fn Reset<'a, Param0: IntoParam<'a, ID3D12CommandAllocator>, Param1: IntoParam<'a, ID3D12PipelineState>>(
&self,
pallocator: Param0,
pinitialstate: Param1
) -> Result<()>
pub unsafe fn ClearState<'a, Param0: IntoParam<'a, ID3D12PipelineState>>(
&self,
ppipelinestate: Param0
)
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<'a, Param0: IntoParam<'a, ID3D12Resource>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
pdstbuffer: Param0,
dstoffset: u64,
psrcbuffer: Param2,
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<'a, Param0: IntoParam<'a, ID3D12Resource>, Param1: IntoParam<'a, ID3D12Resource>>(
&self,
pdstresource: Param0,
psrcresource: Param1
)
pub unsafe fn CopyTiles<'a, Param0: IntoParam<'a, ID3D12Resource>, Param3: IntoParam<'a, ID3D12Resource>>(
&self,
ptiledresource: Param0,
ptileregionstartcoordinate: *const D3D12_TILED_RESOURCE_COORDINATE,
ptileregionsize: *const D3D12_TILE_REGION_SIZE,
pbuffer: Param3,
bufferstartoffsetinbytes: u64,
flags: D3D12_TILE_COPY_FLAGS
)
pub unsafe fn ResolveSubresource<'a, Param0: IntoParam<'a, ID3D12Resource>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
pdstresource: Param0,
dstsubresource: u32,
psrcresource: Param2,
srcsubresource: u32,
format: DXGI_FORMAT
)
pub unsafe fn SetPipelineState<'a, Param0: IntoParam<'a, ID3D12PipelineState>>(
&self,
ppipelinestate: Param0
)
pub unsafe fn ResourceBarrier(
&self,
numbarriers: u32,
pbarriers: *const D3D12_RESOURCE_BARRIER
)
pub unsafe fn ExecuteBundle<'a, Param0: IntoParam<'a, ID3D12GraphicsCommandList>>(
&self,
pcommandlist: Param0
)
pub unsafe fn SetDescriptorHeaps(
&self,
numdescriptorheaps: u32,
ppdescriptorheaps: *const Option<ID3D12DescriptorHeap>
)
pub unsafe fn SetComputeRootSignature<'a, Param0: IntoParam<'a, ID3D12RootSignature>>(
&self,
prootsignature: Param0
)
pub unsafe fn SetGraphicsRootSignature<'a, Param0: IntoParam<'a, ID3D12RootSignature>>(
&self,
prootsignature: Param0
)
pub unsafe fn SetComputeRootDescriptorTable<'a, Param1: IntoParam<'a, D3D12_GPU_DESCRIPTOR_HANDLE>>(
&self,
rootparameterindex: u32,
basedescriptor: Param1
)
pub unsafe fn SetGraphicsRootDescriptorTable<'a, Param1: IntoParam<'a, D3D12_GPU_DESCRIPTOR_HANDLE>>(
&self,
rootparameterindex: u32,
basedescriptor: Param1
)
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 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<'a, Param2: IntoParam<'a, BOOL>>(
&self,
numrendertargetdescriptors: u32,
prendertargetdescriptors: *const D3D12_CPU_DESCRIPTOR_HANDLE,
rtssinglehandletodescriptorrange: Param2,
pdepthstencildescriptor: *const D3D12_CPU_DESCRIPTOR_HANDLE
)
pub unsafe fn ClearDepthStencilView<'a, Param0: IntoParam<'a, D3D12_CPU_DESCRIPTOR_HANDLE>>(
&self,
depthstencilview: Param0,
clearflags: D3D12_CLEAR_FLAGS,
depth: f32,
stencil: u8,
numrects: u32,
prects: *const RECT
)
pub unsafe fn ClearRenderTargetView<'a, Param0: IntoParam<'a, D3D12_CPU_DESCRIPTOR_HANDLE>>(
&self,
rendertargetview: Param0,
colorrgba: *const f32,
numrects: u32,
prects: *const RECT
)
pub unsafe fn ClearUnorderedAccessViewUint<'a, Param0: IntoParam<'a, D3D12_GPU_DESCRIPTOR_HANDLE>, Param1: IntoParam<'a, D3D12_CPU_DESCRIPTOR_HANDLE>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
viewgpuhandleincurrentheap: Param0,
viewcpuhandle: Param1,
presource: Param2,
values: *const u32,
numrects: u32,
prects: *const RECT
)
pub unsafe fn ClearUnorderedAccessViewFloat<'a, Param0: IntoParam<'a, D3D12_GPU_DESCRIPTOR_HANDLE>, Param1: IntoParam<'a, D3D12_CPU_DESCRIPTOR_HANDLE>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
viewgpuhandleincurrentheap: Param0,
viewcpuhandle: Param1,
presource: Param2,
values: *const f32,
numrects: u32,
prects: *const RECT
)
pub unsafe fn DiscardResource<'a, Param0: IntoParam<'a, ID3D12Resource>>(
&self,
presource: Param0,
pregion: *const D3D12_DISCARD_REGION
)
pub unsafe fn BeginQuery<'a, Param0: IntoParam<'a, ID3D12QueryHeap>>(
&self,
pqueryheap: Param0,
type: D3D12_QUERY_TYPE,
index: u32
)
pub unsafe fn EndQuery<'a, Param0: IntoParam<'a, ID3D12QueryHeap>>(
&self,
pqueryheap: Param0,
type: D3D12_QUERY_TYPE,
index: u32
)
pub unsafe fn ResolveQueryData<'a, Param0: IntoParam<'a, ID3D12QueryHeap>, Param4: IntoParam<'a, ID3D12Resource>>(
&self,
pqueryheap: Param0,
type: D3D12_QUERY_TYPE,
startindex: u32,
numqueries: u32,
pdestinationbuffer: Param4,
aligneddestinationbufferoffset: u64
)
pub unsafe fn SetPredication<'a, Param0: IntoParam<'a, ID3D12Resource>>(
&self,
pbuffer: Param0,
alignedbufferoffset: u64,
operation: D3D12_PREDICATION_OP
)
pub unsafe fn ExecuteIndirect<'a, Param0: IntoParam<'a, ID3D12CommandSignature>, Param2: IntoParam<'a, ID3D12Resource>, Param4: IntoParam<'a, ID3D12Resource>>(
&self,
pcommandsignature: Param0,
maxcommandcount: u32,
pargumentbuffer: Param2,
argumentbufferoffset: u64,
pcountbuffer: Param4,
countbufferoffset: u64
)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID3D12GraphicsCommandList
impl !Send for ID3D12GraphicsCommandList
impl !Sync for ID3D12GraphicsCommandList
impl Unpin for ID3D12GraphicsCommandList
impl UnwindSafe for ID3D12GraphicsCommandList
Blanket Implementations
Mutably borrows from an owned value. Read more