Interface: BindResource

BindResource

an interface that allows a resource to be bound to the gpu in a bind group

Methods

off (event, listenerFunction, listener) void

Name Type Description
event "change"
listenerFunction (resource: BindResource) => void
listener BindGroup
TODO

on (event, listenerFunction, listener) void

event dispatch whenever the underlying resource needs to change this could be a texture or buffer that has been resized. This is important as it allows the renderer to know that it needs to rebind the resource

Name Type Description
event "change"
listenerFunction (resource: BindResource) => void
listener BindGroup