|
| Image (const Vec2i &size, const ImageFormat &format=ImageFormat::ABGR_8888) |
|
| Image (const Vec2i &size, const ImageFormat &format, void *ptr, S64 stride) |
|
| Image (const Vec2i &size, const ImageFormat &format, Buffer &buffer, S64 ofs, S64 stride) |
|
| Image (const Image &other) |
|
| ~Image (void) |
|
bool | contains (const Vec2i &pos, const Vec2i &size) const |
|
const Vec2i & | getSize (void) const |
|
const ImageFormat & | getFormat (void) const |
|
int | getBPP (void) const |
|
S64 | getStride (void) const |
|
Buffer & | getBuffer (void) const |
|
S64 | getOffset (const Vec2i &pos=0) const |
|
const U8 * | getPtr (const Vec2i &pos=0) const |
|
U8 * | getMutablePtr (const Vec2i &pos=0) |
|
void | read (const ImageFormat &format, void *ptr, S64 stride, const Vec2i &pos, const Vec2i &size) const |
|
void | read (const ImageFormat &format, void *ptr, S64 stride) const |
|
void | write (const ImageFormat &format, const void *ptr, S64 stride, const Vec2i &pos, const Vec2i &size) |
|
void | write (const ImageFormat &format, const void *ptr, S64 stride) |
|
void | set (const Vec2i &dstPos, const Image &src, const Vec2i &srcPos, const Vec2i &size) |
|
void | set (const Image &src) |
|
void | clear (U32 abgr=0) |
|
void | clear (const Vec4f &color) |
|
U32 | getABGR (const Vec2i &pos) const |
|
void | setABGR (const Vec2i &pos, U32 value) |
|
Vec4f | getVec4f (const Vec2i &pos) const |
|
void | setVec4f (const Vec2i &pos, const Vec4f &value) |
|
void | getChannels (F32 *values, const Vec2i &pos, int first, int num) const |
|
void | getChannels (F32 *values, const Vec2i &pos) const |
|
const Array< F32 > & | getChannels (const Vec2i &pos) const |
|
F32 | getChannel (const Vec2i &pos, int idx) const |
|
void | setChannels (const Vec2i &pos, const F32 *values, int first, int num) |
|
void | setChannels (const Vec2i &pos, const F32 *values) |
|
void | setChannel (const Vec2i &pos, int idx, F32 value) |
|
void | flipX (void) |
|
void | flipY (void) |
|
GLuint | createGLTexture (ImageFormat::ID desiredFormat=ImageFormat::ID_Max, bool generateMipmaps=true) const |
|
ImageFormat | chooseCudaFormat (CUDA_ARRAY_DESCRIPTOR *desc=NULL, ImageFormat::ID desiredFormat=ImageFormat::ID_Max) const |
|
CUarray | createCudaArray (ImageFormat::ID desiredFormat=ImageFormat::ID_Max) const |
|
Image * | downscale2x (void) const |
|
Image & | operator= (const Image &other) |
|
Definition at line 132 of file Image.hpp.