draw_quad for render target

Posted By: sheefo

draw_quad for render target - 05/05/08 19:50

Will there be a support for the use of draw_quad on a render target?
Posted By: Joey

Re: draw_quad for render target - 05/05/08 20:15

then all the draw_...-functions should be ported to support drawing into textures. but i think it's already possible via a view event.
Posted By: sheefo

Re: draw_quad for render target - 05/06/08 12:13

You gave me an idea. There could be a function to set the render target, then all calls to draw_ functions after that will be rendered to the render target.

Something like this:
You can pass a BMAP* to it as the render target, or NULL for no render target.
 Code:
draw_target(BMAP*);


How about it?
© 2024 lite-C Forums