|
//Copyright (c) Microsoft Corporation. All rights reserved.
#pragma once
#include "D3D10Asynchronous.h"
namespace Microsoft { namespace WindowsAPICodePack { namespace DirectX { namespace Direct3D10 {
using namespace System;
/// <summary>
/// This class encapsulates methods for measuring GPU performance.
/// <para>(Also see DirectX SDK: ID3D10Counter)</para>
/// </summary>
public ref class D3DCounter :
public Asynchronous
{
public:
/// <summary>
/// Get a counter description.
/// <para>(Also see DirectX SDK: ID3D10Counter::GetDesc)</para>
/// </summary>
/// <returns>A counter description (see <see cref="CounterDescription"/>)<seealso cref="CounterDescription"/>.</returns>
property CounterDescription Description
{
CounterDescription get();
}
internal:
D3DCounter()
{ }
D3DCounter(ID3D10Counter* pNativeID3D10Counter) : Asynchronous(pNativeID3D10Counter)
{ }
};
} } } }
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
John graduated from the University of South Australia in 1997 with a Bachelor of Electronic Engineering Degree, and since then he has worked on hardware and software in many fields including Aerospace, Defence, and Medical giving him over 10 of years experience in C++ and C# programming. In 2009 John Started his own contracting company doing business between Taiwan and Australia.