Texture::Initialize

Texture::Initialize
bool Initialize();
bool Initialize(IDirect3DTexture9* ptexture);
Description

Initialize initializes the Texture from a platform specific texture handle. 

Note: If called to restore a provided texture in D3D9 after a device reset, pTexture will be NULL, and the Initialize call will fail. The user must manually call Texture::Initialize with the new pointer to the new texture. This can be done for example, during a HALNotify event. 

Parameters
Parameters 
Description 
IDirect3DTexture9* ptexture 
A platform-specific texture handle. 
Return Value

A Boolean value of true if the textures are initialized and false if texture creation failed.