class Effect
| Name | Type | Description | |
|---|---|---|---|
| baseName | any | ||
| attributesNamesOrOptions | string[] or EffectCreationOptions | ||
| uniformsNamesOrEngine | string[] or Engine | ||
| optional | samplers | Nullable<string[]> | |
| optional | engine | Engine | |
| optional | defines | Nullable<string> | |
| optional | fallbacks | Nullable<EffectFallbacks> | |
| optional | onCompiled | Nullable<(effect: Effect) => void> | |
| optional | onError | Nullable<(effect: Effect, errors: string) => void> |
| Name | Type | Description | |
|---|---|---|---|
| index | number |
| Name | Type | Description | |
|---|---|---|---|
| name | string |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string |
| Name | Type | Description | |||
|---|---|---|---|---|---|
| func | effect | Effect |
|
| Name | Type | Description | |
|---|---|---|---|
| channel | string | ||
| texture | Nullable<BaseTexture> |
| Name | Type | Description | |
|---|---|---|---|
| channel | string | ||
| textures | BaseTexture[] |
| Name | Type | Description | |
|---|---|---|---|
| channel | string | ||
| postProcess | Nullable<PostProcess> |
| Name | Type | Description | |
|---|---|---|---|
| buffer | WebGLBuffer | ||
| name | string |
| Name | Type | Description | |
|---|---|---|---|
| blockName | string | ||
| index | number |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Int32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Int32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Int32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Int32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | number[] |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | number[] |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | number[] |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| array | number[] |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| matrices | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| matrix | Matrix |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| matrix | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| matrix | Float32Array |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| value | number |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| bool | boolean |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| vector2 | Vector2 |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| x | number | ||
| y | number |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| vector3 | Vector3 |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| x | number | ||
| y | number |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| vector4 | Vector4 |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| x | number | ||
| y | number | ||
| z | number |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| color3 | Color3 |
| Name | Type | Description | |
|---|---|---|---|
| uniformName | string | ||
| color3 | Color3 | ||
| alpha | number |