Static methods

staticregister(c:Convert):Int

Constructor

new(sourceExts:String, destExt:String)

Variables

baseDir:String

read onlydestExt:String

dstPath:String

hash:String

localParams:Dynamic

params:Dynamic

read onlysourceExts:Array<String>

srcBytes:Bytes

srcPath:String

read onlyversion:Int

Major version of the Convert. When incremented, all files processed by this Convert would be rebuilt.

Methods

cleanup():Void

computeLocalParams(context:Dynamic):Dynamic

convert():Void

getLocalContext():Dynamic

Context will be cached and passed to computeLocalParams next time if file hash has not changed. This function will be called after each call to computeLocalParams for refresh the cache.

hasLocalParams():Bool

A function that should return quickly if the convert might have local params or not. Do not have access to: srcBytes, hash.