Interface: ShaderAsset
Properties
| Property | Type | Description |
|---|---|---|
blend | MaterialBlendMode | - |
code | string | GLSL after the header, and the 1-based file line it starts on (errors map back to it). |
codeLine | number | - |
domain | ShaderDomain | - |
errors | string[] | Header problems; a shader with any is not drawn. |
padding | number | sprite: px the effect may draw outside the drawable (outlines, glows). |
uniforms | Record<string, ShaderUniform> | - |