Class: GBufferFrame
Hierarchy
↳
GBufferFrame
Constructors
Properties
- colorPass_GBuffer
- reflections_GBuffer
- gui_GBuffer
- gBufferMap
- label
- customSize
- renderTargets
- rtDescriptors
- zPreTexture
- depthTexture
- depthViewIndex
- depthCleanValue
- depthLoadOp
- isOutTarget
Methods
- createGBuffer
- getPositionMap
- getNormalMap
- getColorTexture
- getCompressGBufferTexture
- getGUIBufferFrame
- clone
- clone2Frame
Constructors
constructor
• new GBufferFrame(): GBufferFrame
Returns
Overrides
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
Defined in
src/gfx/renderJob/frame/RTFrame.ts:5
customSize
• customSize: boolean
= false
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:6
renderTargets
• renderTargets: RenderTexture
[]
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:7
rtDescriptors
• rtDescriptors: RTDescriptor
[]
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:8
zPreTexture
• zPreTexture: RenderTexture
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:10
depthTexture
• depthTexture: RenderTexture
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:11
depthViewIndex
• depthViewIndex: number
= 0
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:13
depthCleanValue
• depthCleanValue: number
= 1
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:14
depthLoadOp
• depthLoadOp: GPULoadOp
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:15
isOutTarget
• isOutTarget: boolean
= true
Inherited from
Defined in
src/gfx/renderJob/frame/RTFrame.ts:16
Methods
createGBuffer
▸ createGBuffer(key
, rtWidth
, rtHeight
, autoResize?
, outColor?
, depthTexture?
): void
Parameters
Name | Type | Default value |
---|---|---|
key | string | undefined |
rtWidth | number | undefined |
rtHeight | number | undefined |
autoResize | boolean | true |
outColor | boolean | true |
depthTexture? | RenderTexture | undefined |
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
Defined in
src/gfx/renderJob/frame/GBufferFrame.ts:92
clone
▸ clone(): GBufferFrame
Returns
Overrides
Defined in
src/gfx/renderJob/frame/GBufferFrame.ts:98
clone2Frame
▸ clone2Frame(rtFrame
): void
Parameters
Name | Type |
---|---|
rtFrame | RTFrame |
Returns
void