system
1
jigglysnot wrote on Friday, June 19, 2009:
Hi,
GLFWImage myImage;
glfwReadImage("pong3d_title.tga", &myImage, GLFW_ORIGIN_UL_BIT) # no flags
How do I get the raw data from a GLFWImage? ie myImage->data
In the API / class documentation for GLFWImage, there is no accessor for GLFWImage->data !!!!
Thanks,
just a student
system
2
system
3
elmindreda wrote on Saturday, June 20, 2009:
See for instance section 3.6.1.
system
4
jigglysnot wrote on Saturday, June 20, 2009:
ahhh ok, i wasnt entirely clear: i’m using Ruby and working with the Ruby bindings/wrapper of GLFW.
I dont know how to extract the data field for the Ruby object … but I know this is beyond the scope of this forum
Thanks