Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ComputeBufferType.GPUMemory

Description

ComputeBuffer is attempted to be located in GPU memory.

Buffer location favours GPU memory over CPU memory if the platform supports it. This flag is only relevant on platforms with unified memory systems that have separate CPU and GPU buses (currently, PS4).