Documentation

Unity Engine

Download Unity

Unity Engine

shader

ComputeShader used in this variant.
Read time 1 minuteLast updated 5 days ago

Definition

public ComputeShader shader

Remarks

This is
null
if Unity can't find the compute shader. In a Player, Unity doesn't resolve the compute shaders of a collection loaded from a file or JSON.