Skip to content

Class: GBufferPost

Ground base Ambient Occlusion Let the intersection of the object and the object imitate the effect of the light being cross-occluded

gtao setting
let cfg = {@link Engine3D.setting.render.postProcessing.gtao};

Hierarchy

  • PostBase

    GBufferPost

Constructors

Properties

Accessors

Methods

Constructors

constructor

new GBufferPost(): GBufferPost

Returns

GBufferPost

Overrides

PostBase.constructor

Defined in

src/gfx/renderJob/post/GBufferPost.ts:55

Properties

rtFrame

rtFrame: RTFrame

Defined in

src/gfx/renderJob/post/GBufferPost.ts:46


view

view: View3D

Defined in

src/gfx/renderJob/post/GBufferPost.ts:47


gBufferTexture

gBufferTexture: RenderTexture

Defined in

src/gfx/renderJob/post/GBufferPost.ts:48


testCompute

testCompute: ComputeShader

Defined in

src/gfx/renderJob/post/GBufferPost.ts:49


uniformBuffer

uniformBuffer: UniformGPUBuffer

Defined in

src/gfx/renderJob/post/GBufferPost.ts:53


currentRenderTexture

currentRenderTexture: RenderTexture

Defined in

src/gfx/renderJob/post/GBufferPost.ts:54


enable

enable: boolean = true

Inherited from

PostBase.enable

Defined in

src/gfx/renderJob/post/PostBase.ts:20


postRenderer

postRenderer: PostRenderer

Inherited from

PostBase.postRenderer

Defined in

src/gfx/renderJob/post/PostBase.ts:21

Accessors

state

get state(): number

Returns

number

Defined in

src/gfx/renderJob/post/GBufferPost.ts:82

set state(v): void

check state

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GBufferPost.ts:76


size1

get size1(): number

Returns

number

Defined in

src/gfx/renderJob/post/GBufferPost.ts:92

set size1(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GBufferPost.ts:86


size2

get size2(): number

Returns

number

Defined in

src/gfx/renderJob/post/GBufferPost.ts:102

set size2(v): void

Parameters

NameType
vnumber

Returns

void

Defined in

src/gfx/renderJob/post/GBufferPost.ts:96

Methods

onDetach

onDetach(view): void

Parameters

NameType
viewView3D

Returns

void

Overrides

PostBase.onDetach

Defined in

src/gfx/renderJob/post/GBufferPost.ts:69


render

render(view, command): void

Parameters

NameType
viewView3D
commandGPUCommandEncoder

Returns

void

Overrides

PostBase.render

Defined in

src/gfx/renderJob/post/GBufferPost.ts:153


compute

compute(view): void

Parameters

NameType
viewView3D

Returns

void

Overrides

PostBase.compute

Defined in

src/gfx/renderJob/post/GBufferPost.ts:157


onResize

onResize(): void

Returns

void

Overrides

PostBase.onResize

Defined in

src/gfx/renderJob/post/GBufferPost.ts:173


destroy

destroy(force?): void

Parameters

NameType
force?boolean

Returns

void

Inherited from

PostBase.destroy

Defined in

src/gfx/renderJob/post/PostBase.ts:87

Released under the MIT License