Home
Manual
Reference
Scripting
Scripting Reference
ComputeShader
.SetBuffer
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
ComputeShader
All Members
Functions
Dispatch
FindKernel
SetBuffer
SetFloat
SetFloats
SetInt
SetInts
SetTexture
SetVector
Inherited Variables
hideFlags
name
Inherited Functions
GetInstanceID
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
function
SetBuffer (kernelIndex :
int
, name :
String
, buffer :
ComputeBuffer
) :
void
Description
This function can either set an input or output compute buffer.
See Also:
FindKernel
,
ComputeBuffer
.