import(path)
// Import a local OSL file
data = import("utilities.osl")
// Import a file without the .osl extension (it will be added automatically)
helpers = import("helpers")Syntax
import(filename)Parameters
Return Value
Description
Examples
Basic Usage
Importing Without Extension
Importing from Packages
Conditional Importing
Using Imported Data
Notes
Last updated