22 lines
537 B
TypeScript
22 lines
537 B
TypeScript
import { ShaderMaterial, Texture, WebGLRenderTarget } from 'three'
|
|
|
|
import { Pass } from './Pass'
|
|
|
|
export class SMAAPass extends Pass {
|
|
constructor(width: number, height: number)
|
|
edgesRT: WebGLRenderTarget
|
|
weightsRT: WebGLRenderTarget
|
|
areaTexture: Texture
|
|
searchTexture: Texture
|
|
uniformsEdges: object
|
|
materialEdges: ShaderMaterial
|
|
uniformsWeights: object
|
|
materialWeights: ShaderMaterial
|
|
uniformsBlend: object
|
|
materialBlend: ShaderMaterial
|
|
fsQuad: object
|
|
|
|
getAreaTexture(): string
|
|
getSearchTexture(): string
|
|
}
|