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!
Bookmarks