The key or identifier for the entity.
Optional
props: TThe properties for the entity, including shader code and render buffers.
Optional
action: ((time: number, shaderRender: GLSLShaderRenderer, properties: IGLSLShaderProperties, sequence?: Sequence, entity?: GLSLShaderEntity<T>) => void)An optional action function to be called before rendering the shaders.
Optional
sequence: SequenceOptional
entity: GLSLShaderEntity<T>Optional
w: numberThe width of the entity's canvas.
Optional
h: numberThe height of the entity's canvas.
Optional
startTimeinMs: numberOptional
durationInMs: numberOptional
actionAn optional action function to be called before rendering the shaders.
Optional
barOptional
beatOptional
durationOptional
hThe height of the entity's canvas.
The key or identifier for the entity.
Optional
propsThe properties for the entity, including shader code and render buffers.
Optional
sceneOptional
startOptional
tickOptional
transitionOptional
transitionOptional
wThe width of the entity's canvas.
Copies the entity's canvas to the target canvas.
The target canvas to copy to.
Adds an event listener for when a bar is complete.
The Entity instance for chaining.
Adds an event listener for when a beat occurs.
The Entity instance for chaining.ยง
Adds an event listener for when a tick occurs.
The Entity instance for chaining.
Creates a new ShaderEntity.