Home Reference Source
import {EffectShaderData} from 'postprocessing'
public class | source

EffectShaderData

A collection of shader data.

Constructor Summary

Public Constructor
public

Constructs new shader data.

Member Summary

Public Members
public

Combined effect attributes.

public

The blend modes of the individual effects.

public

colorSpace: ColorSpace

Keeps track of the current color space.

public

Preprocessor macros.

public

Required extensions.

public

Indicates whether the shader reads depth in the fragment shader.

public

The shader parts.

public

uniforms: Map<String, Uniform>

The uniforms.

public

Indicates whether the shader transforms UV coordinates in the fragment shader.

public

A list of varyings.

Public Constructors

public constructor() source

Constructs new shader data.

Public Members

public attributes: EffectAttribute source

Combined effect attributes.

public blendModes: Map<BlendFunction, BlendMode> source

The blend modes of the individual effects.

public colorSpace: ColorSpace source

Keeps track of the current color space.

public defines: Map<String, String> source

Preprocessor macros.

public extensions: Set<WebGLExtension> source

Required extensions.

public readDepth: Boolean source

Indicates whether the shader reads depth in the fragment shader.

public shaderParts: Map<EffectShaderSection, String> source

The shader parts.

public uniforms: Map<String, Uniform> source

The uniforms.

public uvTransformation: Boolean source

Indicates whether the shader transforms UV coordinates in the fragment shader.

public varyings: Set<String> source

A list of varyings.