Class ImageResourceFile

Inheritance Relationships

Base Type

Class Documentation

class ImageResourceFile : public ResourceFile

Representation of an image file in Direct3D supported texture format. Cannot be used for processing on CPU Supports BMP, JPEG, PNG, TIFF, GIF, HD Photo, or other WIC supported file containers

Public Functions

ImageResourceFile(const ImageResourceFile&)
ImageResourceFile(const ImageResourceFile&&)
void reimport()

Reload the file buffer from disk.

const Ref<GPUTexture> getGPUTexture()
const Ref<CPUTexture> getCPUTexture()
unsigned int getWidth() const
unsigned int getHeight() const
void setCPUAccess(bool cpuAccess)
bool isCPUAccess()
void uploadCPUTexturetoGPU()