Skip to content

Class: RTFrame

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new RTFrame(attachments, rtDescriptors, depthTexture?, zPreTexture?, isOutTarget?): RTFrame

Parameters

NameTypeDefault value
attachmentsRenderTexture[]undefined
rtDescriptorsRTDescriptor[]undefined
depthTexture?RenderTextureundefined
zPreTexture?RenderTextureundefined
isOutTargetbooleantrue

Returns

RTFrame

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

NameType
rtFrameRTFrame

Returns

void

Defined in

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


clone

clone(): RTFrame

Returns

RTFrame

Defined in

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

Released under the MIT License