Class: RTFrame
Hierarchy
RTFrame
Constructors
Properties
- label
- customSize
- renderTargets
- rtDescriptors
- zPreTexture
- depthTexture
- depthViewIndex
- depthCleanValue
- depthLoadOp
- isOutTarget
Methods
Constructors
constructor
• new RTFrame(attachments
, rtDescriptors
, depthTexture?
, zPreTexture?
, isOutTarget?
): RTFrame
Parameters
Name | Type | Default value |
---|---|---|
attachments | RenderTexture [] | undefined |
rtDescriptors | RTDescriptor [] | undefined |
depthTexture? | RenderTexture | undefined |
zPreTexture? | RenderTexture | undefined |
isOutTarget | boolean | true |
Returns
Defined in
src/gfx/renderJob/frame/RTFrame.ts:18
Properties
label
• label: string
Defined in
src/gfx/renderJob/frame/RTFrame.ts:5
customSize
• customSize: boolean
= false
Defined in
src/gfx/renderJob/frame/RTFrame.ts:6
renderTargets
• renderTargets: RenderTexture
[]
Defined in
src/gfx/renderJob/frame/RTFrame.ts:7
rtDescriptors
• rtDescriptors: RTDescriptor
[]
Defined in
src/gfx/renderJob/frame/RTFrame.ts:8
zPreTexture
• zPreTexture: RenderTexture
Defined in
src/gfx/renderJob/frame/RTFrame.ts:10
depthTexture
• depthTexture: RenderTexture
Defined in
src/gfx/renderJob/frame/RTFrame.ts:11
depthViewIndex
• depthViewIndex: number
= 0
Defined in
src/gfx/renderJob/frame/RTFrame.ts:13
depthCleanValue
• depthCleanValue: number
= 1
Defined in
src/gfx/renderJob/frame/RTFrame.ts:14
depthLoadOp
• depthLoadOp: GPULoadOp
Defined in
src/gfx/renderJob/frame/RTFrame.ts:15
isOutTarget
• isOutTarget: boolean
= true
Defined in
src/gfx/renderJob/frame/RTFrame.ts:16
Methods
clone2Frame
▸ clone2Frame(rtFrame
): void
Parameters
Name | Type |
---|---|
rtFrame | RTFrame |
Returns
void
Defined in
src/gfx/renderJob/frame/RTFrame.ts:26
clone
▸ clone(): RTFrame