Skip to content

TextureCdl

TextureCdl#

(Cdl)

Go to User page.

Description#

Applies a CDL (Color Decision List) to the input color.

Public Attributes#

Type Name Visual Hint Description
double[3] input VISUAL_HINT_COLOR Color to be processed.
long input_CDL_Mode VISUAL_HINT_DEFAULT whether the cdl is from a file/known cdl or custom from the node.
string input_CDL VISUAL_HINT_ENUM Define the CDL to apply to the input color.
string input_CDL_filepath VISUAL_HINT_FILENAME_OPEN Define the path of file.
double[3] input_Slope VISUAL_HINT_DEFAULT Input CDL Slope
double[3] input_Offset VISUAL_HINT_DEFAULT Input CDL Offset
double[3] input_Power VISUAL_HINT_DEFAULT Input CDL Power
double input_Saturation VISUAL_HINT_DEFAULT Input CDL Saturation
long output_CDL_Mode VISUAL_HINT_DEFAULT whether the cdl is from a file/known cdl or custom from the node.
string output_CDL VISUAL_HINT_ENUM Define the invert CDL to apply before output.
string output_CDL_filepath VISUAL_HINT_FILENAME_OPEN Define the path of file.
double[3] output_Slope VISUAL_HINT_DEFAULT Output CDL Slope
double[3] output_Offset VISUAL_HINT_DEFAULT Output CDL Offset
double[3] output_Power VISUAL_HINT_DEFAULT Output CDL Power
double output_Saturation VISUAL_HINT_DEFAULT Output CDL Saturation

Inherited Public Attributes#

Type Name Visual Hint Description
bool pass_through VISUAL_HINT_DEFAULT If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
string master_input VISUAL_HINT_TAG Name of the attribute that will be used as output if Pass Through is enabled.
bool invert VISUAL_HINT_DEFAULT If checked, the texture is inverted.
double opacity VISUAL_HINT_PERCENTAGE Set the opacity of the texture.

CID#

class "TextureCdl" "Texture" {
    #version 0.92
    icon "../icons/object_icons/texture_cdl.iconrc"
    category "/Texture/Color"
    doc "Applies a CDL (Color Decision List) to the input color."
    attribute_group "input" {
        color "input" {
            doc "Color to be processed."
            texturable yes
            animatable yes
            value 1 1 1
        }
    }
    attribute_group "input_CDL" {
        collapsed yes
        long "input_CDL_Mode" {
            doc "whether the cdl is from a file/known cdl or custom from the node."
            preset "Existing CDL" "0"
            preset "From File" "1"
            preset "Custom Values" "2"
            value 0
        }
        enum "input_CDL" {
            doc "Define the CDL to apply to the input color."
            filter "color_decision_list"
            value "__invalid_enum_label__"
        }
        filename_open "input_CDL_filepath" {
            doc "Define the path of file."
            extension "cc"
            read_only yes
            value ""
        }
        double[3] "input_Slope" {
            doc "Input CDL Slope"
            read_only yes
            value 1 1 1
        }
        double[3] "input_Offset" {
            doc "Input CDL Offset"
            read_only yes
            value 0.0 0.0 0.0
        }
        double[3] "input_Power" {
            doc "Input CDL Power"
            read_only yes
            value 1 1 1
        }
        double "input_Saturation" {
            doc "Input CDL Saturation"
            read_only yes
            value 1
        }
    }
    attribute_group "output_CDL" {
        collapsed yes
        long "output_CDL_Mode" {
            doc "whether the cdl is from a file/known cdl or custom from the node."
            preset "Existing CDL" "0"
            preset "From File" "1"
            preset "Custom Values" "2"
            value 0
        }
        enum "output_CDL" {
            doc "Define the invert CDL to apply before output."
            filter "color_decision_list"
            value "__invalid_enum_label__"
        }
        filename_open "output_CDL_filepath" {
            doc "Define the path of file."
            extension "cc"
            read_only yes
            value ""
        }
        double[3] "output_Slope" {
            doc "Output CDL Slope"
            read_only yes
            value 1 1 1
        }
        double[3] "output_Offset" {
            doc "Output CDL Offset"
            read_only yes
            value 0.0 0.0 0.0
        }
        double[3] "output_Power" {
            doc "Output CDL Power"
            read_only yes
            value 1 1 1
        }
        double "output_Saturation" {
            doc "Output CDL Saturation"
            read_only yes
            value 1
        }
    }
    set "master_input" {
        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 "input"
    }
}