Interface: Resource

resource.Resource

Resource definition with resource specific load options. Most resources can be loaded with a simple string path definition whereas some resources benefit from extra options, such as disabling texture mipmaps.

Properties

options

Optional options: ResourceOptions

Resource specific options.


path

path: string

Path of the resource to load.