ImageCreateInfo(CreateType type, MemoryHeap* heap = 0, unsigned imageUse = Render::ImageUse_Wrap, Resource::ResourceUse resourceUse = Resource::Use_Bitmap);
ImageCreateInfo constructor. Assume image use is wrapped by default.
On GLES, this makes a difference, because wrapped textures cannot be used as NPOT, and thus will be resized unless explicitly marked as clamped.
Parameters |
Description |
CreateType type |
The type of image created. |
MemoryHeap* heap = 0 |
The memory heap used for image creation information. |
unsigned imageUse = Render::ImageUse_Wrap |
The capabilities set for the image such as wrappable, updatetable etc. |
Resource::ResourceUse resourceUse = Resource::Use_Bitmap |
The image resource set for the image such as bitmap, gradient etc. |