I've got a texture3D object:
texture3D.new()
texture3D.create(64, 64, 64, Image.FORMAT_RGB8)
I'd like to be able to grab an arbitrary image from the texture3D and see if its been created or not.
I thought I could just do this:
image = texture3D.get_layer_data(0)
if image:
but the above appears to be true for every image.
I also tried:
image = texture3D.get_layer_data(0)
if image.is_empty():
but it seems that none of the images are empty...
I would expect that the image.create() function would be part of the image.new() constructor and I would also expect that if an image has not been create()ed then it would be null...