uniform详细内容(可能是uniformBlock,texture或sampler)

interface WebGPUUniformPropertyBindingInfo {
    binding: number;
    buffer?: GPUBufferBindingLayout;
    id: number;
    name: string;
    propertyId: number;
    sampler?: GPUSamplerBindingLayout;
    set: number;
    texture?: GPUTextureBindingLayout;
    type: WebGPUBindingInfoType;
    uniform?: WebGPUUniformBlockInfo;
    visibility: number;
}

属性

binding: number
buffer?: GPUBufferBindingLayout
id: number
name: string
propertyId: number
sampler?: GPUSamplerBindingLayout
set: number
texture?: GPUTextureBindingLayout
visibility: number