COM_METHOD_DECL RegisterTexture (IImageFile* image, ITextureHandle** handle, bool for3d, bool for2d) Register a texture
Register a texture. In this function, the texture will be converted to an internal format. The given input image is AddRef'd and Released later when no longer useful. If you want to keep the input image make sure you have called AddRef yourselves.This function returns a handle which should be given to the 3D rasterizer or 2D driver when drawing or otherwise using the texture. Note that the newly added texture will not be valid until Prepare() or MergeTexture() is called.
If 'for3d' is true then the texture is prepared for the 3D rasterizer. If 'for2d' is true then the texture is prepared for the 2D driver. Both can be true at the same time.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de