ShaderMaterial

A material that uses a custom Shader program.

A material that uses a custom Shader program to render either items to screen or process particles. You can create multiple materials for the same shader but configure different values for the uniforms defined in the shader.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_shaderChanged
void _shaderChanged()
getShader
Ref!Shader getShader()
getShaderParam
Variant getShaderParam(StringArg0 param)

Returns the current value set for this material of a uniform in the shader.

opAssign
ShaderMaterial opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(ShaderMaterial other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
propertyCanRevert
bool propertyCanRevert(StringArg0 name)
propertyGetRevert
Variant propertyGetRevert(StringArg0 name)
setShader
void setShader(Shader shader)
setShaderParam
void setShaderParam(StringArg0 param, VariantArg1 value)

Changes the value set for this material of a uniform in the shader.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

shader
Shader shader [@property getter]
Shader shader [@property setter]

The Shader program used to render this material.

Static functions

_new
ShaderMaterial _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta