Skip to content

@simversus/yjvisDocs


@simversus/yjvis / ColorAttachment

Class: ColorAttachment

颜色附件

Constructors

new ColorAttachment()

new ColorAttachment(format, sampleCount, loadOp, storeOp, barrier): ColorAttachment

Parameters

format: Format = Format.UNKNOWN

sampleCount: SampleCount = SampleCount.X1

loadOp: LoadOp = LoadOp.CLEAR

storeOp: StoreOp = StoreOp.STORE

barrier: GeneralBarrier = ...

Returns

ColorAttachment

Defined in

gfx/base/types.ts:1010

Properties

barrier

barrier: GeneralBarrier

Defined in

gfx/base/types.ts:1015


format

format: Format = Format.UNKNOWN

Defined in

gfx/base/types.ts:1011


loadOp

loadOp: LoadOp = LoadOp.CLEAR

Defined in

gfx/base/types.ts:1013


sampleCount

sampleCount: SampleCount = SampleCount.X1

Defined in

gfx/base/types.ts:1012


storeOp

storeOp: StoreOp = StoreOp.STORE

Defined in

gfx/base/types.ts:1014