Skip to content

PostProcessStack

Defined in: postprocess/PostProcessStack.ts:43

new PostProcessStack(state): PostProcessStack

Defined in: postprocess/PostProcessStack.ts:50

PostProcessState

PostProcessStack

readonly id: number

Defined in: postprocess/PostProcessStack.ts:44

get enabledPassCount(): number

Defined in: postprocess/PostProcessStack.ts:143

number


get isDestroyed(): boolean

Defined in: postprocess/PostProcessStack.ts:163

boolean


get isDirty(): boolean

Defined in: postprocess/PostProcessStack.ts:155

boolean


get passCount(): number

Defined in: postprocess/PostProcessStack.ts:139

number


get passes(): readonly PassConfig[]

Defined in: postprocess/PostProcessStack.ts:151

readonly PassConfig[]

addPass(name, shader): this

Defined in: postprocess/PostProcessStack.ts:56

string

number

this


clearDirty(): void

Defined in: postprocess/PostProcessStack.ts:159

void


clearPasses(): this

Defined in: postprocess/PostProcessStack.ts:78

this


destroy(): void

Defined in: postprocess/PostProcessStack.ts:167

void


removePass(name): this

Defined in: postprocess/PostProcessStack.ts:69

string

this


setAllPassesEnabled(enabled): void

Defined in: postprocess/PostProcessStack.ts:130

boolean

void


setEnabled(name, enabled): this

Defined in: postprocess/PostProcessStack.ts:86

string

boolean

this


setTexture(passName, uniform, textureHandle): this

Defined in: postprocess/PostProcessStack.ts:107

Binds a texture (SDK texture handle) to a pass’s sampler uniform.

string

string

number

this


setUniform(passName, uniform, value): this

Defined in: postprocess/PostProcessStack.ts:95

string

string

number

this


setUniformVec4(passName, uniform, value): this

Defined in: postprocess/PostProcessStack.ts:118

string

string

Vec4

this