OptionalflipFlip the texture horizontally when rendering
OptionalflipFlip the texture vertically when rendering
OptionalmaxNumber of times to retry loading a failed texture
When a texture fails to load, Lightning will retry up to this many times before permanently giving up. Each retry will clear the texture ownership and then re-establish it to trigger a new load attempt.
Set to null to disable retries. Set to 0 to always try once and never retry. This is typically only used on ImageTexture instances.
OptionalpreloadPreload the texture immediately even if it's not being rendered to the screen.
OptionalpreventPrevent clean up of the texture when it is no longer being used.
OptionalresizeYou can use resizeMode to determine the clipping automatically from the width and height of the source texture. This can be convenient if you are unsure about the exact image sizes but want the image to cover a specific area.
The resize modes cover and contain are supported
Universal options for all texture types
Remarks
Texture Options provide a way to specify options that are relevant to the texture loading process (including caching) and specifically for how a texture is rendered within a specific Node (or set of Nodes).
They are not used in determining the cache key for a texture (except if the
cacheKeyoption is provided explicitly to oveerride the default cache key for the texture instance) nor are they stored/referenced within the texture instance itself. Instead, the options are stored/referenced within individual Nodes. So a single texture instance can be used in multiple Nodes each using a different set of options.