Sgt. Conker We are "absolutely fine"

27Mar/100

Render Target Changes in XNA Game Studio 4.0

The Shawn of Hargreaves details the changes to the render target API in XNA Framework 4.0. The high level summary of these changes are:

  • RenderTarget2D inherits from Texture2D and RenderTargetCube from TextureCube to properly denote the Is-a in the API (no more RenderTarget*.GetTexture())
  • Multiple render targets are set at once without explicitly specifying its index and all previous set render targets are unset automatically
  • An optional depth buffer for a render target is now a property of the render target itself, which might be shared across multiple render targets if certain conditions are met

For the motivation and details of these changes see Rendertarget changes in XNA Game Studio 4.0.

About Captain boki

Not quite "absolutely fine" yet
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


*

No trackbacks yet.