C# Class Microsoft.Xna.Framework.Graphics.SwapChainRenderTarget

A swap chain used for rendering to a secondary GameWindow.
This is an extension and not part of stock XNA. It is currently implemented for Windows and DirectX only.
Inheritance: RenderTarget2D
Datei anzeigen Open project: procfxgen/MGShaderEditor Class Usage Examples

Public Properties

Property Type Description
PresentInterval PresentInterval

Public Methods

Method Description
Present ( ) : void

Displays the contents of the active back buffer to the screen.

SwapChainRenderTarget ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, IntPtr windowHandle, int width, int height ) : System
SwapChainRenderTarget ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, IntPtr windowHandle, int width, int height, bool mipMap, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, PresentInterval presentInterval ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Present() public method

Displays the contents of the active back buffer to the screen.
public Present ( ) : void
return void

SwapChainRenderTarget() public method

public SwapChainRenderTarget ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, IntPtr windowHandle, int width, int height ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
windowHandle System.IntPtr
width int
height int
return System

SwapChainRenderTarget() public method

public SwapChainRenderTarget ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, IntPtr windowHandle, int width, int height, bool mipMap, SurfaceFormat surfaceFormat, DepthFormat depthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, PresentInterval presentInterval ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
windowHandle System.IntPtr
width int
height int
mipMap bool
surfaceFormat SurfaceFormat
depthFormat DepthFormat
preferredMultiSampleCount int
usage RenderTargetUsage
presentInterval PresentInterval
return System

Property Details

PresentInterval public_oe property

public PresentInterval PresentInterval
return PresentInterval