[]
ID3D11DeviceContext2
[Guid("420d5b32-b90c-4da4-bef0-359f6a24a83a")]
public class DeviceContext2 : DeviceContext1, IDisposable, IUnknown
Initializes a new instance of the DeviceContext2 class.
public DeviceContext2(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
void ID3D11DeviceContext2::BeginEventInt([In] const wchar_t* pLabel,[In] int Data)
public void BeginEventInt(string labelRef, int data)
labelRef
stringdata
intHRESULT ID3D11DeviceContext2::CopyTileMappings([In] ID3D11Resource* pDestTiledResource,[In] const D3D11_TILED_RESOURCE_COORDINATE* pDestRegionStartCoordinate,[In] ID3D11Resource* pSourceTiledResource,[In] const D3D11_TILED_RESOURCE_COORDINATE* pSourceRegionStartCoordinate,[In] const D3D11_TILE_REGION_SIZE* pTileRegionSize,[In] D3D11_TILE_MAPPING_FLAG Flags)
public void CopyTileMappings(Resource destTiledResourceRef, TiledResourceCoordinate destRegionStartCoordinateRef, Resource sourceTiledResourceRef, TiledResourceCoordinate sourceRegionStartCoordinateRef, TileRegionSize tileRegionSizeRef, TileMappingFlags flags)
destTiledResourceRef
ResourcedestRegionStartCoordinateRef
TiledResourceCoordinatesourceTiledResourceRef
ResourcesourceRegionStartCoordinateRef
TiledResourceCoordinatetileRegionSizeRef
TileRegionSizeflags
TileMappingFlagsvoid ID3D11DeviceContext2::CopyTiles([In] ID3D11Resource* pTiledResource,[In] const D3D11_TILED_RESOURCE_COORDINATE* pTileRegionStartCoordinate,[In] const D3D11_TILE_REGION_SIZE* pTileRegionSize,[In] ID3D11Buffer* pBuffer,[In] unsigned longlong BufferStartOffsetInBytes,[In] D3D11_TILE_MAPPING_FLAG Flags)
public void CopyTiles(Resource tiledResourceRef, TiledResourceCoordinate tileRegionStartCoordinateRef, TileRegionSize tileRegionSizeRef, Buffer bufferRef, long bufferStartOffsetInBytes, TileMappingFlags flags)
tiledResourceRef
ResourcetileRegionStartCoordinateRef
TiledResourceCoordinatetileRegionSizeRef
TileRegionSizebufferRef
BufferbufferStartOffsetInBytes
longflags
TileMappingFlagsvoid ID3D11DeviceContext2::EndEvent()
public void EndEvent()
BOOL ID3D11DeviceContext2::IsAnnotationEnabled()
public bool IsAnnotationEnabled()
HRESULT ID3D11DeviceContext2::ResizeTilePool([In] ID3D11Buffer* pTilePool,[In] unsigned longlong NewSizeInBytes)
public void ResizeTilePool(Buffer tilePoolRef, long newSizeInBytes)
tilePoolRef
BuffernewSizeInBytes
longvoid ID3D11DeviceContext2::SetMarkerInt([In] const wchar_t* pLabel,[In] int Data)
public void SetMarkerInt(string labelRef, int data)
labelRef
stringdata
intvoid ID3D11DeviceContext2::TiledResourceBarrier([In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier,[In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier)
public void TiledResourceBarrier(DeviceChild tiledResourceOrViewAccessBeforeBarrierRef, DeviceChild tiledResourceOrViewAccessAfterBarrierRef)
tiledResourceOrViewAccessBeforeBarrierRef
DeviceChildtiledResourceOrViewAccessAfterBarrierRef
DeviceChildHRESULT ID3D11DeviceContext2::UpdateTileMappings([In] ID3D11Resource* pTiledResource,[In] unsigned int NumTiledResourceRegions,[In, Buffer, Optional] const D3D11_TILED_RESOURCE_COORDINATE* pTiledResourceRegionStartCoordinates,[In, Buffer, Optional] const D3D11_TILE_REGION_SIZE* pTiledResourceRegionSizes,[In, Optional] ID3D11Buffer* pTilePool,[In] unsigned int NumRanges,[In, Buffer, Optional] const D3D11_TILE_RANGE_FLAG* pRangeFlags,[In, Buffer, Optional] const unsigned int* pTilePoolStartOffsets,[In, Buffer, Optional] const unsigned int* pRangeTileCounts,[In] D3D11_TILE_MAPPING_FLAG Flags)
public void UpdateTileMappings(Resource tiledResourceRef, int numTiledResourceRegions, TiledResourceCoordinate[] tiledResourceRegionStartCoordinatesRef, TileRegionSize[] tiledResourceRegionSizesRef, Buffer tilePoolRef, int numRanges, TileRangeFlags[] rangeFlagsRef, int[] tilePoolStartOffsetsRef, int[] rangeTileCountsRef, TileMappingFlags flags)
tiledResourceRef
ResourcenumTiledResourceRegions
inttiledResourceRegionStartCoordinatesRef
TiledResourceCoordinate[]tiledResourceRegionSizesRef
TileRegionSize[]tilePoolRef
BuffernumRanges
intrangeFlagsRef
TileRangeFlags[]tilePoolStartOffsetsRef
int[]rangeTileCountsRef
int[]flags
TileMappingFlagsvoid ID3D11DeviceContext2::UpdateTiles([In] ID3D11Resource* pDestTiledResource,[In] const D3D11_TILED_RESOURCE_COORDINATE* pDestTileRegionStartCoordinate,[In] const D3D11_TILE_REGION_SIZE* pDestTileRegionSize,[In] const void* pSourceTileData,[In] D3D11_TILE_MAPPING_FLAG Flags)
public void UpdateTiles(Resource destTiledResourceRef, TiledResourceCoordinate destTileRegionStartCoordinateRef, TileRegionSize destTileRegionSizeRef, IntPtr sourceTileDataRef, TileMappingFlags flags)
destTiledResourceRef
ResourcedestTileRegionStartCoordinateRef
TiledResourceCoordinatedestTileRegionSizeRef
TileRegionSizesourceTileDataRef
System.IntPtrflags
TileMappingFlagsPerforms an explicit conversion from System.IntPtr to DeviceContext2.
public static explicit operator DeviceContext2(IntPtr nativePointer)
nativePointer
System.IntPtr