@interface MaplyRenderTarget : NSObject

Represents a render target (other than the screen)

Individual objects can ask to be drawn somewhere other than the screen. This is how we do that.

A render target is just a link between a render every frame and a MaplyTexture. To get at the actual image you use the MaplyTexture.

At the moment a render target can only draw the full screen, possibly at a lower resolution.

  • The texture we’ll draw into.

    This is the texture we’ll draw into. Use createTexture to set it up.



    @property (assign, readwrite, nonatomic) MaplyTexture *texture;


    var texture: MaplyTexture! { get set }