Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

470 linhas
23 KiB

  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>SharpDX.Desktop</name>
  5. </assembly>
  6. <members>
  7. <member name="T:SharpDX.Diagnostics.VSGraphicsDebugger">
  8. <summary>
  9. Helper class to allow programmatic capturing of graphics information that can be loaded later in Visual Studio.
  10. This is a managed implementation of the VsDbg class (http://msdn.microsoft.com/en-us/library/vstudio/dn440549.aspx).
  11. Requires to have installed VS Remote Tools.
  12. http://msdn.microsoft.com/en-us/library/vstudio/hh708963.aspx
  13. http://msdn.microsoft.com/en-us/library/vstudio/hh780905.aspx
  14. </summary>
  15. </member>
  16. <member name="T:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureToken">
  17. <summary>
  18. Helper structure to ease the begin/end graphics capturing
  19. </summary>
  20. <example>
  21. var debugger = new VSGraphicsDebugger();
  22. using(debugger.BeginCapture())
  23. {
  24. ...
  25. }
  26. </example>
  27. </member>
  28. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureToken.#ctor(SharpDX.Diagnostics.VSGraphicsDebugger)">
  29. <summary>
  30. Creates a new instance of the <see cref="T:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureToken"/> structure.
  31. </summary>
  32. <param name="debugger">The attanched graphics debugger.</param>
  33. </member>
  34. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureToken.Dispose">
  35. <summary>
  36. Ends the capture by calling <see cref="M:SharpDX.Diagnostics.VSGraphicsDebugger.EndCapture"/>.
  37. </summary>
  38. </member>
  39. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.#ctor(System.String)">
  40. <summary>
  41. Creates a new instance of the <see cref="T:SharpDX.Diagnostics.VSGraphicsDebugger"/> class and prepares the in-app component of graphics diagnostics to actively capture and record graphics information..
  42. </summary>
  43. <param name="logFileName">The destination filename for log writing.</param>
  44. </member>
  45. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.CopyLogFile(System.String)">
  46. <summary>
  47. Copies the contents of the active graphics log (.vsglog) file into a new file.
  48. </summary>
  49. <param name="destinationFileName">The new log file name.</param>
  50. </member>
  51. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.ToggleHUD">
  52. <summary>
  53. Toggles the graphics diagnostics HUD overlay on or off.
  54. </summary>
  55. </member>
  56. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.AddHUDMessage(System.String)">
  57. <summary>
  58. Adds a custom message to the graphics diagnostics HUD (Head-Up Display).
  59. </summary>
  60. <param name="message">The message to add.</param>
  61. </member>
  62. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureCurrentFrame">
  63. <summary>
  64. Captures the remainder of the current frame to the graphics log file.
  65. </summary>
  66. </member>
  67. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.BeginCapture">
  68. <summary>
  69. Begins a capture interval that will end with <see cref="M:SharpDX.Diagnostics.VSGraphicsDebugger.EndCapture"/>.
  70. </summary>
  71. <returns>A <see cref="T:SharpDX.Diagnostics.VSGraphicsDebugger.CaptureToken"/> instance that once disposed, calls automatically the <see cref="M:SharpDX.Diagnostics.VSGraphicsDebugger.EndCapture"/> method.</returns>
  72. </member>
  73. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.EndCapture">
  74. <summary>
  75. Ends a capture interval that was started with <see cref="M:SharpDX.Diagnostics.VSGraphicsDebugger.BeginCapture"/>.
  76. </summary>
  77. </member>
  78. <member name="M:SharpDX.Diagnostics.VSGraphicsDebugger.Dispose(System.Boolean)">
  79. <summary>
  80. Finalizes the graphics log file, closes it, and frees resources that were used while the app was actively recording graphics information.
  81. </summary>
  82. <param name="disposing">Ignored.</param>
  83. </member>
  84. <member name="T:SharpDX.Direct3D.PixHelper">
  85. <summary>
  86. Helper class for PIX.
  87. </summary>
  88. </member>
  89. <member name="M:SharpDX.Direct3D.PixHelper.BeginEvent(SharpDX.Mathematics.Interop.RawColorBGRA,System.String)">
  90. <summary>
  91. Marks the beginning of a user-defined event. PIX can use this event to trigger an action.
  92. </summary>
  93. <param name="color">The Event color.</param>
  94. <param name="name">The Event Name.</param>
  95. <returns>The zero-based level of the hierarchy that this event is starting in. If an error occurs, the return value will be negative.</returns>
  96. <unmanaged>D3DPERF_BeginEvent</unmanaged>
  97. </member>
  98. <member name="M:SharpDX.Direct3D.PixHelper.BeginEvent(SharpDX.Mathematics.Interop.RawColorBGRA,System.String,System.Object[])">
  99. <summary>
  100. Marks the beginning of a user-defined event. PIX can use this event to trigger an action.
  101. </summary>
  102. <param name="color">The Event color.</param>
  103. <param name="name">The Event formatted Name.</param>
  104. <param name="parameters">The parameters to use for the formatted name.</param>
  105. <returns>
  106. The zero-based level of the hierarchy that this event is starting in. If an error occurs, the return value will be negative.
  107. </returns>
  108. <unmanaged>D3DPERF_BeginEvent</unmanaged>
  109. </member>
  110. <member name="M:SharpDX.Direct3D.PixHelper.EndEvent">
  111. <summary>
  112. Mark the end of a user-defined event. PIX can use this event to trigger an action.
  113. </summary>
  114. <returns>The level of the hierarchy in which the event is ending. If an error occurs, this value is negative.</returns>
  115. <unmanaged>D3DPERF_EndEvent</unmanaged>
  116. </member>
  117. <member name="M:SharpDX.Direct3D.PixHelper.SetMarker(SharpDX.Mathematics.Interop.RawColorBGRA,System.String)">
  118. <summary>
  119. Mark an instantaneous event. PIX can use this event to trigger an action.
  120. </summary>
  121. <param name="color">The color.</param>
  122. <param name="name">The name.</param>
  123. <unmanaged>D3DPERF_SetMarker</unmanaged>
  124. </member>
  125. <member name="M:SharpDX.Direct3D.PixHelper.SetMarker(SharpDX.Mathematics.Interop.RawColorBGRA,System.String,System.Object[])">
  126. <summary>
  127. Mark an instantaneous event. PIX can use this event to trigger an action.
  128. </summary>
  129. <param name="color">The color.</param>
  130. <param name="name">The name to format.</param>
  131. <param name="parameters">The parameters to use to format the name.</param>
  132. <unmanaged>D3DPERF_SetMarker</unmanaged>
  133. </member>
  134. <member name="M:SharpDX.Direct3D.PixHelper.AllowProfiling(System.Boolean)">
  135. <summary>
  136. Set this to false to notify PIX that the target program does not give permission to be profiled.
  137. </summary>
  138. <param name="enableFlag">if set to <c>true</c> PIX profiling is authorized. Default to true.</param>
  139. <unmanaged>D3DPERF_SetOptions</unmanaged>
  140. </member>
  141. <member name="P:SharpDX.Direct3D.PixHelper.IsCurrentlyProfiled">
  142. <summary>
  143. Gets a value indicating whether this instance is currently profiled by PIX.
  144. </summary>
  145. <value>
  146. <c>true</c> if this instance is currently profiled; otherwise, <c>false</c>.
  147. </value>
  148. <unmanaged>D3DPERF_GetStatus</unmanaged>
  149. </member>
  150. <member name="T:SharpDX.MessageFilterHook">
  151. <summary>
  152. Provides a hook to WndProc of an existing window handle using <see cref="T:System.Windows.Forms.IMessageFilter"/>.
  153. </summary>
  154. </member>
  155. <member name="M:SharpDX.MessageFilterHook.#ctor(System.IntPtr)">
  156. <summary>
  157. Initializes a new instance of the <see cref="!:Win32.MessageFilterHook" /> class.
  158. </summary>
  159. <param name="hwnd">The HWND.</param>
  160. </member>
  161. <member name="M:SharpDX.MessageFilterHook.AddMessageFilter(System.IntPtr,System.Windows.Forms.IMessageFilter)">
  162. <summary>
  163. Adds a message filter to a window.
  164. </summary>
  165. <param name="hwnd">The handle of the window.</param>
  166. <param name="messageFilter">The message filter.</param>
  167. </member>
  168. <member name="M:SharpDX.MessageFilterHook.RemoveMessageFilter(System.IntPtr,System.Windows.Forms.IMessageFilter)">
  169. <summary>
  170. Removes a message filter associated with a window.
  171. </summary>
  172. <param name="hwnd">The handle of the window.</param>
  173. <param name="messageFilter">The message filter.</param>
  174. </member>
  175. <member name="T:SharpDX.Desktop.Properties.Resources">
  176. <summary>
  177. A strongly-typed resource class, for looking up localized strings, etc.
  178. </summary>
  179. </member>
  180. <member name="P:SharpDX.Desktop.Properties.Resources.ResourceManager">
  181. <summary>
  182. Returns the cached ResourceManager instance used by this class.
  183. </summary>
  184. </member>
  185. <member name="P:SharpDX.Desktop.Properties.Resources.Culture">
  186. <summary>
  187. Overrides the current thread's CurrentUICulture property for all
  188. resource lookups using this strongly typed resource class.
  189. </summary>
  190. </member>
  191. <member name="P:SharpDX.Desktop.Properties.Resources.logo">
  192. <summary>
  193. Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
  194. </summary>
  195. </member>
  196. <member name="T:SharpDX.Windows.RenderControl">
  197. <summary>
  198. A Renderable UserControl.
  199. </summary>
  200. </member>
  201. <member name="M:SharpDX.Windows.RenderControl.#ctor">
  202. <summary>
  203. Initializes a new instance of the <see cref="T:SharpDX.Windows.RenderForm"/> class.
  204. </summary>
  205. </member>
  206. <member name="M:SharpDX.Windows.RenderControl.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
  207. <summary>
  208. Paints the background of the control.
  209. </summary>
  210. <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs"/> that contains the event data.</param>
  211. </member>
  212. <member name="M:SharpDX.Windows.RenderControl.OnPaint(System.Windows.Forms.PaintEventArgs)">
  213. <summary>
  214. Raises the <see cref="E:System.Windows.Forms.Control.Paint"/> event.
  215. </summary>
  216. <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs"/> that contains the event data.</param>
  217. </member>
  218. <member name="T:SharpDX.Windows.RenderForm">
  219. <summary>
  220. Default Rendering Form.
  221. </summary>
  222. </member>
  223. <member name="M:SharpDX.Windows.RenderForm.#ctor">
  224. <summary>
  225. Initializes a new instance of the <see cref="T:SharpDX.Windows.RenderForm"/> class.
  226. </summary>
  227. </member>
  228. <member name="M:SharpDX.Windows.RenderForm.#ctor(System.String)">
  229. <summary>
  230. Initializes a new instance of the <see cref="T:SharpDX.Windows.RenderForm"/> class.
  231. </summary>
  232. <param name="text">The text.</param>
  233. </member>
  234. <member name="E:SharpDX.Windows.RenderForm.AppActivated">
  235. <summary>
  236. Occurs when [app activated].
  237. </summary>
  238. </member>
  239. <member name="E:SharpDX.Windows.RenderForm.AppDeactivated">
  240. <summary>
  241. Occurs when [app deactivated].
  242. </summary>
  243. </member>
  244. <member name="E:SharpDX.Windows.RenderForm.MonitorChanged">
  245. <summary>
  246. Occurs when [monitor changed].
  247. </summary>
  248. </member>
  249. <member name="E:SharpDX.Windows.RenderForm.PauseRendering">
  250. <summary>
  251. Occurs when [pause rendering].
  252. </summary>
  253. </member>
  254. <member name="E:SharpDX.Windows.RenderForm.ResumeRendering">
  255. <summary>
  256. Occurs when [resume rendering].
  257. </summary>
  258. </member>
  259. <member name="E:SharpDX.Windows.RenderForm.Screensaver">
  260. <summary>
  261. Occurs when [screensaver].
  262. </summary>
  263. </member>
  264. <member name="E:SharpDX.Windows.RenderForm.SystemResume">
  265. <summary>
  266. Occurs when [system resume].
  267. </summary>
  268. </member>
  269. <member name="E:SharpDX.Windows.RenderForm.SystemSuspend">
  270. <summary>
  271. Occurs when [system suspend].
  272. </summary>
  273. </member>
  274. <member name="E:SharpDX.Windows.RenderForm.UserResized">
  275. <summary>
  276. Occurs when [user resized].
  277. </summary>
  278. </member>
  279. <member name="P:SharpDX.Windows.RenderForm.AllowUserResizing">
  280. <summary>
  281. Gets or sets a value indicating whether this form can be resized by the user. See remarks.
  282. </summary>
  283. <remarks>
  284. This property alters <see cref="P:System.Windows.Forms.Form.FormBorderStyle"/>,
  285. for <c>true</c> value it is <see cref="F:System.Windows.Forms.FormBorderStyle.Sizable"/>,
  286. for <c>false</c> - <see cref="F:System.Windows.Forms.FormBorderStyle.FixedSingle"/>.
  287. </remarks>
  288. <value><c>true</c> if this form can be resized by the user (by default); otherwise, <c>false</c>.</value>
  289. </member>
  290. <member name="P:SharpDX.Windows.RenderForm.IsFullscreen">
  291. <summary>
  292. Gets or sets a value indicationg whether the current render form is in fullscreen mode. See remarks.
  293. </summary>
  294. <remarks>
  295. If Toolkit is used, this property is set automatically,
  296. otherwise user should maintain it himself as it affects the behavior of <see cref="P:SharpDX.Windows.RenderForm.AllowUserResizing"/> property.
  297. </remarks>
  298. </member>
  299. <member name="M:SharpDX.Windows.RenderForm.OnResizeBegin(System.EventArgs)">
  300. <summary>
  301. Raises the <see cref="E:System.Windows.Forms.Form.ResizeBegin"/> event.
  302. </summary>
  303. <param name="e">A <see cref="T:System.EventArgs"/> that contains the event data.</param>
  304. </member>
  305. <member name="M:SharpDX.Windows.RenderForm.OnResizeEnd(System.EventArgs)">
  306. <summary>
  307. Raises the <see cref="E:System.Windows.Forms.Form.ResizeEnd"/> event.
  308. </summary>
  309. <param name="e">A <see cref="T:System.EventArgs"/> that contains the event data.</param>
  310. </member>
  311. <member name="M:SharpDX.Windows.RenderForm.OnLoad(System.EventArgs)">
  312. <summary>
  313. Raises the <see cref="E:System.Windows.Forms.Form.Load"/> event.
  314. </summary>
  315. <param name="e">An <see cref="T:System.EventArgs"/> that contains the event data.</param>
  316. </member>
  317. <member name="M:SharpDX.Windows.RenderForm.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
  318. <summary>
  319. Paints the background of the control.
  320. </summary>
  321. <param name="e">A <see cref="T:System.Windows.Forms.PaintEventArgs"/> that contains the event data.</param>
  322. </member>
  323. <member name="M:SharpDX.Windows.RenderForm.OnPauseRendering(System.EventArgs)">
  324. <summary>
  325. Raises the Pause Rendering event.
  326. </summary>
  327. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  328. </member>
  329. <member name="M:SharpDX.Windows.RenderForm.OnResumeRendering(System.EventArgs)">
  330. <summary>
  331. Raises the Resume Rendering event.
  332. </summary>
  333. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  334. </member>
  335. <member name="M:SharpDX.Windows.RenderForm.OnUserResized(System.EventArgs)">
  336. <summary>
  337. Raises the User resized event.
  338. </summary>
  339. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  340. </member>
  341. <member name="M:SharpDX.Windows.RenderForm.OnAppActivated(System.EventArgs)">
  342. <summary>
  343. Raises the On App Activated event.
  344. </summary>
  345. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  346. </member>
  347. <member name="M:SharpDX.Windows.RenderForm.OnAppDeactivated(System.EventArgs)">
  348. <summary>
  349. Raises the App Deactivated event
  350. </summary>
  351. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  352. </member>
  353. <member name="M:SharpDX.Windows.RenderForm.OnSystemSuspend(System.EventArgs)">
  354. <summary>
  355. Raises the System Suspend event
  356. </summary>
  357. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  358. </member>
  359. <member name="M:SharpDX.Windows.RenderForm.OnSystemResume(System.EventArgs)">
  360. <summary>
  361. Raises the System Resume event
  362. </summary>
  363. <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
  364. </member>
  365. <member name="M:SharpDX.Windows.RenderForm.OnScreensaver(System.ComponentModel.CancelEventArgs)">
  366. <summary>
  367. Raises the <see cref="E:Screensaver"/> event.
  368. </summary>
  369. <param name="e">The <see cref="T:System.ComponentModel.CancelEventArgs"/> instance containing the event data.</param>
  370. </member>
  371. <member name="M:SharpDX.Windows.RenderForm.WndProc(System.Windows.Forms.Message@)">
  372. <summary>
  373. Override windows message loop handling.
  374. </summary>
  375. <param name="m">The Windows <see cref="T:System.Windows.Forms.Message"/> to process.</param>
  376. </member>
  377. <member name="T:SharpDX.Windows.RenderLoop">
  378. <summary>
  379. RenderLoop provides a rendering loop infrastructure. See remarks for usage.
  380. </summary>
  381. <remarks>
  382. Use static <see cref="!:Run(System.Windows.Forms.Control,SharpDX.Windows.RenderLoop.RenderCallback)"/>
  383. method to directly use a renderloop with a render callback or use your own loop:
  384. <code>
  385. control.Show();
  386. using (var loop = new RenderLoop(control))
  387. {
  388. while (loop.NextFrame())
  389. {
  390. // Perform draw operations here.
  391. }
  392. }
  393. </code>
  394. Note that the main control can be changed at anytime inside the loop.
  395. </remarks>
  396. </member>
  397. <member name="M:SharpDX.Windows.RenderLoop.#ctor">
  398. <summary>
  399. Initializes a new instance of the <see cref="T:SharpDX.Windows.RenderLoop"/> class.
  400. </summary>
  401. </member>
  402. <member name="M:SharpDX.Windows.RenderLoop.#ctor(System.Windows.Forms.Control)">
  403. <summary>
  404. Initializes a new instance of the <see cref="T:SharpDX.Windows.RenderLoop"/> class.
  405. </summary>
  406. </member>
  407. <member name="P:SharpDX.Windows.RenderLoop.Control">
  408. <summary>
  409. Gets or sets the control to associate with the current render loop.
  410. </summary>
  411. <value>The control.</value>
  412. <exception cref="T:System.InvalidOperationException">Control is already disposed</exception>
  413. </member>
  414. <member name="P:SharpDX.Windows.RenderLoop.UseApplicationDoEvents">
  415. <summary>
  416. Gets or sets a value indicating whether the render loop should use the default <see cref="M:System.Windows.Forms.Application.DoEvents"/> instead of a custom window message loop lightweight for GC. Default is false.
  417. </summary>
  418. <value><c>true</c> if the render loop should use the default <see cref="M:System.Windows.Forms.Application.DoEvents"/> instead of a custom window message loop (default false); otherwise, <c>false</c>.</value>
  419. <remarks>By default, RenderLoop is using a custom window message loop that is more lightweight than <see cref="M:System.Windows.Forms.Application.DoEvents" /> to process windows event message.
  420. Set this parameter to true to use the default <see cref="M:System.Windows.Forms.Application.DoEvents"/>.</remarks>
  421. </member>
  422. <member name="M:SharpDX.Windows.RenderLoop.NextFrame">
  423. <summary>
  424. Calls this method on each frame.
  425. </summary>
  426. <returns><c>true</c> if if the control is still active, <c>false</c> otherwise.</returns>
  427. <exception cref="T:System.InvalidOperationException">An error occured </exception>
  428. </member>
  429. <member name="M:SharpDX.Windows.RenderLoop.Dispose">
  430. <summary>
  431. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  432. </summary>
  433. </member>
  434. <member name="T:SharpDX.Windows.RenderLoop.RenderCallback">
  435. <summary>
  436. Delegate for the rendering loop.
  437. </summary>
  438. </member>
  439. <member name="M:SharpDX.Windows.RenderLoop.Run(System.Windows.Forms.ApplicationContext,SharpDX.Windows.RenderLoop.RenderCallback)">
  440. <summary>
  441. Runs the specified main loop in the specified context.
  442. </summary>
  443. </member>
  444. <member name="M:SharpDX.Windows.RenderLoop.Run(System.Windows.Forms.Control,SharpDX.Windows.RenderLoop.RenderCallback,System.Boolean)">
  445. <summary>
  446. Runs the specified main loop for the specified windows form.
  447. </summary>
  448. <param name="form">The form.</param>
  449. <param name="renderCallback">The rendering callback.</param>
  450. <param name="useApplicationDoEvents">if set to <c>true</c> indicating whether the render loop should use the default <see cref="M:System.Windows.Forms.Application.DoEvents"/> instead of a custom window message loop lightweight for GC. Default is false.</param>
  451. <exception cref="T:System.ArgumentNullException">form
  452. or
  453. renderCallback</exception>
  454. </member>
  455. <member name="P:SharpDX.Windows.RenderLoop.IsIdle">
  456. <summary>
  457. Gets a value indicating whether this instance is application idle.
  458. </summary>
  459. <value>
  460. <c>true</c> if this instance is application idle; otherwise, <c>false</c>.
  461. </value>
  462. </member>
  463. <member name="T:SharpDX.Win32Native">
  464. <summary>
  465. Internal class to interact with Native Message
  466. </summary>
  467. </member>
  468. </members>
  469. </doc>