Shader

Inherits: Resource < Reference < Object

Category: Core

Brief Description

To be changed, ignore.

Member Functions

String get_code ( ) const
Texture get_default_texture_param ( String param ) const
int get_mode ( ) const
bool has_param ( String name ) const
void set_code ( String code )
void set_default_texture_param ( String param, Texture texture )

Numeric Constants

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

Description

To be changed, ignore.

Member Function Description

  • int get_mode ( ) const
  • void set_code ( String code )
  • void set_default_texture_param ( String param, Texture texture )