W3cubDocs

/Godot 3.0

Shader

Inherits: Resource < Reference < Object

Category: Core

Brief Description

To be changed, ignore.

Member Functions

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

Member Variables

String code

Enums

enum Mode

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

Description

To be changed, ignore.

Member Function Description

Texture get_default_texture_param ( String param ) const

int get_mode ( ) const

bool has_param ( String name ) const

void set_default_texture_param ( String param, Texture texture )

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_shader.html