RenderTarget2D

class RenderTarget2D : Texture2D, System.IDisposable, Microsoft.Xna.Framework.Graphics.IRenderTarget
readonly DepthFormat DepthStencilFormat
readonly int MultiSampleCount
readonly RenderTargetUsage RenderTargetUsage
readonly bool IsContentLost
public void add_ContentLost(System.EventHandler<EventArgs> value)
Parameters:
  • value (System.EventHandler<EventArgs>) –
public void remove_ContentLost(System.EventHandler<EventArgs> value)
Parameters:
  • value (System.EventHandler<EventArgs>) –
void GraphicsDeviceResetting()
public RenderTarget2D FromSharedResourceHandle(GraphicsDevice graphicsDevice, System.IntPtr sharedResourceHandle)
Parameters:
  • graphicsDevice (Microsoft.Xna.Framework.Graphics.GraphicsDevice) –
  • sharedResourceHandle (System.IntPtr) –
public bool AcquireLock(long key, int msTimeout)
Parameters:
  • key (long) –
  • msTimeout (int) –
public void ReleaseLock(long key)
Parameters:
  • key (long) –
SharpDX.DXGI.SampleDescription CreateSampleDescription()
void ResolveSubresource()
SharpDX.Direct3D11.Resource CreateTexture()
SharpDX.Direct3D11.Texture2DDescription GetTexture2DDescription()