Shader

    Inherited By:

    A custom shader program.

    Properties

    Enumerations

    • MODE_SPATIAL = 0
    • MODE_CANVAS_ITEM = 1
    • MODE_PARTICLES = 2

    This class allows you to define a custom shader program that can be used for various materials to render objects.

    Tutorials

    Method Descriptions

    • get_default_texture_param ( String param ) const

    • get_mode ( ) const

    • bool has_param ( name ) const

    • void set_default_texture_param ( String param, texture )