I'd like to render a frame with OPENGL and I want to save to a byte array variable without file save/load. What can I do?
$\begingroup$
$\endgroup$
2
-
$\begingroup$ what kind of array? $\endgroup$– p2orApr 12, 2015 at 14:25
-
$\begingroup$ I think he wants a file that looks something like the following. "byte renderedImage[] = {red_p1, green_p1, blue_p1, red_p2, green_p2, blue_p2, red_p3, green_p3, blue_p3, etc...};" where 'p(n)' is a series of pixels. $\endgroup$– MarcClintDionApr 13, 2015 at 2:01
Add a comment
|