ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / DeviceContext Class
Properties Methods Events


In This Topic
    DeviceContext Class Members
    In This Topic

    The following tables list the members exposed by DeviceContext.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DeviceContext class.  
    Top
    Public Properties
     NameDescription
    Public PropertyInner interface giving access to ComputeShaderStage methods.  
    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.  
    Public PropertyInner interface giving access to GeometryShaderStage methods.  
    Public PropertyInner interface giving access to HullShaderStage methods.  
    Public PropertyInner interface giving access to InputAssemblerStage methods.  
    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.  
    Public PropertyInner interface giving access to PixelShaderStage methods.  
    Public PropertyInner interface giving access to RasterizerStage methods.  
    Public PropertyInner interface giving access to StreamOutputStage methods.  
    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.  
    Top
    Public Methods
     NameDescription
    Public Methodvoid ID3D11DeviceContext::Begin([In] ID3D11Asynchronous* pAsync)  
    Public Methodvoid ID3D11DeviceContext::ClearDepthStencilView([In] ID3D11DepthStencilView* pDepthStencilView,[In] D3D11_CLEAR_FLAG ClearFlags,[In] float Depth,[In] unsigned char Stencil)  
    Public Methodvoid ID3D11DeviceContext::ClearRenderTargetView([In] ID3D11RenderTargetView* pRenderTargetView,[In] const SHARPDX_COLOR4* ColorRGBA)  
    Public Methodvoid ID3D11DeviceContext::ClearState()  
    Public MethodOverloaded. void ID3D11DeviceContext::ClearUnorderedAccessViewUint([In] ID3D11UnorderedAccessView* pUnorderedAccessView,[In] const SHARPDX_INT4* Values)  
    Public MethodCopy the entire contents of the source resource to the destination resource using the GPU.  
    Public Methodvoid ID3D11DeviceContext::CopyResource([In] ID3D11Resource* pDstResource,[In] ID3D11Resource* pSrcResource)  
    Public Methodvoid ID3D11DeviceContext::CopyStructureCount([In] ID3D11Buffer* pDstBuffer,[In] unsigned int DstAlignedByteOffset,[In] ID3D11UnorderedAccessView* pSrcView)  
    Public MethodCopy a region from a source resource to a destination resource.  
    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)  
    Public Methodstatic (Shared in Visual Basic)Constructs a new deferred context DeviceContext.  
    Public Methodvoid ID3D11DeviceContext::Dispatch([In] unsigned int ThreadGroupCountX,[In] unsigned int ThreadGroupCountY,[In] unsigned int ThreadGroupCountZ)  
    Public Methodvoid ID3D11DeviceContext::DispatchIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs)  
    Public MethodOverloaded. Overridden. Clean up any resources being used.  
    Public Methodvoid ID3D11DeviceContext::Draw([In] unsigned int VertexCount,[In] unsigned int StartVertexLocation)  
    Public Methodvoid ID3D11DeviceContext::DrawAuto()  
    Public Methodvoid ID3D11DeviceContext::DrawIndexed([In] unsigned int IndexCount,[In] unsigned int StartIndexLocation,[In] int BaseVertexLocation)  
    Public Methodvoid ID3D11DeviceContext::DrawIndexedInstanced([In] unsigned int IndexCountPerInstance,[In] unsigned int InstanceCount,[In] unsigned int StartIndexLocation,[In] int BaseVertexLocation,[In] unsigned int StartInstanceLocation)  
    Public Methodvoid ID3D11DeviceContext::DrawIndexedInstancedIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs)  
    Public Methodvoid ID3D11DeviceContext::DrawInstanced([In] unsigned int VertexCountPerInstance,[In] unsigned int InstanceCount,[In] unsigned int StartVertexLocation,[In] unsigned int StartInstanceLocation)  
    Public Methodvoid ID3D11DeviceContext::DrawInstancedIndirect([In] ID3D11Buffer* pBufferForArgs,[In] unsigned int AlignedByteOffsetForArgs)  
    Public Methodvoid ID3D11DeviceContext::End([In] ID3D11Asynchronous* pAsync)  
    Public Methodvoid ID3D11DeviceContext::ExecuteCommandList([In] ID3D11CommandList* pCommandList,[In] BOOL RestoreContextState)  
    Public MethodHRESULT ID3D11DeviceContext::FinishCommandList([In] BOOL RestoreDeferredContextState,[Out, Optional] ID3D11CommandList** ppCommandList)  
    Public Methodvoid ID3D11DeviceContext::Flush()  
    Public Methodvoid ID3D11DeviceContext::GenerateMips([In] ID3D11ShaderResourceView* pShaderResourceView)  
    Public Methodunsigned int ID3D11DeviceContext::GetContextFlags()  
    Public MethodOverloaded. Gets data from the GPU asynchronously.  
    Public MethodHRESULT ID3D11DeviceContext::GetData([In] ID3D11Asynchronous* pAsync,[Out, Buffer, Optional] void* pData,[In] unsigned int DataSize,[In] D3D11_ASYNC_GETDATA_FLAG GetDataFlags)  
    Public Methodvoid ID3D11DeviceChild::GetDevice([Out] ID3D11Device** ppDevice) (Inherited from C1.Util.DX.Direct3D11.DeviceChild)
    Public Methodfloat ID3D11DeviceContext::GetResourceMinLOD([In] ID3D11Resource* pResource)  
    Public Methodvoid ID3D11DeviceContext::GetPredication([Out, Optional] ID3D11Predicate** ppPredicate,[Out, Optional] BOOL* pPredicateValue)  
    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()  
    Public MethodOverloaded. Determines whether asynchronous query data is available.  
    Public MethodOverloaded. Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource.  
    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 MethodCopy a multisampled resource into a non-multisampled resource.  
    Public Methodvoid ID3D11DeviceContext::ResolveSubresource([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In] ID3D11Resource* pSrcResource,[In] unsigned int SrcSubresource,[In] DXGI_FORMAT Format)  
    Public Methodvoid ID3D11DeviceContext::SetResourceMinLOD([In] ID3D11Resource* pResource,[In] float MinLOD)  
    Public Methodvoid ID3D11DeviceContext::SetPredication([In, Optional] ID3D11Predicate* pPredicate,[In] BOOL PredicateValue)  
    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 ID3D11DeviceContext::Unmap([In] ID3D11Resource* pResource,[In] unsigned int Subresource)  
    Public MethodOverloaded. Copies data from the CPU to to a non-mappable subresource region.  
    Public MethodOverloaded. Copies data from the CPU to to a non-mappable subresource region.  
    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 MethodOverridden. Method called when the NativePointer is updated.  
    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 DeviceContext.
    Top
    See Also