|
Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
|
Pixel Rectangle identified by it's hashCode().
More...
#include <PixelFormat.hpp>
Public Member Functions | |
| ~PixelRectangle () noexcept=default | |
| virtual const PixelFormat & | format () const noexcept=0 |
Returns the PixelFormat. | |
| virtual size_t | hashCode () const noexcept=0 |
| virtual bool | isGLOriented () const noexcept=0 |
Returns true if the memory is laid out in OpenGL's coordinate system, origin at bottom left. | |
| virtual uint8_t * | mutablePixels () noexcept=0 |
| Returns the pixels, mutable. | |
| virtual const uint8_t * | pixels () const noexcept=0 |
| Returns the pixels. | |
| virtual const Point2u32 & | size () const noexcept=0 |
| Returns the size, i.e. | |
| virtual uint32_t | stride () const noexcept=0 |
| Returns stride in byte-size, i.e. | |
| virtual std::string | toString () const =0 |
Pixel Rectangle identified by it's hashCode().
The getPixels() are assumed to be immutable.
Definition at line 264 of file PixelFormat.hpp.
|
defaultnoexcept |
|
pure virtualnoexcept |
Computes a hash code over:
The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns the PixelFormat.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns the size, i.e.
width and height.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns stride in byte-size, i.e.
byte count from one line to the next.
Must be >= getPixelformat().bytesPerPixel() * getSize().getWidth().
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns true if the memory is laid out in OpenGL's coordinate system, origin at bottom left.
Otherwise returns false, i.e. origin at top left.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns the pixels.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtualnoexcept |
Returns the pixels, mutable.
Implemented in gamp::render::pixel::GenericPixelRect.
|
pure virtual |