virtual void Unmap(bool applyUpdate = true);
Unmap unmaps a mapped texture.
Parameters |
Description |
bool applyUpdate = true |
Whether the changes made to the mapped texture should be applied. This flag is ignored on most platforms. Only platforms which use staging textures for mapping textures use it (D3D1x only). This flag can be useful for discarding extra memory copies from staging textures, when an update is not required, for example with a video texture that has not been updated since the last frame. |