Texture::Initialize

Texture::Initialize
virtual bool Initialize(id<MTLTexture> texture);
Description

Initialize initializes the Texture from a platform specific texture handle.

Parameters
Parameters 
Description 
id<MTLTexture> texture 
The device representation of the texture. 
Return Value

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