Main > Features > Render Targets

Tiny2D supports drawing to render targets which can also
be used as textures (aka render textures).

Sample code:

// Initialization

Texture renderTarget;
renderTarget.CreateRenderTarget(512, 512);

// Rendering to render target

texture.Draw(10, 10);

// Using render target as a texture

renderTarget.Draw(30, 30);

Contact: contact at pixelelephant dot com
(C) 2013 Pixel Elephant - All Rights Reserved