EngineTexture
public protocol EngineTexture : EngineObject, Loadable
By implementing this protocol (required for Engine.TextureType
loading behaviour except the actual loading of the texture data will be
provided
-
cacheExtension methodDeclaration
Swift
var cache: Bool { get } -
loader(for:Extension method) Returns the default loader for the
Enginesimplifying what has to be implementedDeclaration
Swift
static func loader(for project: Project) -> ResourceLoaderParameters
projectThe project the texture is refered to from
Return Value
The
ResourceLoaderthat knows how to load the texture
View on GitHub
EngineTexture Protocol Reference