文档

Unity Engine

Unity Engine

GetConstantBuffer(string)

Get a named Constant Buffer value.
阅读时间1 分钟最后更新于 1 个月前

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.