virtual bool Initialize(id<MTLTexture> texture);
Initialize initializes the Texture from a platform specific texture handle.
Parameters |
Description |
id<MTLTexture> texture |
The device representation of the texture. |
A Boolean value of true if the textures are initialized and false if texture creation failed.