MappedTextureBase::Map

MappedTextureBase::Map
virtual bool Map(Texture* ptexture, unsigned mipLevel, unsigned levelCount) = 0;
Description

Map maps the texture data planes into the process address space so they can be accessed directly; should be called only from the rendering thread.

Parameters
Parameters 
Description 
Texture* ptexture 
Pointer to the texture that is mapped. 
unsigned mipLevel 
An unsigned integer specifying which mip level should be used. For single data plane images with mipmaps, the top level is 0. 
unsigned levelCount 
An unsigned integer specifying which levels should be mapped (0 means all levels). 
Return Value

Returns true if the texture contents are mapped; false otherwise.