Shader¶
Inherits: Resource < Reference < Object
Inherited By: MaterialShader, CanvasItemShader, ShaderGraph
Category: Core
Brief Description¶
To be changed, ignore.
Member Functions¶
Texture | get_default_texture_param ( String param ) const |
String | get_fragment_code ( ) const |
String | get_light_code ( ) const |
int | get_mode ( ) const |
String | get_vertex_code ( ) const |
bool | has_param ( String name ) const |
void | set_code ( String vcode, String fcode, String lcode, int fofs=0, int lofs=0 ) |
void | set_default_texture_param ( String param, Texture texture ) |
Numeric Constants¶
- MODE_MATERIAL = 0
- MODE_CANVAS_ITEM = 1
- MODE_POST_PROCESS = 2
Description¶
To be changed, ignore.