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


In This Topic
    Device Class Members
    In This Topic

    The following tables list the members exposed by Device.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Device class.  
    Top
    Public Fields
     NameDescription
    Public FieldConstant MultisampleCountMaximum.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the debug-name for this object.  
    Public PropertyGetImmediateContext  
    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.  
    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)  
    Public MethodGets information about the features Feature.D3D11Options that are supported by the current graphics driver.  
    Public MethodOverloaded. Check if this device is supporting a feature.  
    Public MethodHRESULT ID3D11Device::CheckFormatSupport([In] DXGI_FORMAT Format,[Out] D3D11_FORMAT_SUPPORT* pFormatSupport)  
    Public MethodGets information about whether the driver supports the nonpowers-of-2-unconditionally feature.  
    Public MethodHRESULT ID3D11Device::CheckMultisampleQualityLevels([In] DXGI_FORMAT Format,[In] unsigned int SampleCount,[Out] unsigned int* pNumQualityLevels)  
    Public MethodGets information about the features Feature.ShaderMinimumPrecisionSupport that are supported by the current graphics driver.  
    Public MethodCheck if this device is supporting threading.  
    Public MethodGets information about whether a rendering device batches rendering commands and performs multipass rendering into tiles or bins over a render area.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Initializes a new instance of the Device class.  
    Public MethodHRESULT ID3D11Device::CreateBlendState([In] const D3D11_BLEND_DESC* pBlendStateDesc,[Out, Fast] ID3D11BlendState** ppBlendState)  
    Public MethodHRESULT ID3D11Device::CreateBuffer([In] const D3D11_BUFFER_DESC* pDesc,[In, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Buffer** ppBuffer)  
    Public MethodHRESULT ID3D11Device::CreateClassLinkage([Out, Fast] ID3D11ClassLinkage** ppLinkage)  
    Public MethodHRESULT ID3D11Device::CreateComputeShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11ComputeShader** ppComputeShader)  
    Public MethodHRESULT ID3D11Device::CreateCounter([In] const D3D11_COUNTER_DESC* pCounterDesc,[Out, Fast] ID3D11Counter** ppCounter)  
    Public MethodHRESULT ID3D11Device::CreateDeferredContext([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext** ppDeferredContext)  
    Public MethodHRESULT ID3D11Device::CreateDepthStencilState([In] const D3D11_DEPTH_STENCIL_DESC* pDepthStencilDesc,[Out, Fast] ID3D11DepthStencilState** ppDepthStencilState)  
    Public MethodHRESULT ID3D11Device::CreateDepthStencilView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc,[Out, Fast] ID3D11DepthStencilView** ppDepthStencilView)  
    Public MethodHRESULT ID3D11Device::CreateDomainShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11DomainShader** ppDomainShader)  
    Public MethodHRESULT ID3D11Device::CreateGeometryShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11GeometryShader** ppGeometryShader)  
    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)  
    Public MethodHRESULT ID3D11Device::CreateHullShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11HullShader** ppHullShader)  
    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)  
    Public MethodHRESULT ID3D11Device::CreatePixelShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11PixelShader** ppPixelShader)  
    Public MethodHRESULT ID3D11Device::CreatePredicate([In] const D3D11_QUERY_DESC* pPredicateDesc,[Out, Fast] ID3D11Predicate** ppPredicate)  
    Public MethodHRESULT ID3D11Device::CreateQuery([In] const D3D11_QUERY_DESC* pQueryDesc,[Out, Fast] ID3D11Query** ppQuery)  
    Public MethodHRESULT ID3D11Device::CreateRasterizerState([In] const D3D11_RASTERIZER_DESC* pRasterizerDesc,[Out, Fast] ID3D11RasterizerState** ppRasterizerState)  
    Public MethodHRESULT ID3D11Device::CreateRenderTargetView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_RENDER_TARGET_VIEW_DESC* pDesc,[Out, Fast] ID3D11RenderTargetView** ppRTView)  
    Public MethodHRESULT ID3D11Device::CreateSamplerState([In] const D3D11_SAMPLER_DESC* pSamplerDesc,[Out, Fast] ID3D11SamplerState** ppSamplerState)  
    Public MethodHRESULT ID3D11Device::CreateShaderResourceView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc,[Out, Fast] ID3D11ShaderResourceView** ppSRView)  
    Public MethodHRESULT ID3D11Device::CreateTexture1D([In] const D3D11_TEXTURE1D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture1D** ppTexture1D)  
    Public MethodHRESULT ID3D11Device::CreateTexture2D([In] const D3D11_TEXTURE2D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture2D** ppTexture2D)  
    Public MethodHRESULT ID3D11Device::CreateTexture3D([In] const D3D11_TEXTURE3D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture3D** ppTexture3D)  
    Public MethodHRESULT ID3D11Device::CreateUnorderedAccessView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_UNORDERED_ACCESS_VIEW_DESC* pDesc,[Out, Fast] ID3D11UnorderedAccessView** ppUAView)  
    Public MethodHRESULT ID3D11Device::CreateVertexShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11VertexShader** ppVertexShader)  
    Public MethodOverloaded. Overridden. Clean up any resources being used.  
    Public Methodvoid ID3D11Device::CheckCounterInfo([Out] D3D11_COUNTER_INFO* pCounterInfo)  
    Public MethodGet the type, name, units of measure, and a description of an existing counter.  
    Public Methodunsigned int ID3D11Device::GetCreationFlags()  
    Public MethodHRESULT ID3D11Device::GetDeviceRemovedReason()  
    Public Methodunsigned int ID3D11Device::GetExceptionMode()  
    Public MethodD3D_FEATURE_LEVEL ID3D11Device::GetFeatureLevel()  
    Public Methodvoid ID3D11Device::GetImmediateContext([Out] ID3D11DeviceContext** ppImmediateContext)  
    Public MethodHRESULT ID3D11Device::GetPrivateData([In] const GUID& guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData)  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets the highest supported hardware feature level of the primary adapter.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Check if a feature level is supported by a primary adapter.  
    Public MethodOverloaded. Give a device access to a shared resource created on a different Direct3d device.  
    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)  
    Public MethodHRESULT ID3D11Device::SetPrivateData([In] const GUID& guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData)  
    Public MethodHRESULT ID3D11Device::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData)  
    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 Device.
    Top
    See Also