MappedTextureBase

MappedTextureBase
Scaleform::Render::MappedTextureBase
Declaration
class MappedTextureBase : public NewOverrideBase<StatRender_TextureManager_Mem>;
Description

MappedTexture object represents a Texture mapped into memory with Texture::Map() call; it is also used internally during updates. The key part of this class is the Data object, stored Locked texture level plains.

Data Members
Data Member 
Description 
Data 
Pointer data that can be copied to. 
The number of mipmap levels in the mapping of the texture. 
The planes describing the mapped texture data. 
The source of the texture mapping. 
We support mapping sub-range of levels, in which case StartMipLevel may be non-zero. 
Methods
Method 
Description 
Returns whether the structure is currently in use by an active mapping. 
Map 
Maps the texture data planes into the process address space so they can be accessed directly. 
MappedTextureBase constructor. 
A thread-safe method to reserve this structure for mapping a texture. 
Unmaps a mapped texture. 
File

Render_Image.h