Function createEffectWrapper
-
Parameters
- engine: EngineContext
The engine that owns the GPU resources.
- options: EffectWrapperOptions
Shader source and binding layout for the effect.
Returns EffectWrapper
The new effect wrapper.
- engine: EngineContext
Create an
EffectWrapperfor the given engine, allocating uniform buffers and texture slots fromoptions.bindings.