Class ImageResourceFile¶
Defined in File image_resource_file.h
Inheritance Relationships¶
Base Type¶
public ResourceFile
(Class ResourceFile)
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&&)¶
-
~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
()¶
-