Implements
Methods
Returns a hash of buffer names mapped to bind locations. This is used to bind the correct buffer to the correct location in the shader.
Name | Type | Description |
---|---|---|
geometry |
Geometry |
The geometry where to get the buffer names |
program |
GpuProgram |
The program where to get the buffer names |
Returns:
Type | Description |
---|---|
Record<string, string> | An object of buffer names mapped to the bind location. |