This is the documentation for Enlighten.
class Geo GeoV128Texture
class Geo::GeoV128Texture
A really simple texture where all elements are float vectors.
Functions
Name | Description |
|---|---|
Virtual destructor required to make sure that the concrete class destructor gets called. | |
Increments the reference count and return new value. | |
Clear all pixels in this texture to the given value. | |
CopyUnscaled(GeoV128Texture *, GeoV128Texture *, GeoRect, GeoRect) | Copy a block from one texture to a different texture. |
CopyUnscaledFromBuffer(v128 *, u32, GeoV128Texture *, GeoRect, GeoRect) | Copies from a buffer of V128s with given pitch, rather than a texture. |
Copy a block from one texture to a different texture, with a mask specified in the destination texture space. | |
CopyUnscaledWithSourceMask(GeoV128Texture *, GeoV128Texture *, GeoRect, GeoRect, GeoV128Texture *) | Copy a block from one texture to a different texture, with a mask specified in the source texture space. |
Create gives you back an uninitialised (values undefined!) texture of the appropriate size with a ref count of 1. | |
Serialise in and out. | |
Dest is half the size of source. Takes the average of the four values. | |
For debugging purposes. | |
Return true if [x,y] is contained with the image. | |
Default constructor. The reference count is initially zero. | |
Return the height of this image. | |
Return a raw pointer to the start of the pixel array. | |
Return a const raw pointer to the start of the pixel array. | |
Return the width of this image. | |
Checks if this texture has valid data. | |
Return true if (x, y) is in bounds for this texture, and the value of the x component is positive. | |
Multiply all pixels in this texture by the given value. | |
Output for debugging purposes. | |
Decrements the reference count, deleting the object if it reaches zero. | |
Return the Sample at position [x,y]. | |
Serialise in and out. | |
For debugging purposes. |
Variables
Name | Description |
|---|---|
s32 m_RefCount | The reference count, once it reaches zero the object deletes itself. |
virtual Geo::GeoRefCount::~GeoRefCount
public: virtual ~GeoRefCount()
Virtual destructor required to make sure that the concrete class destructor gets called.