SharpDX.Desktop Helper class to allow programmatic capturing of graphics information that can be loaded later in Visual Studio. This is a managed implementation of the VsDbg class (http://msdn.microsoft.com/en-us/library/vstudio/dn440549.aspx). Requires to have installed VS Remote Tools. http://msdn.microsoft.com/en-us/library/vstudio/hh708963.aspx http://msdn.microsoft.com/en-us/library/vstudio/hh780905.aspx Helper structure to ease the begin/end graphics capturing var debugger = new VSGraphicsDebugger(); using(debugger.BeginCapture()) { ... } Creates a new instance of the structure. The attanched graphics debugger. Ends the capture by calling . Creates a new instance of the class and prepares the in-app component of graphics diagnostics to actively capture and record graphics information.. The destination filename for log writing. Copies the contents of the active graphics log (.vsglog) file into a new file. The new log file name. Toggles the graphics diagnostics HUD overlay on or off. Adds a custom message to the graphics diagnostics HUD (Head-Up Display). The message to add. Captures the remainder of the current frame to the graphics log file. Begins a capture interval that will end with . A instance that once disposed, calls automatically the method. Ends a capture interval that was started with . Finalizes the graphics log file, closes it, and frees resources that were used while the app was actively recording graphics information. Ignored. Helper class for PIX. Marks the beginning of a user-defined event. PIX can use this event to trigger an action. The Event color. The Event Name. The zero-based level of the hierarchy that this event is starting in. If an error occurs, the return value will be negative. D3DPERF_BeginEvent Marks the beginning of a user-defined event. PIX can use this event to trigger an action. The Event color. The Event formatted Name. The parameters to use for the formatted name. The zero-based level of the hierarchy that this event is starting in. If an error occurs, the return value will be negative. D3DPERF_BeginEvent Mark the end of a user-defined event. PIX can use this event to trigger an action. The level of the hierarchy in which the event is ending. If an error occurs, this value is negative. D3DPERF_EndEvent Mark an instantaneous event. PIX can use this event to trigger an action. The color. The name. D3DPERF_SetMarker Mark an instantaneous event. PIX can use this event to trigger an action. The color. The name to format. The parameters to use to format the name. D3DPERF_SetMarker Set this to false to notify PIX that the target program does not give permission to be profiled. if set to true PIX profiling is authorized. Default to true. D3DPERF_SetOptions Gets a value indicating whether this instance is currently profiled by PIX. true if this instance is currently profiled; otherwise, false. D3DPERF_GetStatus Provides a hook to WndProc of an existing window handle using . Initializes a new instance of the class. The HWND. Adds a message filter to a window. The handle of the window. The message filter. Removes a message filter associated with a window. The handle of the window. The message filter. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized resource of type System.Drawing.Icon similar to (Icon). A Renderable UserControl. Initializes a new instance of the class. Paints the background of the control. A that contains the event data. Raises the event. A that contains the event data. Default Rendering Form. Initializes a new instance of the class. Initializes a new instance of the class. The text. Occurs when [app activated]. Occurs when [app deactivated]. Occurs when [monitor changed]. Occurs when [pause rendering]. Occurs when [resume rendering]. Occurs when [screensaver]. Occurs when [system resume]. Occurs when [system suspend]. Occurs when [user resized]. Gets or sets a value indicating whether this form can be resized by the user. See remarks. This property alters , for true value it is , for false - . true if this form can be resized by the user (by default); otherwise, false. Gets or sets a value indicationg whether the current render form is in fullscreen mode. See remarks. If Toolkit is used, this property is set automatically, otherwise user should maintain it himself as it affects the behavior of property. Raises the event. A that contains the event data. Raises the event. A that contains the event data. Raises the event. An that contains the event data. Paints the background of the control. A that contains the event data. Raises the Pause Rendering event. The instance containing the event data. Raises the Resume Rendering event. The instance containing the event data. Raises the User resized event. The instance containing the event data. Raises the On App Activated event. The instance containing the event data. Raises the App Deactivated event The instance containing the event data. Raises the System Suspend event The instance containing the event data. Raises the System Resume event The instance containing the event data. Raises the event. The instance containing the event data. Override windows message loop handling. The Windows to process. RenderLoop provides a rendering loop infrastructure. See remarks for usage. Use static method to directly use a renderloop with a render callback or use your own loop: control.Show(); using (var loop = new RenderLoop(control)) { while (loop.NextFrame()) { // Perform draw operations here. } } Note that the main control can be changed at anytime inside the loop. Initializes a new instance of the class. Initializes a new instance of the class. Gets or sets the control to associate with the current render loop. The control. Control is already disposed Gets or sets a value indicating whether the render loop should use the default instead of a custom window message loop lightweight for GC. Default is false. true if the render loop should use the default instead of a custom window message loop (default false); otherwise, false. By default, RenderLoop is using a custom window message loop that is more lightweight than to process windows event message. Set this parameter to true to use the default . Calls this method on each frame. true if if the control is still active, false otherwise. An error occured Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Delegate for the rendering loop. Runs the specified main loop in the specified context. Runs the specified main loop for the specified windows form. The form. The rendering callback. if set to true indicating whether the render loop should use the default instead of a custom window message loop lightweight for GC. Default is false. form or renderCallback Gets a value indicating whether this instance is application idle. true if this instance is application idle; otherwise, false. Internal class to interact with Native Message