[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.DeviceContext2

Class DeviceContext2

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DeviceContext2

[Guid("420d5b32-b90c-4da4-bef0-359f6a24a83a")]
public class DeviceContext2 : DeviceContext1, IDisposable, IUnknown
Inheritance
object
DeviceContext2
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DeviceContext2(IntPtr)

Initializes a new instance of the DeviceContext2 class.

public DeviceContext2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

BeginEventInt(string, int)

void ID3D11DeviceContext2::BeginEventInt([In] const wchar_t* pLabel,[In] int Data)

public void BeginEventInt(string labelRef, int data)

Parameters

labelRef string
data int

CopyTileMappings(Resource, TiledResourceCoordinate, Resource, TiledResourceCoordinate, TileRegionSize, TileMappingFlags)

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

Parameters

destTiledResourceRef Resource
destRegionStartCoordinateRef TiledResourceCoordinate
sourceTiledResourceRef Resource
sourceRegionStartCoordinateRef TiledResourceCoordinate
tileRegionSizeRef TileRegionSize
flags TileMappingFlags

CopyTiles(Resource, TiledResourceCoordinate, TileRegionSize, Buffer, long, TileMappingFlags)

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

Parameters

tiledResourceRef Resource
tileRegionStartCoordinateRef TiledResourceCoordinate
tileRegionSizeRef TileRegionSize
bufferRef Buffer
bufferStartOffsetInBytes long
flags TileMappingFlags

EndEvent()

void ID3D11DeviceContext2::EndEvent()

public void EndEvent()

IsAnnotationEnabled()

BOOL ID3D11DeviceContext2::IsAnnotationEnabled()

public bool IsAnnotationEnabled()

Returns

bool

ResizeTilePool(Buffer, long)

HRESULT ID3D11DeviceContext2::ResizeTilePool([In] ID3D11Buffer* pTilePool,[In] unsigned longlong NewSizeInBytes)

public void ResizeTilePool(Buffer tilePoolRef, long newSizeInBytes)

Parameters

tilePoolRef Buffer
newSizeInBytes long

SetMarkerInt(string, int)

void ID3D11DeviceContext2::SetMarkerInt([In] const wchar_t* pLabel,[In] int Data)

public void SetMarkerInt(string labelRef, int data)

Parameters

labelRef string
data int

TiledResourceBarrier(DeviceChild, DeviceChild)

void ID3D11DeviceContext2::TiledResourceBarrier([In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier,[In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier)

public void TiledResourceBarrier(DeviceChild tiledResourceOrViewAccessBeforeBarrierRef, DeviceChild tiledResourceOrViewAccessAfterBarrierRef)

Parameters

tiledResourceOrViewAccessBeforeBarrierRef DeviceChild
tiledResourceOrViewAccessAfterBarrierRef DeviceChild

UpdateTileMappings(Resource, int, TiledResourceCoordinate[], TileRegionSize[], Buffer, int, TileRangeFlags[], int[], int[], TileMappingFlags)

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

Parameters

tiledResourceRef Resource
numTiledResourceRegions int
tiledResourceRegionStartCoordinatesRef TiledResourceCoordinate[]
tiledResourceRegionSizesRef TileRegionSize[]
tilePoolRef Buffer
numRanges int
rangeFlagsRef TileRangeFlags[]
tilePoolStartOffsetsRef int[]
rangeTileCountsRef int[]
flags TileMappingFlags

UpdateTiles(Resource, TiledResourceCoordinate, TileRegionSize, IntPtr, TileMappingFlags)

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

Parameters

destTiledResourceRef Resource
destTileRegionStartCoordinateRef TiledResourceCoordinate
destTileRegionSizeRef TileRegionSize
sourceTileDataRef System.IntPtr
flags TileMappingFlags

Operators

explicit operator DeviceContext2(IntPtr)

Performs an explicit conversion from System.IntPtr to DeviceContext2.

public static explicit operator DeviceContext2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DeviceContext2