Reference Library
Performance Class
NamespacesSlimDXPerformance
This is preliminary documentation and is subject to change.
Provides access to the Direct3D performance API, which allows applications to gather performance data and integrate with PIX for Windows in order to perform detailed analysis.
Declaration Syntax
C#Visual BasicC++/CLI
public sealed class Performance
Public NotInheritable Class Performance
public ref class Performance sealed
Members
All MembersMethods



IconMemberDescription
BeginEvent(Color4, String)
Marks the beginning of a user-defined event. PIX can use this event to trigger an action.

EndEvent()()()
Marks the end of a user-defined event. PIX can use this event to trigger an action.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetStatus()()()
Determines the current state of the profiler from the target program.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
QueryRepeatFrame()()()
Determined whether a performance profiler is requesting that the current frame be resubmitted to Direct3D for performance analysis. This function is not currently supported by PIX.

SetMarker(Color4, String)
Marks an instantaneous event. PIX can use this event to trigger an action.

SetOptions(PerformanceOptions)
Sets profiler options specified by the target platform.

SetRegion(Color4, String)
Marks a series of frames with the specified color and name in the PIXRun file. This function is not currently supported by PIX.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Performance

Assembly: SlimDX (Module: SlimDX)