Skip to main content

Interface: Shader

Defined in: src/utils/Types.ts:16

Defines the structure for a shader object compatible with PanelMesh, requiring uniforms, a vertex shader, and a fragment shader.

Properties​

defines?​

optional defines: object

Defined in: src/utils/Types.ts:20

Index Signature​

[key: string]: unknown


fragmentShader​

fragmentShader: string

Defined in: src/utils/Types.ts:19


uniforms​

uniforms: ShaderUniforms

Defined in: src/utils/Types.ts:17


vertexShader​

vertexShader: string

Defined in: src/utils/Types.ts:18