[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.Device

Class Device

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

ID3D11Device

[Guid("db6f6ddb-ac77-4e88-8253-819df9bbf140")]
public class Device : ComObject, IDisposable, IUnknown
Inheritance
object
Device
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

Device(IntPtr)

Initializes a new instance of the Device class.

public Device(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Fields

MultisampleCountMaximum

Constant MultisampleCountMaximum.

public const int MultisampleCountMaximum = 32

Field Value

int

Properties

DebugName

Gets or sets the debug-name for this object.

public string DebugName { get; set; }

Property Value

string

ImmediateContext

GetImmediateContext

public DeviceContext ImmediateContext { get; }

Property Value

DeviceContext

Methods

CheckComputeShaderFormatSupport(Format)

Check if this device is supporting compute shaders for the specified format.

public ComputeShaderFormatSupport CheckComputeShaderFormatSupport(Format format)

Parameters

format Format

The format for which to check support.

Returns

ComputeShaderFormatSupport

Flags indicating usage contexts in which the specified format is supported.

CheckCounter(CounterDescription, out CounterType, out int, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)

HRESULT 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 void CheckCounter(CounterDescription descRef, out CounterType typeRef, out int activeCountersRef, IntPtr szName, IntPtr nameLengthRef, IntPtr szUnits, IntPtr unitsLengthRef, IntPtr szDescription, IntPtr descriptionLengthRef)

Parameters

descRef CounterDescription
typeRef CounterType
activeCountersRef int
szName System.IntPtr
nameLengthRef System.IntPtr
szUnits System.IntPtr
unitsLengthRef System.IntPtr
szDescription System.IntPtr
descriptionLengthRef System.IntPtr

CheckD3D11Feature()

Gets information about the features D3D11Options that are supported by the current graphics driver.

public FeatureDataD3D11Options CheckD3D11Feature()

Returns

FeatureDataD3D11Options

Returns a structure FeatureDataD3D11Options

CheckFeatureSupport(Feature, IntPtr, int)

HRESULT ID3D11Device::CheckFeatureSupport([In] D3D11_FEATURE Feature,[Out, Buffer] void* pFeatureSupportData,[In] unsigned int FeatureSupportDataSize)

public HResult CheckFeatureSupport(Feature feature, IntPtr featureSupportDataRef, int featureSupportDataSize)

Parameters

feature Feature
featureSupportDataRef System.IntPtr
featureSupportDataSize int

Returns

HResult

CheckFeatureSupport(Feature)

Check if this device is supporting a feature.

public bool CheckFeatureSupport(Feature feature)

Parameters

feature Feature

The feature to check.

Returns

bool

Returns true if this device supports this feature, otherwise false.

CheckFormatSupport(Format)

HRESULT ID3D11Device::CheckFormatSupport([In] DXGI_FORMAT Format,[Out] D3D11_FORMAT_SUPPORT* pFormatSupport)

public FormatSupport CheckFormatSupport(Format format)

Parameters

format Format

Returns

FormatSupport

CheckFullNonPow2TextureSupport()

Gets information about whether the driver supports the nonpowers-of-2-unconditionally feature.

public bool CheckFullNonPow2TextureSupport()

Returns

bool

Returns true if this hardware supports non-powers-of-2 texture. This returns always true Direct3D 10 and higher feature levels.

CheckMultisampleQualityLevels(Format, int)

HRESULT ID3D11Device::CheckMultisampleQualityLevels([In] DXGI_FORMAT Format,[In] unsigned int SampleCount,[Out] unsigned int* pNumQualityLevels)

public int CheckMultisampleQualityLevels(Format format, int sampleCount)

Parameters

format Format
sampleCount int

Returns

int

CheckShaderMinimumPrecisionSupport()

Gets information about the features ShaderMinimumPrecisionSupport that are supported by the current graphics driver.

public FeatureDataShaderMinimumPrecisionSupport CheckShaderMinimumPrecisionSupport()

Returns

FeatureDataShaderMinimumPrecisionSupport

Returns a structure FeatureDataShaderMinimumPrecisionSupport

CheckThreadingSupport(out bool, out bool)

Check if this device is supporting threading.

public HResult CheckThreadingSupport(out bool supportsConcurrentResources, out bool supportsCommandLists)

Parameters

supportsConcurrentResources bool

Support concurrent resources.

supportsCommandLists bool

Support command lists.

Returns

HResult

A HResult object describing the result of the operation.

CheckTileBasedDeferredRendererSupport()

Gets information about whether a rendering device batches rendering commands and performs multipass rendering into tiles or bins over a render area.

public bool CheckTileBasedDeferredRendererSupport()

Returns

bool

Create(DriverType, DeviceCreationFlags, params FeatureLevel[])

public static Device Create(DriverType driverType, DeviceCreationFlags flags, params FeatureLevel[] featureLevels)

Parameters

driverType DriverType
flags DeviceCreationFlags
featureLevels FeatureLevel[]

Returns

Device

Create(DriverType, DeviceCreationFlags)

public static Device Create(DriverType driverType, DeviceCreationFlags flags)

Parameters

driverType DriverType

Type of the driver.

flags DeviceCreationFlags

The flags.

Returns

Device

Create(DriverType)

Initializes a new instance of the Device class.

public static Device Create(DriverType driverType)

Parameters

driverType DriverType

Type of the driver.

Returns

Device

Create(Adapter, DeviceCreationFlags, params FeatureLevel[])

public static Device Create(Adapter adapter, DeviceCreationFlags flags, params FeatureLevel[] featureLevels)

Parameters

adapter Adapter
flags DeviceCreationFlags
featureLevels FeatureLevel[]

Returns

Device

Create(Adapter, DeviceCreationFlags)

public static Device Create(Adapter adapter, DeviceCreationFlags flags)

Parameters

adapter Adapter
flags DeviceCreationFlags

Returns

Device

Create(Adapter)

Initializes a new instance of the Device class.

public static Device Create(Adapter adapter)

Parameters

adapter Adapter

The adapter.

Returns

Device

CreateBlendState(ref BlendStateDescription)

HRESULT ID3D11Device::CreateBlendState([In] const D3D11_BLEND_DESC* pBlendStateDesc,[Out, Fast] ID3D11BlendState** ppBlendState)

public BlendState CreateBlendState(ref BlendStateDescription blendStateDescRef)

Parameters

blendStateDescRef BlendStateDescription

Returns

BlendState

CreateBuffer(ref BufferDescription, DataBox?)

HRESULT ID3D11Device::CreateBuffer([In] const D3D11_BUFFER_DESC* pDesc,[In, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Buffer** ppBuffer)

public Buffer CreateBuffer(ref BufferDescription descRef, DataBox? initialDataRef)

Parameters

descRef BufferDescription
initialDataRef DataBox?

Returns

Buffer

CreateClassLinkage()

HRESULT ID3D11Device::CreateClassLinkage([Out, Fast] ID3D11ClassLinkage** ppLinkage)

public ClassLinkage CreateClassLinkage()

Returns

ClassLinkage

CreateComputeShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreateComputeShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11ComputeShader** ppComputeShader)

public ComputeShader CreateComputeShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

ComputeShader

CreateCounter(CounterDescription)

HRESULT ID3D11Device::CreateCounter([In] const D3D11_COUNTER_DESC* pCounterDesc,[Out, Fast] ID3D11Counter** ppCounter)

public Counter CreateCounter(CounterDescription counterDescRef)

Parameters

counterDescRef CounterDescription

Returns

Counter

CreateDeferredContext(int)

HRESULT ID3D11Device::CreateDeferredContext([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext** ppDeferredContext)

public DeviceContext CreateDeferredContext(int contextFlags)

Parameters

contextFlags int

Returns

DeviceContext

CreateDepthStencilState(ref DepthStencilStateDescription)

HRESULT ID3D11Device::CreateDepthStencilState([In] const D3D11_DEPTH_STENCIL_DESC* pDepthStencilDesc,[Out, Fast] ID3D11DepthStencilState** ppDepthStencilState)

public DepthStencilState CreateDepthStencilState(ref DepthStencilStateDescription depthStencilDescRef)

Parameters

depthStencilDescRef DepthStencilStateDescription

Returns

DepthStencilState

CreateDepthStencilView(Resource, DepthStencilViewDescription?)

HRESULT ID3D11Device::CreateDepthStencilView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc,[Out, Fast] ID3D11DepthStencilView** ppDepthStencilView)

public DepthStencilView CreateDepthStencilView(Resource resourceRef, DepthStencilViewDescription? descRef)

Parameters

resourceRef Resource
descRef DepthStencilViewDescription?

Returns

DepthStencilView

CreateDomainShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreateDomainShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11DomainShader** ppDomainShader)

public DomainShader CreateDomainShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

DomainShader

CreateGeometryShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreateGeometryShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11GeometryShader** ppGeometryShader)

public GeometryShader CreateGeometryShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

GeometryShader

CreateGeometryShaderWithStreamOutput(IntPtr, PointerSize, StreamOutputElement[], int, int[], int, int, ClassLinkage)

HRESULT 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 GeometryShader CreateGeometryShaderWithStreamOutput(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, StreamOutputElement[] sODeclarationRef, int numEntries, int[] bufferStridesRef, int numStrides, int rasterizedStream, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
sODeclarationRef StreamOutputElement[]
numEntries int
bufferStridesRef int[]
numStrides int
rasterizedStream int
classLinkageRef ClassLinkage

Returns

GeometryShader

CreateHullShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreateHullShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11HullShader** ppHullShader)

public HullShader CreateHullShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

HullShader

CreateInputLayout(InputElement[], int, IntPtr, PointerSize)

HRESULT 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 InputLayout CreateInputLayout(InputElement[] inputElementDescsRef, int numElements, IntPtr shaderBytecodeWithInputSignatureRef, PointerSize bytecodeLength)

Parameters

inputElementDescsRef InputElement[]
numElements int
shaderBytecodeWithInputSignatureRef System.IntPtr
bytecodeLength PointerSize

Returns

InputLayout

CreatePixelShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreatePixelShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11PixelShader** ppPixelShader)

public PixelShader CreatePixelShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

PixelShader

CreatePredicate(QueryDescription)

HRESULT ID3D11Device::CreatePredicate([In] const D3D11_QUERY_DESC* pPredicateDesc,[Out, Fast] ID3D11Predicate** ppPredicate)

public Predicate CreatePredicate(QueryDescription predicateDescRef)

Parameters

predicateDescRef QueryDescription

Returns

Predicate

CreateQuery(QueryDescription)

HRESULT ID3D11Device::CreateQuery([In] const D3D11_QUERY_DESC* pQueryDesc,[Out, Fast] ID3D11Query** ppQuery)

public Query CreateQuery(QueryDescription queryDescRef)

Parameters

queryDescRef QueryDescription

Returns

Query

CreateRasterizerState(ref RasterizerStateDescription)

HRESULT ID3D11Device::CreateRasterizerState([In] const D3D11_RASTERIZER_DESC* pRasterizerDesc,[Out, Fast] ID3D11RasterizerState** ppRasterizerState)

public RasterizerState CreateRasterizerState(ref RasterizerStateDescription rasterizerDescRef)

Parameters

rasterizerDescRef RasterizerStateDescription

Returns

RasterizerState

CreateRenderTargetView(Resource, RenderTargetViewDescription?)

HRESULT ID3D11Device::CreateRenderTargetView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_RENDER_TARGET_VIEW_DESC* pDesc,[Out, Fast] ID3D11RenderTargetView** ppRTView)

public RenderTargetView CreateRenderTargetView(Resource resourceRef, RenderTargetViewDescription? descRef)

Parameters

resourceRef Resource
descRef RenderTargetViewDescription?

Returns

RenderTargetView

CreateSamplerState(ref SamplerStateDescription)

HRESULT ID3D11Device::CreateSamplerState([In] const D3D11_SAMPLER_DESC* pSamplerDesc,[Out, Fast] ID3D11SamplerState** ppSamplerState)

public SamplerState CreateSamplerState(ref SamplerStateDescription samplerDescRef)

Parameters

samplerDescRef SamplerStateDescription

Returns

SamplerState

CreateShaderResourceView(Resource, ShaderResourceViewDescription?)

HRESULT ID3D11Device::CreateShaderResourceView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc,[Out, Fast] ID3D11ShaderResourceView** ppSRView)

public ShaderResourceView CreateShaderResourceView(Resource resourceRef, ShaderResourceViewDescription? descRef)

Parameters

resourceRef Resource
descRef ShaderResourceViewDescription?

Returns

ShaderResourceView

CreateTexture1D(ref Texture1DDescription, DataBox[])

HRESULT ID3D11Device::CreateTexture1D([In] const D3D11_TEXTURE1D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture1D** ppTexture1D)

public Texture1D CreateTexture1D(ref Texture1DDescription descRef, DataBox[] initialDataRef)

Parameters

descRef Texture1DDescription
initialDataRef DataBox[]

Returns

Texture1D

CreateTexture2D(ref Texture2DDescription, DataBox[])

HRESULT ID3D11Device::CreateTexture2D([In] const D3D11_TEXTURE2D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture2D** ppTexture2D)

public Texture2D CreateTexture2D(ref Texture2DDescription descRef, DataBox[] initialDataRef)

Parameters

descRef Texture2DDescription
initialDataRef DataBox[]

Returns

Texture2D

CreateTexture3D(ref Texture3DDescription, DataBox[])

HRESULT ID3D11Device::CreateTexture3D([In] const D3D11_TEXTURE3D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture3D** ppTexture3D)

public Texture3D CreateTexture3D(ref Texture3DDescription descRef, DataBox[] initialDataRef)

Parameters

descRef Texture3DDescription
initialDataRef DataBox[]

Returns

Texture3D

CreateUnorderedAccessView(Resource, UnorderedAccessViewDescription?)

HRESULT ID3D11Device::CreateUnorderedAccessView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_UNORDERED_ACCESS_VIEW_DESC* pDesc,[Out, Fast] ID3D11UnorderedAccessView** ppUAView)

public UnorderedAccessView CreateUnorderedAccessView(Resource resourceRef, UnorderedAccessViewDescription? descRef)

Parameters

resourceRef Resource
descRef UnorderedAccessViewDescription?

Returns

UnorderedAccessView

CreateVertexShader(IntPtr, PointerSize, ClassLinkage)

HRESULT ID3D11Device::CreateVertexShader([In, Buffer] const void* pShaderBytecode,[In] SIZE_T BytecodeLength,[In, Optional] ID3D11ClassLinkage* pClassLinkage,[Out, Fast] ID3D11VertexShader** ppVertexShader)

public VertexShader CreateVertexShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef)

Parameters

shaderBytecodeRef System.IntPtr
bytecodeLength PointerSize
classLinkageRef ClassLinkage

Returns

VertexShader

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

GetCounterCapabilities()

void ID3D11Device::CheckCounterInfo([Out] D3D11_COUNTER_INFO* pCounterInfo)

public CounterCapabilities GetCounterCapabilities()

Returns

CounterCapabilities

GetCounterMetadata(CounterDescription)

Get the type, name, units of measure, and a description of an existing counter.

public CounterMetadata GetCounterMetadata(CounterDescription counterDescription)

Parameters

counterDescription CounterDescription

The counter description.

Returns

CounterMetadata

Description of the counter

GetCreationFlags()

unsigned int ID3D11Device::GetCreationFlags()

public DeviceCreationFlags GetCreationFlags()

Returns

DeviceCreationFlags

GetDeviceRemovedReason()

HRESULT ID3D11Device::GetDeviceRemovedReason()

public HResult GetDeviceRemovedReason()

Returns

HResult

GetExceptionMode()

unsigned int ID3D11Device::GetExceptionMode()

public int GetExceptionMode()

Returns

int

GetFeatureLevel()

D3D_FEATURE_LEVEL ID3D11Device::GetFeatureLevel()

public FeatureLevel GetFeatureLevel()

Returns

FeatureLevel

GetImmediateContext(out DeviceContext)

void ID3D11Device::GetImmediateContext([Out] ID3D11DeviceContext** ppImmediateContext)

public void GetImmediateContext(out DeviceContext immediateContextOut)

Parameters

immediateContextOut DeviceContext

GetPrivateData(Guid, ref int, IntPtr)

HRESULT ID3D11Device::GetPrivateData([In] const GUID& guid,[InOut] unsigned int* pDataSize,[Out, Buffer, Optional] void* pData)

public HResult GetPrivateData(Guid guid, ref int dataSizeRef, IntPtr dataRef)

Parameters

guid System.Guid
dataSizeRef int
dataRef System.IntPtr

Returns

HResult

GetSupportedFeatureLevel()

Gets the highest supported hardware feature level of the primary adapter.

public static FeatureLevel GetSupportedFeatureLevel()

Returns

FeatureLevel

The highest supported hardware feature level.

GetSupportedFeatureLevel(Adapter)

Gets the highest supported hardware feature level of the primary adapter.

public static FeatureLevel GetSupportedFeatureLevel(Adapter adapter)

Parameters

adapter Adapter

The adapter.

Returns

FeatureLevel

The highest supported hardware feature level.

IsSupportedFeatureLevel(FeatureLevel)

Check if a feature level is supported by a primary adapter.

public static bool IsSupportedFeatureLevel(FeatureLevel featureLevel)

Parameters

featureLevel FeatureLevel

The feature level.

Returns

bool

true if the primary adapter is supporting this feature level; otherwise, false.

IsSupportedFeatureLevel(Adapter, FeatureLevel)

Check if a feature level is supported by a particular adapter.

public static bool IsSupportedFeatureLevel(Adapter adapter, FeatureLevel featureLevel)

Parameters

adapter Adapter

The adapter.

featureLevel FeatureLevel

The feature level.

Returns

bool

true if the specified adapter is supporting this feature level; otherwise, false.

OpenSharedResource(IntPtr, Guid)

HRESULT ID3D11Device::OpenSharedResource([In] void* hResource,[In] const GUID& ReturnedInterface,[Out, Optional] void** ppResource)

public IntPtr OpenSharedResource(IntPtr hResource, Guid returnedInterface)

Parameters

hResource System.IntPtr
returnedInterface System.Guid

Returns

System.IntPtr

OpenSharedResource<T>(IntPtr)

Give a device access to a shared resource created on a different Direct3d device.

public T OpenSharedResource<T>(IntPtr resourceHandle) where T : ComObject

Parameters

resourceHandle System.IntPtr

A resource handle. See remarks.

Returns

T

This method returns a reference to the resource we are gaining access to.

Type Parameters

T

The type of the resource we are gaining access to.

SetExceptionMode(int)

HRESULT ID3D11Device::SetExceptionMode([In] unsigned int RaiseFlags)

public void SetExceptionMode(int raiseFlags)

Parameters

raiseFlags int

SetPrivateData(Guid, int, IntPtr)

HRESULT ID3D11Device::SetPrivateData([In] const GUID& guid,[In] unsigned int DataSize,[In, Buffer, Optional] const void* pData)

public void SetPrivateData(Guid guid, int dataSize, IntPtr dataRef)

Parameters

guid System.Guid
dataSize int
dataRef System.IntPtr

SetPrivateDataInterface(Guid, ComObject)

HRESULT ID3D11Device::SetPrivateDataInterface([In] const GUID& guid,[In, Optional] const IUnknown* pData)

public void SetPrivateDataInterface(Guid guid, ComObject dataRef)

Parameters

guid System.Guid
dataRef ComObject

Operators

explicit operator Device(IntPtr)

Performs an explicit conversion from System.IntPtr to Device.

public static explicit operator Device(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Device