Class: ShaderPass2
Extra-Helpers.ShaderPass2
Hierarchy
ShaderPass
↳
ShaderPass2
↳↳
AddBlendPass
↳↳
SSBevelPass
Implements
Properties
DEFAULT_TEX_ID
▪ Static
Readonly
DEFAULT_TEX_ID: "tDiffuse"
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:180
onDirty
• onDirty: () => void
[] = []
Implementation of
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:179
material
• material: ShaderMaterial2
Overrides
ShaderPass.material
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:182
isShaderPass2
• isShaderPass2: boolean
= true
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:184
enabled
• enabled: boolean
= true
Implementation of
Overrides
ShaderPass.enabled
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:187
Constructors
constructor
• new ShaderPass2(shader
, ...textureID
)
Parameters
Name | Type |
---|---|
shader | any |
...textureID | string [] |
Overrides
ShaderPass.constructor
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:189
Methods
dispose
▸ dispose(): void
Returns
void
Implementation of
IPass.dispose
Overrides
ShaderPass.dispose
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:194
setDirty
▸ setDirty(): void
Returns
void
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:200
updateShaderProperties
▸ updateShaderProperties(updater?
): void
Parameters
Name | Type |
---|---|
updater? | IShaderPropertiesUpdater | (undefined | IShaderPropertiesUpdater )[] |
Returns
void
Implementation of
Defined in
webgi/src/passes/threejs/ShaderPass2.ts:204
render
▸ render(renderer
, writeBuffer
, readBuffer?
, deltaTime?
, maskActive?
): void
Parameters
Name | Type |
---|---|
renderer | WebGLRenderer |
writeBuffer | null | WebGLMultipleRenderTargets | WebGLRenderTarget |
readBuffer? | WebGLMultipleRenderTargets | WebGLRenderTarget |
deltaTime? | number |
maskActive? | boolean |
Returns
void
Implementation of
Overrides
ShaderPass.render