Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

RDUniform

Inherits: RefCounted < Object

Shader uniform (used by RenderingDevice).

Description

This object is used by RenderingDevice.

Properties

int

binding

0

UniformType

uniform_type

3

Methods

void

add_id ( RID id )

void

clear_ids ( )

RID[]

get_ids ( ) const


Property Descriptions

int binding = 0

  • void set_binding ( int value )

  • int get_binding ( )

The uniform's binding.


UniformType uniform_type = 3

The uniform's data type.


Method Descriptions

void add_id ( RID id )

There is currently no description for this method. Please help us by contributing one!


void clear_ids ( )

There is currently no description for this method. Please help us by contributing one!


RID[] get_ids ( ) const

There is currently no description for this method. Please help us by contributing one!