Skip to content

Class: GBufferFrame

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new GBufferFrame(): GBufferFrame

Returns

GBufferFrame

Overrides

RTFrame.constructor

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:20

Properties

colorPass_GBuffer

Static colorPass_GBuffer: string = "ColorPassGBuffer"

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:11


reflections_GBuffer

Static reflections_GBuffer: string = "reflections_GBuffer"

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:12


gui_GBuffer

Static gui_GBuffer: string = "gui_GBuffer"

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:13


gBufferMap

Static gBufferMap: Map<string, GBufferFrame>

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:14


label

label: string

Inherited from

RTFrame.label

Defined in

src/gfx/renderJob/frame/RTFrame.ts:5


customSize

customSize: boolean = false

Inherited from

RTFrame.customSize

Defined in

src/gfx/renderJob/frame/RTFrame.ts:6


renderTargets

renderTargets: RenderTexture[]

Inherited from

RTFrame.renderTargets

Defined in

src/gfx/renderJob/frame/RTFrame.ts:7


rtDescriptors

rtDescriptors: RTDescriptor[]

Inherited from

RTFrame.rtDescriptors

Defined in

src/gfx/renderJob/frame/RTFrame.ts:8


zPreTexture

zPreTexture: RenderTexture

Inherited from

RTFrame.zPreTexture

Defined in

src/gfx/renderJob/frame/RTFrame.ts:10


depthTexture

depthTexture: RenderTexture

Inherited from

RTFrame.depthTexture

Defined in

src/gfx/renderJob/frame/RTFrame.ts:11


depthViewIndex

depthViewIndex: number = 0

Inherited from

RTFrame.depthViewIndex

Defined in

src/gfx/renderJob/frame/RTFrame.ts:13


depthCleanValue

depthCleanValue: number = 1

Inherited from

RTFrame.depthCleanValue

Defined in

src/gfx/renderJob/frame/RTFrame.ts:14


depthLoadOp

depthLoadOp: GPULoadOp

Inherited from

RTFrame.depthLoadOp

Defined in

src/gfx/renderJob/frame/RTFrame.ts:15


isOutTarget

isOutTarget: boolean = true

Inherited from

RTFrame.isOutTarget

Defined in

src/gfx/renderJob/frame/RTFrame.ts:16

Methods

createGBuffer

createGBuffer(key, rtWidth, rtHeight, autoResize?, outColor?, depthTexture?): void

Parameters

NameTypeDefault value
keystringundefined
rtWidthnumberundefined
rtHeightnumberundefined
autoResizebooleantrue
outColorbooleantrue
depthTexture?RenderTextureundefined

Returns

void

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:24


getPositionMap

getPositionMap(): RenderTexture

Returns

RenderTexture

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:51


getNormalMap

getNormalMap(): RenderTexture

Returns

RenderTexture

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:55


getColorTexture

getColorTexture(): RenderTexture

Returns

RenderTexture

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:59


getCompressGBufferTexture

getCompressGBufferTexture(): RenderTexture

Returns

RenderTexture

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:63


getGUIBufferFrame

getGUIBufferFrame(): GBufferFrame

Returns

GBufferFrame

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:92


clone

clone(): GBufferFrame

Returns

GBufferFrame

Overrides

RTFrame.clone

Defined in

src/gfx/renderJob/frame/GBufferFrame.ts:98


clone2Frame

clone2Frame(rtFrame): void

Parameters

NameType
rtFrameRTFrame

Returns

void

Inherited from

RTFrame.clone2Frame

Defined in

src/gfx/renderJob/frame/RTFrame.ts:26

Released under the MIT License