跳转到内容

PostProcessStack

此内容尚不支持你的语言。

Defined in: postprocess/PostProcessStack.ts:63

new PostProcessStack(state): PostProcessStack

Defined in: postprocess/PostProcessStack.ts:70

PostProcessState

PostProcessStack

readonly id: number

Defined in: postprocess/PostProcessStack.ts:64

get enabledPassCount(): number

Defined in: postprocess/PostProcessStack.ts:199

number


get isDestroyed(): boolean

Defined in: postprocess/PostProcessStack.ts:219

boolean


get isDirty(): boolean

Defined in: postprocess/PostProcessStack.ts:211

boolean


get passCount(): number

Defined in: postprocess/PostProcessStack.ts:195

number


get passes(): readonly PassConfig[]

Defined in: postprocess/PostProcessStack.ts:207

readonly PassConfig[]

addComputePass(name, compute): this

Defined in: postprocess/PostProcessStack.ts:92

Adds a compute pass (see ComputePassSource). A device with no compute leaves it out of the chain.

string

ComputePassSource

this


addNativePass(name, kind): this

Defined in: postprocess/PostProcessStack.ts:109

Adds a pass the engine implements itself, by kind. A device with no compute stage leaves it out of the chain.

string

string

this


addPass(name, shader, scale?, continuesEffect?): this

Defined in: postprocess/PostProcessStack.ts:76

string

number

number = 1

boolean = false

this


clearDirty(): void

Defined in: postprocess/PostProcessStack.ts:215

void


clearPasses(): this

Defined in: postprocess/PostProcessStack.ts:134

this


destroy(): void

Defined in: postprocess/PostProcessStack.ts:223

void


removePass(name): this

Defined in: postprocess/PostProcessStack.ts:125

string

this


setAllPassesEnabled(enabled): void

Defined in: postprocess/PostProcessStack.ts:186

boolean

void


setEnabled(name, enabled): this

Defined in: postprocess/PostProcessStack.ts:142

string

boolean

this


setTexture(passName, uniform, textureHandle): this

Defined in: postprocess/PostProcessStack.ts:163

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:151

string

string

number

this


setUniformVec4(passName, uniform, value): this

Defined in: postprocess/PostProcessStack.ts:174

string

string

Vec4

this