Results 1 to 10 of 24

Thread: Tilengine 2D Pascal Wrapper!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    How do I use this without the built-in windowing?

    SetRenderTarget sounds like it might do the trick, but how do I get pointer to a framebuffer in VCL?

    Code:
    TLNAPI void TLN_SetRenderTarget     (     
    uint8_t *      data,
    int      pitch
    )
    Sets the output surface for rendering.
    Parameters
    data Pointer to the start of the target framebuffer
    pitch Number of bytes per each scanline of the framebuffer


    I don't get this command. What sort information can be passed in 8 bit pointer? Memory address for lego computer?

    The source is not included so I cannot go look there what is done with the 'data'. Can you add a function returning the array of data created and let the users do what they want with it?

    Haaalp plz I don't understand!
    Last edited by Thyandyr; 01-06-2017 at 09:41 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •