The key or identifier for the entity.
Optionalprops: TThe properties for the entity, including shader code and render buffers.
Optionalaction: ((time: number, shaderRender: GLSLShaderRenderer, properties: IGLSLShaderProperties, sequence?: Sequence, entity?: GLSLShaderEntity<T>) => void)An optional action function to be called before rendering the shaders.
Optionalsequence: SequenceOptionalentity: GLSLShaderEntity<T>Optionalw: numberThe width of the entity's canvas.
Optionalh: numberThe height of the entity's canvas.
OptionalstartTimeinMs: numberOptionaldurationInMs: numberOptionalactionAn optional action function to be called before rendering the shaders.
OptionalbarOptionalbeatOptionaldurationOptionalhThe height of the entity's canvas.
The key or identifier for the entity.
OptionalpropsThe properties for the entity, including shader code and render buffers.
OptionalsceneOptionalstartOptionaltickOptionaltransitionOptionaltransitionOptionalwThe 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.