IModelTextureDynamic
Description
- Derived from
Base interface for model textures that can be updated at runtime.
To update a model texture, perform the following steps:
-
Obtain the TexelBuffer object that represents the texture content by getting the Content property.
-
Modify the contents of the returned TexelBuffer object.
-
Call Update. This will trigger GPU uploads, if necessary.
Public / Methods
Content
Begins to update the texture content.
An application may modify the contents of the returned buffer at any time, from any thread. However, it must ensure that no concurrent modifications are performed during calls to Update.
Extensions
Update
Finishes the texture content update and triggers GPU uploads.
This method delegates to IModelTextureDynamic.Update, passing Box3I.Max, which updates the whole texture content.