Skip to content

OSL

OSL#

(OSL)

  • Category: Language
  • Default object name: osl
  • Inherits from: Language

No corresponding User page.

Description#

Binding of the OSL language to Clarisse's API.

Inherited Public Attributes#

Type Name Visual Hint Description
string[1] extensions VISUAL_HINT_DEFAULT Specify the file extensions handled by the script module.
bool rebuild_completion VISUAL_HINT_DEFAULT

CID#

class "OSL" "Language" {
    #version 0.9
    icon "../icons/object_icons/osl.iconrc"
    doc "Binding of the OSL language to Clarisse\'s API."
    set "extensions" {
        private no
        hidden no
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "osl"
    }
    set "keywords" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "break" "closure" "color" "continue" "do" "else" "emit" "float" "for" "if" "illuminance" "illuminate" "int" "matrix" "normal" "output" "point" "public" "return" "string" "struct" "vector" "void" "while"
    }
    set "reserved" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "bool" "case" "catch" "char" "class" "const" "delete" "default" "double" "enum" "extern" "false" "friend" "goto" "inline" "long" "new" "operator" "private" "protected" "short" "signed" "sizeof" "static" "switch" "template" "this" "throw" "true" "try" "typedef" "uniform" "union" "unsigned" "varying" "virtual" "volatile"
    }
    set "preprocessor" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "#define" "#undef" "#if" "#ifdef" "#ifndef" "#elif" "#else" "#endif" "#include"
    }
    set "block_comments" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "/*" "*/"
    }
    set "line_comments" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "//"
    }
}