Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetConstantBuffer(string)

Get a named Constant Buffer value.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public GraphicsBufferHandle GetConstantBuffer(string name)

Parameters

name

The name of the constant buffer property to return.

Returns

Type

Description

GraphicsBufferHandleReturns the handle of the constant buffer graphics resource.