Struct mltg_bindings::Windows::Win32::Graphics::Direct3D12::ID3D12GraphicsCommandList4 [−][src]
#[repr(transparent)]pub struct ID3D12GraphicsCommandList4(_);
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
)
pub unsafe fn AtomicCopyBufferUINT<'a, Param0: IntoParam<'a, ID3D12Resource>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
pdstbuffer: Param0,
dstoffset: u64,
psrcbuffer: Param2,
srcoffset: u64,
dependencies: u32,
ppdependentresources: *const Option<ID3D12Resource>,
pdependentsubresourceranges: *const D3D12_SUBRESOURCE_RANGE_UINT64
)
pub unsafe fn AtomicCopyBufferUINT64<'a, Param0: IntoParam<'a, ID3D12Resource>, Param2: IntoParam<'a, ID3D12Resource>>(
&self,
pdstbuffer: Param0,
dstoffset: u64,
psrcbuffer: Param2,
srcoffset: u64,
dependencies: u32,
ppdependentresources: *const Option<ID3D12Resource>,
pdependentsubresourceranges: *const D3D12_SUBRESOURCE_RANGE_UINT64
)
pub unsafe fn SetSamplePositions(
&self,
numsamplesperpixel: u32,
numpixels: u32,
psamplepositions: *const D3D12_SAMPLE_POSITION
)
pub unsafe fn ResolveSubresourceRegion<'a, Param0: IntoParam<'a, ID3D12Resource>, Param4: IntoParam<'a, ID3D12Resource>>(
&self,
pdstresource: Param0,
dstsubresource: u32,
dstx: u32,
dsty: u32,
psrcresource: Param4,
srcsubresource: u32,
psrcrect: *const RECT,
format: DXGI_FORMAT,
resolvemode: D3D12_RESOLVE_MODE
)
pub unsafe fn WriteBufferImmediate(
&self,
count: u32,
pparams: *const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER,
pmodes: *const D3D12_WRITEBUFFERIMMEDIATE_MODE
)
pub unsafe fn SetProtectedResourceSession<'a, Param0: IntoParam<'a, ID3D12ProtectedResourceSession>>(
&self,
pprotectedresourcesession: Param0
)
pub unsafe fn BeginRenderPass(
&self,
numrendertargets: u32,
prendertargets: *const D3D12_RENDER_PASS_RENDER_TARGET_DESC,
pdepthstencil: *const D3D12_RENDER_PASS_DEPTH_STENCIL_DESC,
flags: D3D12_RENDER_PASS_FLAGS
)
pub unsafe fn InitializeMetaCommand<'a, Param0: IntoParam<'a, ID3D12MetaCommand>>(
&self,
pmetacommand: Param0,
pinitializationparametersdata: *const c_void,
initializationparametersdatasizeinbytes: usize
)
pub unsafe fn ExecuteMetaCommand<'a, Param0: IntoParam<'a, ID3D12MetaCommand>>(
&self,
pmetacommand: Param0,
pexecutionparametersdata: *const c_void,
executionparametersdatasizeinbytes: usize
)
pub unsafe fn BuildRaytracingAccelerationStructure(
&self,
pdesc: *const D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC,
numpostbuildinfodescs: u32,
ppostbuildinfodescs: *const D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC
)
pub unsafe fn EmitRaytracingAccelerationStructurePostbuildInfo(
&self,
pdesc: *const D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC,
numsourceaccelerationstructures: u32,
psourceaccelerationstructuredata: *const u64
)
pub unsafe fn CopyRaytracingAccelerationStructure(
&self,
destaccelerationstructuredata: u64,
sourceaccelerationstructuredata: u64,
mode: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE
)
pub unsafe fn SetPipelineState1<'a, Param0: IntoParam<'a, ID3D12StateObject>>(
&self,
pstateobject: Param0
)
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 ID3D12GraphicsCommandList4
impl !Send for ID3D12GraphicsCommandList4
impl !Sync for ID3D12GraphicsCommandList4
impl Unpin for ID3D12GraphicsCommandList4
impl UnwindSafe for ID3D12GraphicsCommandList4
Blanket Implementations
Mutably borrows from an owned value. Read more