ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / DeviceContext2 Class
Properties Methods Events


In This Topic
    DeviceContext2 Class Members
    In This Topic

    The following tables list the members exposed by DeviceContext2.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DeviceContext2 class.  
    Top
    Public Properties
     NameDescription
    Public PropertyInner interface giving access to ComputeShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyGets or sets the debug-name for this object. (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public PropertyGetDevice (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public PropertyInner interface giving access to DomainShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to GeometryShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to HullShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to InputAssemblerStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
    Public PropertyInner interface giving access to OutputMergerStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to PixelShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to RasterizerStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyInner interface giving access to StreamOutputStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
    Public PropertyInner interface giving access to VertexShaderStage methods. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Top
    Public Methods
     NameDescription
    Public Methodvoid ID3D11DeviceContext::Begin([In] ID3D11Asynchronous* pAsync) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext2::BeginEventInt([In] const wchar_t* pLabel,[In] int Data)  
    Public Methodvoid ID3D11DeviceContext::ClearDepthStencilView([In] ID3D11DepthStencilView* pDepthStencilView,[In] D3D11_CLEAR_FLAG ClearFlags,[In] float Depth,[In] unsigned char Stencil) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::ClearRenderTargetView([In] ID3D11RenderTargetView* pRenderTargetView,[In] const SHARPDX_COLOR4* ColorRGBA) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::ClearState() (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodOverloaded. void ID3D11DeviceContext::ClearUnorderedAccessViewUint([In] ID3D11UnorderedAccessView* pUnorderedAccessView,[In] const SHARPDX_INT4* Values) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::ClearView([In] ID3D11View* pView,[In] const float* Color,[In, Buffer, Optional] const RECT* pRect,[In] unsigned int NumRects) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodCopy the entire contents of the source resource to the destination resource using the GPU. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::CopyResource([In] ID3D11Resource* pDstResource,[In] ID3D11Resource* pSrcResource) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::CopyStructureCount([In] ID3D11Buffer* pDstBuffer,[In] unsigned int DstAlignedByteOffset,[In] ID3D11UnorderedAccessView* pSrcView) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodCopy a region from a source resource to a destination resource. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::CopySubresourceRegion([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In] unsigned int DstX,[In] unsigned int DstY,[In] unsigned int DstZ,[In] ID3D11Resource* pSrcResource,[In] unsigned int SrcSubresource,[In, Optional] const D3D11_BOX* pSrcBox) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::CopySubresourceRegion1([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In] unsigned int DstX,[In] unsigned int DstY,[In] unsigned int DstZ,[In] ID3D11Resource* pSrcResource,[In] unsigned int SrcSubresource,[In, Optional] const D3D11_BOX* pSrcBox,[In] unsigned int CopyFlags) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodHRESULT 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 Methodvoid 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 Methodvoid ID3D11DeviceContext1::CSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::CSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext1::DiscardResource([In] ID3D11Resource* pResource) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext1::DiscardView([In] ID3D11View* pResourceView) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext1::DiscardView1([In] ID3D11View* pResourceView,[In, Buffer, Optional] const RECT* pRects,[In] unsigned int NumRects) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext::Dispatch([In] unsigned int ThreadGroupCountX,[In] unsigned int ThreadGroupCountY,[In] unsigned int ThreadGroupCountZ) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DispatchIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodOverloaded. Clean up any resources being used. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::Draw([In] unsigned int VertexCount,[In] unsigned int StartVertexLocation) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawAuto() (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawIndexed([In] unsigned int IndexCount,[In] unsigned int StartIndexLocation,[In] int BaseVertexLocation) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawIndexedInstanced([In] unsigned int IndexCountPerInstance,[In] unsigned int InstanceCount,[In] unsigned int StartIndexLocation,[In] int BaseVertexLocation,[In] unsigned int StartInstanceLocation) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawIndexedInstancedIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawInstanced([In] unsigned int VertexCountPerInstance,[In] unsigned int InstanceCount,[In] unsigned int StartVertexLocation,[In] unsigned int StartInstanceLocation) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::DrawInstancedIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::DSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::DSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext::End([In] ID3D11Asynchronous* pAsync) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext2::EndEvent()  
    Public Methodvoid ID3D11DeviceContext::ExecuteCommandList([In] ID3D11CommandList* pCommandList,[In] BOOL RestoreContextState) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodHRESULT ID3D11DeviceContext::FinishCommandList([In] BOOL RestoreDeferredContextState,[Out, Optional] ID3D11CommandList** ppCommandList) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::Flush() (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::GenerateMips([In] ID3D11ShaderResourceView* pShaderResourceView) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodunsigned int ID3D11DeviceContext::GetContextFlags() (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodOverloaded. Gets data from the GPU asynchronously. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodHRESULT ID3D11DeviceContext::GetData([In] ID3D11Asynchronous* pAsync,[Out, Buffer, Optional] void* pData,[In] unsigned int DataSize,[In] D3D11_ASYNC_GETDATA_FLAG GetDataFlags) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceChild::GetDevice([Out] ID3D11Device** ppDevice) (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public Methodfloat ID3D11DeviceContext::GetResourceMinLOD([In] ID3D11Resource* pResource) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::GetPredication([Out, Optional] ID3D11Predicate** ppPredicate,[Out, Optional] BOOL* pPredicateValue) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodHRESULT ID3D11DeviceChild::GetPrivateData([In] const GUID& guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData) (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public MethodD3D11_DEVICE_CONTEXT_TYPE ID3D11DeviceContext::GetType() (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::GSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::GSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext1::HSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::HSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodBOOL ID3D11DeviceContext2::IsAnnotationEnabled()  
    Public MethodOverloaded. Determines whether asynchronous query data is available. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodOverloaded. Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::PSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::PSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Public MethodHRESULT ID3D11DeviceContext2::ResizeTilePool([In] ID3D11Buffer* pTilePool,[In] unsigned longlong NewSizeInBytes)  
    Public MethodCopy a multisampled resource into a non-multisampled resource. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::ResolveSubresource([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In] ID3D11Resource* pSrcResource,[In] unsigned int SrcSubresource,[In] DXGI_FORMAT Format) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext2::SetMarkerInt([In] const wchar_t* pLabel,[In] int Data)  
    Public Methodvoid ID3D11DeviceContext::SetResourceMinLOD([In] ID3D11Resource* pResource,[In] float MinLOD) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext::SetPredication([In, Optional] ID3D11Predicate* pPredicate,[In] BOOL PredicateValue) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodHRESULT ID3D11DeviceChild::SetPrivateData([In] const GUID& guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData) (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public MethodHRESULT ID3D11DeviceChild::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData) (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public Methodvoid ID3D11DeviceContext1::SwapDeviceContextState([In] ID3DDeviceContextState* pState,[Out, Optional] ID3DDeviceContextState** ppPreviousState) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public Methodvoid ID3D11DeviceContext2::TiledResourceBarrier([In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessBeforeBarrier,[In, Optional] ID3D11DeviceChild* pTiledResourceOrViewAccessAfterBarrier)  
    Public Methodvoid ID3D11DeviceContext::Unmap([In] ID3D11Resource* pResource,[In] unsigned int Subresource) (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodOverloaded. Copies data from the CPU to to a non-mappable subresource region. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public Methodvoid ID3D11DeviceContext1::UpdateSubresource1([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In, Optional] const D3D11_BOX* pDstBox,[In] const void* pSrcData,[In] unsigned int SrcRowPitch,[In] unsigned int SrcDepthPitch,[In] unsigned int CopyFlags) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. Copies data from the CPU to to a non-mappable subresource region. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Public MethodHRESULT 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 Methodvoid 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 Methodvoid ID3D11DeviceContext1::VSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Public MethodOverloaded. void ID3D11DeviceContext1::VSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants) (Inherited from C1.Util.DX.Direct3D11.DeviceContext1)
    Top
    Protected Methods
     NameDescription
    Protected MethodReleases unmanaged resources and performs other cleanup operations before the C1.Util.DX.DisposeBase is reclaimed by garbage collection. (Inherited from C1.Util.DX.DisposeBase)
    Protected MethodOverloaded. Initializes this instance with a pointer from a temporary object and set the pointer of the temporary object to IntPtr.Zero. (Inherited from C1.Util.DX.CppObject)
    Protected MethodMethod called when the NativePointer is updated. (Inherited from C1.Util.DX.Direct3D11.DeviceContext)
    Protected MethodMethod called when NativePointer is going to be update. (Inherited from C1.Util.DX.ComObject)
    Protected MethodQuery Interface for a particular interface support and attach to the given instance. (Inherited from C1.Util.DX.ComObject)
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase)
    Top
    Public Operators
    Performs an explicit conversion from System.IntPtr to DeviceContext2.
    Top
    See Also