Skip to content

@simversus/yjvisDocs


@simversus/yjvis / TextureViewInfo

Class: TextureViewInfo

纹理视图信息

Constructors

new TextureViewInfo()

new TextureViewInfo(texture, type, format, baseLevel, levelCount, baseLayer, layerCount): TextureViewInfo

Parameters

texture: Texture = ...

type: TextureType = TextureType.TEX2D

format: Format = Format.RGB8

baseLevel: number = 0

levelCount: number = 1

baseLayer: number = 0

layerCount: number = 1

Returns

TextureViewInfo

Defined in

gfx/base/types.ts:829

Properties

baseLayer

baseLayer: number = 0

Defined in

gfx/base/types.ts:835


baseLevel

baseLevel: number = 0

Defined in

gfx/base/types.ts:833


format

format: Format = Format.RGB8

Defined in

gfx/base/types.ts:832


layerCount

layerCount: number = 1

Defined in

gfx/base/types.ts:836


levelCount

levelCount: number = 1

Defined in

gfx/base/types.ts:834


texture

texture: Texture

Defined in

gfx/base/types.ts:830


type

type: TextureType = TextureType.TEX2D

Defined in

gfx/base/types.ts:831