Constructs a texture from an implementation.
CL_Texture::CL_Texture(); CL_Texture::CL_Texture( CL_GraphicContext & context, CL_TextureDimensions texture_dimensions); CL_Texture::CL_Texture( CL_GraphicContext & context, int width, int height, CL_TextureFormat internal_format = cl_rgba ); CL_Texture::CL_Texture( CL_GraphicContext & context, int width, int height, int depth, CL_TextureFormat internal_format = cl_rgba ); CL_Texture::CL_Texture( CL_GraphicContext & context, const CL_Size & size, CL_TextureFormat internal_format = cl_rgba ); CL_Texture::CL_Texture( CL_GraphicContext & context, const CL_StringRef & fullname, const CL_ImageImportDescription & import_desc = CL_ImageImportDescription ()); CL_Texture::CL_Texture( CL_GraphicContext & context, const CL_StringRef & filename, const CL_VirtualDirectory & directory, const CL_ImageImportDescription & import_desc = CL_ImageImportDescription ()); CL_Texture::CL_Texture( CL_GraphicContext & context, CL_IODevice & file, const CL_String & image_type, const CL_ImageImportDescription & import_desc = CL_ImageImportDescription ()); CL_Texture::CL_Texture( CL_GraphicContext & gc, const CL_StringRef & resource_id, CL_ResourceManager * resources, const CL_ImageImportDescription & import_desc = CL_ImageImportDescription ()); CL_Texture::CL_Texture( CL_SharedPtr < CL_Textureplmpl > & impl);