跳到主要内容

GLBindGroupEntry

Ploy3D / GLBindGroupEntry

Interface: GLBindGroupEntry

资源组资源条目描述符。

Table of contents

Properties

Properties

binding

binding: number

在WGSL中与组编号结合来定位UNIFORM变量。


resource

resource: GLTextureView | GLSampler | { buffer: GLBuffer ; offset: number ; size: number }

资源对象。