def render_target(self):
        """Texture: The current render target, or None if using the default render target."""
        render_target = lib.SDL_GetRenderTarget(self._ptr)
        if render_target == ffi.NULL:
            return None
        else:
            return Texture._from_ptr(render_target)