Skip to content

[bindless] Shorter names for GPUResourceTable methods #5491

@Kangz

Description

@Kangz

They currently are:

partial interface GPUResourceTable {
    void update(GPUIndex32 slot, GPUBindingResource resource);
    GPUIndex32 insertBinding(GPUBindingResource resource);
    void removeBinding(GPUIndex32 slot);
};

But the words binding seems extraneous, maybe we should consider doing the following instead?

partial interface GPUResourceTable {
    void update(GPUIndex32 slot, GPUBindingResource resource);
    GPUIndex32 insert(GPUBindingResource resource);
    void remove(GPUIndex32 slot);
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions