VisualShaderNodeGlobalExpression

继承: VisualShaderNodeExpression < VisualShaderNodeGroupBase < VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object

用Godot着色器语言编写的自定义全局可视化着色器图形表达式。

描述

自定义Godot着色器语言表达式,位于生成的着色器之上。你可以在内部放置各种函数定义,以便以后在VisualShaderNodeExpression中调用,这些函数被注入到主着色器函数中。你还可以声明varyings、uniforms 和全局常量。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.