An interface for binding resources. This is implemented by |Command| and |ComputeCommand| to make GPU resources available to a given command's pipeline. More...
#include <resource_binder.h>
Public Member Functions | |
| virtual | ~ResourceBinder ()=default |
| virtual bool | BindResource (ShaderStage stage, const ShaderUniformSlot &slot, const ShaderMetadata &metadata, const BufferView &view)=0 |
| virtual bool | BindResource (ShaderStage stage, const SampledImageSlot &slot, const ShaderMetadata &metadata, const std::shared_ptr< const Texture > &texture, const std::shared_ptr< const Sampler > &sampler)=0 |
An interface for binding resources. This is implemented by |Command| and |ComputeCommand| to make GPU resources available to a given command's pipeline.
Definition at line 27 of file resource_binder.h.
|
virtualdefault |
|
pure virtual |
Implemented in impeller::Command, and impeller::ComputeCommand.
|
pure virtual |
Implemented in impeller::Command, and impeller::ComputeCommand.