Skip to content

@simversus/yjvisDocs


@simversus/yjvis / TextureBarrierInfo

Class: TextureBarrierInfo

Constructors

new TextureBarrierInfo()

new TextureBarrierInfo(prevAccesses, nextAccesses, type, baseMipLevel, levelCount, baseSlice, sliceCount, discardContents, srcQueue, dstQueue): TextureBarrierInfo

Parameters

prevAccesses: AccessFlag = AccessFlag.NONE

nextAccesses: AccessFlag = AccessFlag.NONE

type: BarrierType = BarrierType.FULL

baseMipLevel: number = 0

levelCount: number = 1

baseSlice: number = 0

sliceCount: number = 1

discardContents: boolean = false

srcQueue: Queue = null

dstQueue: Queue = null

Returns

TextureBarrierInfo

Defined in

gfx/base/types.ts:1126

Properties

baseMipLevel

baseMipLevel: number = 0

Defined in

gfx/base/types.ts:1130


baseSlice

baseSlice: number = 0

Defined in

gfx/base/types.ts:1132


discardContents

discardContents: boolean = false

Defined in

gfx/base/types.ts:1134


dstQueue

dstQueue: Queue = null

Defined in

gfx/base/types.ts:1136


levelCount

levelCount: number = 1

Defined in

gfx/base/types.ts:1131


nextAccesses

nextAccesses: AccessFlag = AccessFlag.NONE

Defined in

gfx/base/types.ts:1128


prevAccesses

prevAccesses: AccessFlag = AccessFlag.NONE

Defined in

gfx/base/types.ts:1127


sliceCount

sliceCount: number = 1

Defined in

gfx/base/types.ts:1133


srcQueue

srcQueue: Queue = null

Defined in

gfx/base/types.ts:1135


type

type: BarrierType = BarrierType.FULL

Defined in

gfx/base/types.ts:1129