View Full Version : Arrays of images

01-26-2011, 05:58 PM
Pls, support arrays of images and let us to use image handlers in structs.

01-27-2011, 11:36 AM
Imagine a programmer wants to write a renderer with multiple materials. Each material could have a reference to a texture. Without arrays of images or without having the chance to use an image handler in a struct... how is he supposed to implement that?

Imagine somebody want to write a 3d engine in OpenCL using their own rasterizer. Imagine each light has a reference to an image used as a bitmap projector....

It's a big problem ! You must allow us to use image handlers in structs or image arrays. Without that, none of the cases I described can be implemented in an easy way.

01-31-2011, 12:26 AM