[]
ID3D11Counter
[Guid("6e8c49fb-a371-4770-b440-29086022b741")]
public class Counter : Asynchronous, IDisposable, IUnknown
Initializes a new instance of the Counter class.
public Counter(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public CounterDescription Description { get; }
Constructs a new Counter based on the specified description.
public static Counter Create(Device device, CounterDescription description)
device
DeviceThe device with which to associate the state object.
description
CounterDescriptionThe counter description.
void ID3D11Counter::GetDesc([Out] D3D11_COUNTER_DESC* pDesc)
public void GetDescription(out CounterDescription descRef)
descRef
CounterDescriptionPerforms an explicit conversion from System.IntPtr to Counter.
public static explicit operator Counter(IntPtr nativePointer)
nativePointer
System.IntPtr