Framebuffer.h
110 void SetFilteredHint(bool filter) {if (filtered!=filter) {filtered=filter; OnFilterChange(filter);}}
Type
Types refer to the internal class by which visual information is passed to the Display.
Definition: Framebuffer.h:55
(uint8_t *) RGBA-ordered pixel array with no padding, matched to the dimensions given ...
bool GetFilteredHint()
Returns whether to interpret the Framebuffer's data in a filtered way.
Definition: Framebuffer.h:116
Definition: AssetID.h:37
void * GetHandle()
Returns the source data that reflects the framebuffer's data in the context of the implemented child...
Definition: Framebuffer.h:78
bool Resize(int newW, int newH)
Resizes the framebuffer. Success is returned.
Definition: Framebuffer.h:65
Type GetHandleType()
Returns what type the handle refers to.
Definition: Framebuffer.h:90
int Height()
Returns the height of the framebuffer.
Definition: Framebuffer.h:86
void SetFilteredHint(bool filter)
Sets whether to interpret the Framebuffer's data in a filtered way.
Definition: Framebuffer.h:110
The framebuffer's data contents are unknown and should not be relied on.
int Width()
Returns the width of the framebuffer.
Definition: Framebuffer.h:82
virtual bool GetRawData(uint8_t *)=0
returns a RGBF pixel reduction by setting the buffer given. if this isnt possible, false is returned. the buffer should be of size Width*Height*4. Note that on hardware-accelerated implementations, calling this could be very costly. Alpha color information is always 1.f