VisualShaderNodeVarying
Inherits: VisualShaderNode < Resource < RefCounted < Object
Inherited By: VisualShaderNodeVaryingGetter, VisualShaderNodeVaryingSetter
A visual shader node that represents a “varying” shader value.
Description
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
Properties
| ||
|
Property Descriptions
String varying_name = "[None]"
Name of the variable. Must be unique.
VaryingType varying_type = 0
void set_varying_type ( VaryingType value )
VaryingType get_varying_type ( )
Type of the variable. Determines where the variable can be accessed.
© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6
.
Built with Sphinx using a theme provided by Read the Docs.