Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseSets a global compute buffer property for all shaders.
Global properties are used if a shader needs them but the material does
not have them defined (for example, if the shader does not expose them
in Properties
block).
See Also: SetGlobalTexture, ComputeBuffer class, ShaderLab documentation.