public virtual void RSSetShadingRateImage( ID3D12Resource shadingRateImage ) { var fp = GetFunctionPointer(78); if (m_RSSetShadingRateImageFunc == null) { m_RSSetShadingRateImageFunc = (RSSetShadingRateImageFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(RSSetShadingRateImageFunc)); } m_RSSetShadingRateImageFunc(m_ptr, shadingRateImage != null ? shadingRateImage.Ptr : IntPtr.Zero); }
public virtual void CopyResource( ID3D12Resource pDstResource, ID3D12Resource pSrcResource ) { var fp = GetFunctionPointer(17); if (m_CopyResourceFunc == null) { m_CopyResourceFunc = (CopyResourceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CopyResourceFunc)); } m_CopyResourceFunc(m_ptr, pDstResource != null ? pDstResource.Ptr : IntPtr.Zero, pSrcResource != null ? pSrcResource.Ptr : IntPtr.Zero); }
public virtual void DiscardResource( ID3D12Resource pResource, ref D3D12_DISCARD_REGION pRegion ) { var fp = GetFunctionPointer(51); if (m_DiscardResourceFunc == null) { m_DiscardResourceFunc = (DiscardResourceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(DiscardResourceFunc)); } m_DiscardResourceFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, ref pRegion); }
public virtual void CreateShaderResourceView( ID3D12Resource pResource, ref D3D12_SHADER_RESOURCE_VIEW_DESC pDesc, D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor ) { var fp = GetFunctionPointer(18); if (m_CreateShaderResourceViewFunc == null) { m_CreateShaderResourceViewFunc = (CreateShaderResourceViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateShaderResourceViewFunc)); } m_CreateShaderResourceViewFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, ref pDesc, DestDescriptor); }
public virtual void CreateDepthStencilView( ID3D12Resource pResource, ref D3D12_DEPTH_STENCIL_VIEW_DESC pDesc, D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor ) { var fp = GetFunctionPointer(21); if (m_CreateDepthStencilViewFunc == null) { m_CreateDepthStencilViewFunc = (CreateDepthStencilViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateDepthStencilViewFunc)); } m_CreateDepthStencilViewFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, ref pDesc, DestDescriptor); }
public virtual void SetPredication( ID3D12Resource pBuffer, ulong AlignedBufferOffset, D3D12_PREDICATION_OP Operation ) { var fp = GetFunctionPointer(55); if (m_SetPredicationFunc == null) { m_SetPredicationFunc = (SetPredicationFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetPredicationFunc)); } m_SetPredicationFunc(m_ptr, pBuffer != null ? pBuffer.Ptr : IntPtr.Zero, AlignedBufferOffset, Operation); }
public virtual void CreateRenderTargetView( ID3D12Resource pResource, ref D3D12_RENDER_TARGET_VIEW_DESC pDesc, D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor ) { var fp = GetFunctionPointer(20); if (m_CreateRenderTargetViewFunc == null) { m_CreateRenderTargetViewFunc = (CreateRenderTargetViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateRenderTargetViewFunc)); } m_CreateRenderTargetViewFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, ref pDesc, DestDescriptor); }
public virtual void CreateUnorderedAccessView( ID3D12Resource pResource, ID3D12Resource pCounterResource, ref D3D12_UNORDERED_ACCESS_VIEW_DESC pDesc, D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor ) { var fp = GetFunctionPointer(19); if (m_CreateUnorderedAccessViewFunc == null) { m_CreateUnorderedAccessViewFunc = (CreateUnorderedAccessViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateUnorderedAccessViewFunc)); } m_CreateUnorderedAccessViewFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, pCounterResource != null ? pCounterResource.Ptr : IntPtr.Zero, ref pDesc, DestDescriptor); }
public virtual void ResolveSubresource( ID3D12Resource pDstResource, uint DstSubresource, ID3D12Resource pSrcResource, uint SrcSubresource, DXGI_FORMAT Format ) { var fp = GetFunctionPointer(19); if (m_ResolveSubresourceFunc == null) { m_ResolveSubresourceFunc = (ResolveSubresourceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ResolveSubresourceFunc)); } m_ResolveSubresourceFunc(m_ptr, pDstResource != null ? pDstResource.Ptr : IntPtr.Zero, DstSubresource, pSrcResource != null ? pSrcResource.Ptr : IntPtr.Zero, SrcSubresource, Format); }
public virtual void CopyBufferRegion( ID3D12Resource pDstBuffer, ulong DstOffset, ID3D12Resource pSrcBuffer, ulong SrcOffset, ulong NumBytes ) { var fp = GetFunctionPointer(15); if (m_CopyBufferRegionFunc == null) { m_CopyBufferRegionFunc = (CopyBufferRegionFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CopyBufferRegionFunc)); } m_CopyBufferRegionFunc(m_ptr, pDstBuffer != null ? pDstBuffer.Ptr : IntPtr.Zero, DstOffset, pSrcBuffer != null ? pSrcBuffer.Ptr : IntPtr.Zero, SrcOffset, NumBytes); }
public virtual void CopyTileMappings( ID3D12Resource pDstResource, ref D3D12_TILED_RESOURCE_COORDINATE pDstRegionStartCoordinate, ID3D12Resource pSrcResource, ref D3D12_TILED_RESOURCE_COORDINATE pSrcRegionStartCoordinate, ref D3D12_TILE_REGION_SIZE pRegionSize, D3D12_TILE_MAPPING_FLAGS Flags ) { var fp = GetFunctionPointer(9); if (m_CopyTileMappingsFunc == null) { m_CopyTileMappingsFunc = (CopyTileMappingsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CopyTileMappingsFunc)); } m_CopyTileMappingsFunc(m_ptr, pDstResource != null ? pDstResource.Ptr : IntPtr.Zero, ref pDstRegionStartCoordinate, pSrcResource != null ? pSrcResource.Ptr : IntPtr.Zero, ref pSrcRegionStartCoordinate, ref pRegionSize, Flags); }
public virtual void ClearUnorderedAccessViewFloat( D3D12_GPU_DESCRIPTOR_HANDLE ViewGPUHandleInCurrentHeap, D3D12_CPU_DESCRIPTOR_HANDLE ViewCPUHandle, ID3D12Resource pResource, ref float Values, uint NumRects, ref tagRECT pRects ) { var fp = GetFunctionPointer(50); if (m_ClearUnorderedAccessViewFloatFunc == null) { m_ClearUnorderedAccessViewFloatFunc = (ClearUnorderedAccessViewFloatFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ClearUnorderedAccessViewFloatFunc)); } m_ClearUnorderedAccessViewFloatFunc(m_ptr, ViewGPUHandleInCurrentHeap, ViewCPUHandle, pResource != null ? pResource.Ptr : IntPtr.Zero, ref Values, NumRects, ref pRects); }
public virtual void CopyTiles( ID3D12Resource pTiledResource, ref D3D12_TILED_RESOURCE_COORDINATE pTileRegionStartCoordinate, ref D3D12_TILE_REGION_SIZE pTileRegionSize, ID3D12Resource pBuffer, ulong BufferStartOffsetInBytes, D3D12_TILE_COPY_FLAGS Flags ) { var fp = GetFunctionPointer(18); if (m_CopyTilesFunc == null) { m_CopyTilesFunc = (CopyTilesFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CopyTilesFunc)); } m_CopyTilesFunc(m_ptr, pTiledResource != null ? pTiledResource.Ptr : IntPtr.Zero, ref pTileRegionStartCoordinate, ref pTileRegionSize, pBuffer != null ? pBuffer.Ptr : IntPtr.Zero, BufferStartOffsetInBytes, Flags); }
public virtual void ExecuteIndirect( ID3D12CommandSignature pCommandSignature, uint MaxCommandCount, ID3D12Resource pArgumentBuffer, ulong ArgumentBufferOffset, ID3D12Resource pCountBuffer, ulong CountBufferOffset ) { var fp = GetFunctionPointer(59); if (m_ExecuteIndirectFunc == null) { m_ExecuteIndirectFunc = (ExecuteIndirectFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ExecuteIndirectFunc)); } m_ExecuteIndirectFunc(m_ptr, pCommandSignature != null ? pCommandSignature.Ptr : IntPtr.Zero, MaxCommandCount, pArgumentBuffer != null ? pArgumentBuffer.Ptr : IntPtr.Zero, ArgumentBufferOffset, pCountBuffer != null ? pCountBuffer.Ptr : IntPtr.Zero, CountBufferOffset); }
public virtual void ResolveQueryData( ID3D12QueryHeap pQueryHeap, D3D12_QUERY_TYPE Type, uint StartIndex, uint NumQueries, ID3D12Resource pDestinationBuffer, ulong AlignedDestinationBufferOffset ) { var fp = GetFunctionPointer(54); if (m_ResolveQueryDataFunc == null) { m_ResolveQueryDataFunc = (ResolveQueryDataFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ResolveQueryDataFunc)); } m_ResolveQueryDataFunc(m_ptr, pQueryHeap != null ? pQueryHeap.Ptr : IntPtr.Zero, Type, StartIndex, NumQueries, pDestinationBuffer != null ? pDestinationBuffer.Ptr : IntPtr.Zero, AlignedDestinationBufferOffset); }
public virtual void AtomicCopyBufferUINT64( ID3D12Resource pDstBuffer, ulong DstOffset, ID3D12Resource pSrcBuffer, ulong SrcOffset, uint Dependencies, ref IntPtr ppDependentResources, ref D3D12_SUBRESOURCE_RANGE_UINT64 pDependentSubresourceRanges ) { var fp = GetFunctionPointer(61); if (m_AtomicCopyBufferUINT64Func == null) { m_AtomicCopyBufferUINT64Func = (AtomicCopyBufferUINT64Func)Marshal.GetDelegateForFunctionPointer(fp, typeof(AtomicCopyBufferUINT64Func)); } m_AtomicCopyBufferUINT64Func(m_ptr, pDstBuffer != null ? pDstBuffer.Ptr : IntPtr.Zero, DstOffset, pSrcBuffer != null ? pSrcBuffer.Ptr : IntPtr.Zero, SrcOffset, Dependencies, ref ppDependentResources, ref pDependentSubresourceRanges); }
public virtual void GetResourceTiling( ID3D12Resource pTiledResource, out uint pNumTilesForEntireResource, out D3D12_PACKED_MIP_INFO pPackedMipDesc, out D3D12_TILE_SHAPE pStandardTileShapeForNonPackedMips, out uint pNumSubresourceTilings, uint FirstSubresourceTilingToGet, out D3D12_SUBRESOURCE_TILING pSubresourceTilingsForNonPackedMips ) { var fp = GetFunctionPointer(42); if (m_GetResourceTilingFunc == null) { m_GetResourceTilingFunc = (GetResourceTilingFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetResourceTilingFunc)); } m_GetResourceTilingFunc(m_ptr, pTiledResource != null ? pTiledResource.Ptr : IntPtr.Zero, out pNumTilesForEntireResource, out pPackedMipDesc, out pStandardTileShapeForNonPackedMips, out pNumSubresourceTilings, FirstSubresourceTilingToGet, out pSubresourceTilingsForNonPackedMips); }
public virtual void ResolveSubresourceRegion( ID3D12Resource pDstResource, uint DstSubresource, uint DstX, uint DstY, ID3D12Resource pSrcResource, uint SrcSubresource, out tagRECT pSrcRect, DXGI_FORMAT Format, D3D12_RESOLVE_MODE ResolveMode ) { var fp = GetFunctionPointer(64); if (m_ResolveSubresourceRegionFunc == null) { m_ResolveSubresourceRegionFunc = (ResolveSubresourceRegionFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ResolveSubresourceRegionFunc)); } m_ResolveSubresourceRegionFunc(m_ptr, pDstResource != null ? pDstResource.Ptr : IntPtr.Zero, DstSubresource, DstX, DstY, pSrcResource != null ? pSrcResource.Ptr : IntPtr.Zero, SrcSubresource, out pSrcRect, Format, ResolveMode); }
public virtual void UpdateTileMappings( ID3D12Resource pResource, uint NumResourceRegions, ref D3D12_TILED_RESOURCE_COORDINATE pResourceRegionStartCoordinates, ref D3D12_TILE_REGION_SIZE pResourceRegionSizes, ID3D12Heap pHeap, uint NumRanges, ref D3D12_TILE_RANGE_FLAGS pRangeFlags, ref uint pHeapRangeStartOffsets, ref uint pRangeTileCounts, D3D12_TILE_MAPPING_FLAGS Flags ) { var fp = GetFunctionPointer(8); if (m_UpdateTileMappingsFunc == null) { m_UpdateTileMappingsFunc = (UpdateTileMappingsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(UpdateTileMappingsFunc)); } m_UpdateTileMappingsFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, NumResourceRegions, ref pResourceRegionStartCoordinates, ref pResourceRegionSizes, pHeap != null ? pHeap.Ptr : IntPtr.Zero, NumRanges, ref pRangeFlags, ref pHeapRangeStartOffsets, ref pRangeTileCounts, Flags); }