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


In This Topic
    Device2 Class Members
    In This Topic

    The following tables list the members exposed by Device2.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Device2 class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the debug-name for this object. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public PropertyGetImmediateContext (Inherited from C1.Util.DX.Direct3D11.Device)
    Public PropertyGetImmediateContext1 (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public PropertyGetImmediateContext2  
    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 PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public MethodCheck if this device is supporting compute shaders for the specified format. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CheckCounter([In] const D3D11_COUNTER_DESC* pDesc,[Out] D3D11_COUNTER_TYPE* pType,[Out] unsigned int* pActiveCounters,[Out, Buffer, Optional] char* szName,[InOut, Optional] unsigned int* pNameLength,[Out, Buffer, Optional] char* szUnits,[InOut, Optional] unsigned int* pUnitsLength,[Out, Buffer, Optional] char* szDescription,[InOut, Optional] unsigned int* pDescriptionLength) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodGets information about the features Feature.D3D11Options that are supported by the current graphics driver. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodOverloaded. Check if this device is supporting a feature. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CheckFormatSupport([In] DXGI_FORMAT Format,[Out] D3D11_FORMAT_SUPPORT* pFormatSupport) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodGets information about whether the driver supports the nonpowers-of-2-unconditionally feature. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CheckMultisampleQualityLevels([In] DXGI_FORMAT Format,[In] unsigned int SampleCount,[Out] unsigned int* pNumQualityLevels) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device2::CheckMultisampleQualityLevels1([In] DXGI_FORMAT Format,[In] unsigned int SampleCount,[In] D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG Flags,[Out] unsigned int* pNumQualityLevels)  
    Public MethodGets information about the features Feature.ShaderMinimumPrecisionSupport that are supported by the current graphics driver. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodCheck if this device is supporting threading. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodGets information about whether a rendering device batches rendering commands and performs multipass rendering into tiles or bins over a render area. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateBlendState([In] const D3D11_BLEND_DESC* pBlendStateDesc,[Out, Fast] ID3D11BlendState** ppBlendState) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device1::CreateBlendState1([In] const D3D11_BLEND_DESC1* pBlendStateDesc,[Out, Fast] ID3D11BlendState1** ppBlendState) (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public MethodHRESULT ID3D11Device::CreateBuffer([In] const D3D11_BUFFER_DESC* pDesc,[In, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Buffer** ppBuffer) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateClassLinkage([Out, Fast] ID3D11ClassLinkage** ppLinkage) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateComputeShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11ComputeShader** ppComputeShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateCounter([In] const D3D11_COUNTER_DESC* pCounterDesc,[Out, Fast] ID3D11Counter** ppCounter) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateDeferredContext([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext** ppDeferredContext) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device1::CreateDeferredContext1([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext1** ppDeferredContext) (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public MethodHRESULT ID3D11Device2::CreateDeferredContext2([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext2** ppDeferredContext)  
    Public MethodHRESULT ID3D11Device::CreateDepthStencilState([In] const D3D11_DEPTH_STENCIL_DESC* pDepthStencilDesc,[Out, Fast] ID3D11DepthStencilState** ppDepthStencilState) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateDepthStencilView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc,[Out, Fast] ID3D11DepthStencilView** ppDepthStencilView) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodOverloaded. Creates a context state object that holds all Microsoft Direct3D state and some Direct3D behavior. (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public MethodHRESULT ID3D11Device::CreateDomainShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11DomainShader** ppDomainShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateGeometryShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11GeometryShader** ppGeometryShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateGeometryShaderWithStreamOutput([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Buffer, Optional] const D3D11_SO_DECLARATION_ENTRY* pSODeclaration,[In] unsigned int NumEntries,[In, Buffer, Optional] const unsigned int* pBufferStrides,[In] unsigned int NumStrides,[In] unsigned int RasterizedStream,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11GeometryShader** ppGeometryShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateHullShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11HullShader** ppHullShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateInputLayout([In, Buffer] const D3D11_INPUT_ELEMENT_DESC* pInputElementDescs,[In] unsigned int NumElements,[In, Buffer] const void* pShaderBytecodeWithInputSignature,[In] SIZE_T BytecodeLength,[Out, Fast] ID3D11InputLayout** ppInputLayout) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreatePixelShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11PixelShader** ppPixelShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreatePredicate([In] const D3D11_QUERY_DESC* pPredicateDesc,[Out, Fast] ID3D11Predicate** ppPredicate) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateQuery([In] const D3D11_QUERY_DESC* pQueryDesc,[Out, Fast] ID3D11Query** ppQuery) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateRasterizerState([In] const D3D11_RASTERIZER_DESC* pRasterizerDesc,[Out, Fast] ID3D11RasterizerState** ppRasterizerState) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device1::CreateRasterizerState1([In] const D3D11_RASTERIZER_DESC1* pRasterizerDesc,[Out, Fast] ID3D11RasterizerState1** ppRasterizerState) (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public MethodHRESULT ID3D11Device::CreateRenderTargetView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_RENDER_TARGET_VIEW_DESC* pDesc,[Out, Fast] ID3D11RenderTargetView** ppRTView) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateSamplerState([In] const D3D11_SAMPLER_DESC* pSamplerDesc,[Out, Fast] ID3D11SamplerState** ppSamplerState) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateShaderResourceView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc,[Out, Fast] ID3D11ShaderResourceView** ppSRView) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateTexture1D([In] const D3D11_TEXTURE1D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture1D** ppTexture1D) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateTexture2D([In] const D3D11_TEXTURE2D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture2D** ppTexture2D) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateTexture3D([In] const D3D11_TEXTURE3D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture3D** ppTexture3D) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateUnorderedAccessView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_UNORDERED_ACCESS_VIEW_DESC* pDesc,[Out, Fast] ID3D11UnorderedAccessView** ppUAView) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::CreateVertexShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11VertexShader** ppVertexShader) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodOverloaded. Overridden. Clean up any resources being used.  
    Public Methodvoid ID3D11Device::CheckCounterInfo([Out] D3D11_COUNTER_INFO* pCounterInfo) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodGet the type, name, units of measure, and a description of an existing counter. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public Methodunsigned int ID3D11Device::GetCreationFlags() (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::GetDeviceRemovedReason() (Inherited from C1.Util.DX.Direct3D11.Device)
    Public Methodunsigned int ID3D11Device::GetExceptionMode() (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodD3D_FEATURE_LEVEL ID3D11Device::GetFeatureLevel() (Inherited from C1.Util.DX.Direct3D11.Device)
    Public Methodvoid ID3D11Device::GetImmediateContext([Out] ID3D11DeviceContext** ppImmediateContext) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public Methodvoid ID3D11Device1::GetImmediateContext1([Out] ID3D11DeviceContext1** ppImmediateContext) (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public Methodvoid ID3D11Device2::GetImmediateContext2([Out] ID3D11DeviceContext2** ppImmediateContext)  
    Public MethodHRESULT ID3D11Device::GetPrivateData([In] const GUID& guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public Methodvoid ID3D11Device2::GetResourceTiling([In] ID3D11Resource* pTiledResource,[Out, Optional] unsigned int* pNumTilesForEntireResource,[Out, Optional] D3D11_PACKED_MIP_DESC* pPackedMipDesc,[Out, Optional] D3D11_TILE_SHAPE* pStandardTileShapeForNonPackedMips,[InOut] unsigned int* pNumSubresourceTilings,[In] unsigned int FirstSubresourceTilingToGet,[Out, Buffer] D3D11_SUBRESOURCE_TILING* pSubresourceTilingsForNonPackedMips)  
    Public MethodOverloaded. Give a device access to a shared resource created on a different Direct3d device. (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodOverloaded. Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the ResourceMiscFlags.SharedNthandle flag). (Inherited from C1.Util.DX.Direct3D11.Device1)
    Public MethodHRESULT ID3D11Device1::OpenSharedResourceByName([In] const wchar_t* lpName,[In] DXGI_SHARED_RESOURCE_FLAGS dwDesiredAccess,[In] const GUID& returnedInterface,[Out] void** ppResource) (Inherited from C1.Util.DX.Direct3D11.Device1)
    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 ID3D11Device::SetExceptionMode([In] unsigned int RaiseFlags) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::SetPrivateData([In] const GUID& guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData) (Inherited from C1.Util.DX.Direct3D11.Device)
    Public MethodHRESULT ID3D11Device::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData) (Inherited from C1.Util.DX.Direct3D11.Device)
    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.ComObject)
    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 Device2.
    Top
    See Also