Version: Unity 6 (6000.0)
Language : English
Use HLSL and ShaderLab in a compute shader
Writing compute shaders for multiple platforms

Run a compute shader

In your script, define a variable of ComputeShader type and assign a reference to the Asset. This allows you to invoke them with ComputeShader.Dispatch function. See Unity documentation on ComputeShader class for more details.

Closely related to compute shadersA program that runs on the GPU. More info
See in Glossary
is a ComputeBuffer class, which defines arbitrary data buffer (“structured buffer” in DX11 lingo). Render TexturesA special type of Texture that is created and updated at runtime. To use them, first create a new Render Texture and designate one of your Cameras to render into it. Then you can use the Render Texture in a Material just like a regular Texture. More info
See in Glossary
can also be written into from compute shaders, if they have “random access” flag set (“unordered access view” in DX11). See RenderTexture.enableRandomWrite to learn more about this.

Use HLSL and ShaderLab in a compute shader
Writing compute shaders for multiple platforms