Skip to main content

RenderTexture.SetGlobalShaderProperty(string propertyName)

Assigns this RenderTexture as a global shader property named propertyName.

Parameters:

NameTypeDescription
propertyNamestringshader property Name

Usage

---@type RenderTexture
local rendertexture;

---@type string
local propertyName;


rendertexture.SetGlobalShaderProperty(propertyName)