Skip to main content

Class: AddBlendPass

Extra-Helpers.AddBlendPass

Hierarchy

Implements

Properties

DEFAULT_TEX_ID

Static Readonly DEFAULT_TEX_ID: "tDiffuse"

Inherited from

ShaderPass2.DEFAULT_TEX_ID

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:180


onDirty

onDirty: () => void[] = []

Implementation of

IPass.onDirty

Inherited from

ShaderPass2.onDirty

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:179


isShaderPass2

isShaderPass2: boolean = true

Inherited from

ShaderPass2.isShaderPass2

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:182


enabled

enabled: boolean = true

Implementation of

IPass.enabled

Inherited from

ShaderPass2.enabled

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:185

Constructors

constructor

new AddBlendPass(texture?)

Parameters

NameType
texture?Texture

Overrides

ShaderPass2.constructor

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:8

Accessors

weights2

get weights2(): Vector4

Returns

Vector4

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:34

set weights2(value): void

Parameters

NameType
valueVector4

Returns

void

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:31


weights1

get weights1(): Vector4

Returns

Vector4

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:40

set weights1(value): void

Parameters

NameType
valueVector4

Returns

void

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:37


blendTexture

set blendTexture(value): void

Parameters

NameType
valueTexture

Returns

void

Defined in

webgi/src/passes/threejs/AddBlendPass.ts:43

Methods

dispose

dispose(): void

Returns

void

Implementation of

IPass.dispose

Inherited from

ShaderPass2.dispose

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:192


setDirty

setDirty(): void

Returns

void

Inherited from

ShaderPass2.setDirty

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:198


updateShaderProperties

updateShaderProperties(updater?): void

Parameters

NameType
updater?IShaderPropertiesUpdater | (undefined | IShaderPropertiesUpdater)[]

Returns

void

Implementation of

IPass.updateShaderProperties

Inherited from

ShaderPass2.updateShaderProperties

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:202


render

render(renderer, writeBuffer?, readBuffer?, deltaTime?, maskActive?): void

Parameters

NameType
rendererWebGLRenderer
writeBuffer?WebGLRenderTarget
readBuffer?WebGLRenderTarget
deltaTime?number
maskActive?boolean

Returns

void

Implementation of

IPass.render

Inherited from

ShaderPass2.render

Defined in

webgi/src/passes/threejs/ShaderPass2.ts:208