Skip to content

@simversus/yjvisDocs


@simversus/yjvis / DrawInfo

Class: DrawInfo

绘制信息

Constructors

new DrawInfo()

new DrawInfo(vertexCount, firstVertex, indexCount, firstIndex, vertexOffset, instanceCount, firstInstance): DrawInfo

Parameters

vertexCount: number = 0

firstVertex: number = 0

indexCount: number = 0

firstIndex: number = 0

vertexOffset: number = 0

instanceCount: number = 0

firstInstance: number = 0

Returns

DrawInfo

Defined in

gfx/base/types.ts:777

Properties

firstIndex

firstIndex: number = 0

Defined in

gfx/base/types.ts:781


firstInstance

firstInstance: number = 0

Defined in

gfx/base/types.ts:784


firstVertex

firstVertex: number = 0

Defined in

gfx/base/types.ts:779


indexCount

indexCount: number = 0

Defined in

gfx/base/types.ts:780


instanceCount

instanceCount: number = 0

Defined in

gfx/base/types.ts:783


vertexCount

vertexCount: number = 0

Defined in

gfx/base/types.ts:778


vertexOffset

vertexOffset: number = 0

Defined in

gfx/base/types.ts:782