This is the documentation for Enlighten.
class Enlighten RefTextureUpdater
class Enlighten::RefTextureUpdater
└>Enlighten::IGpuTextureUpdater
└>Geo::IGeoReleasable
Reference texture updater.
Functions
Name | Description |
|---|---|
Destructor. | |
Create 2D texture. | |
Create 3D. | |
Create Cube Map. | |
Get a CPU accessible pointer to the texture data. | |
Returns a CPU pointer to the memory used to update the GPU texture. | |
Get the number of mipmap levels. | |
Returns the number of mip levels in the GPU texture - will only be bigger than 1 for cube maps. | |
Get the texture row pitch. | |
Returns the row pitch of the CPU memory associated with this GPU texture. | |
Get the texture slice pitch. | |
Returns the slice pitch of the CPU memory associated with this GPU texture, for 3D textures. | |
Check the format. | |
Returns true if the format of the GPU texture matches the given Enlighten format. | |
Free this object that was created within the Enlighten libraries. | |
Release. | |
Update the texture. | |
Update the GPU copy of the texture on the render thread. | |
Update the GPU copy of the specified sub-region on the render thread. | |
Update the texture sub-section. | |
Potentially update the GPU copy of the texture on the worker thread. | |
Equivalent to parameter-less overload, but only update a sub-region of the texture. |
Enlighten::RefTextureUpdater::~RefTextureUpdater
protected: virtual ~RefTextureUpdater()
Destructor.
RefTextureUpdater * Enlighten::RefTextureUpdater::Create
public: RefTextureUpdater * Create
(
Geo::s32 width,
Geo::s32 height,
Geo::s32 bytesPerPixel
)