Skip to content

@simversus/yjvisDocs


@simversus/yjvis / DynamicStates

Class: DynamicStates

Constructors

new DynamicStates()

new DynamicStates(viewport, scissor, blendConstant, lineWidth, depthBiasConstant, depthBiasClamp, depthBiasSlope, depthMinBounds, depthMaxBounds, stencilStatesFront, stencilStatesBack): DynamicStates

Parameters

viewport: Viewport = ...

scissor: Rect = ...

blendConstant: RGBA = ...

lineWidth: number = 1

depthBiasConstant: number = 0

depthBiasClamp: number = 0

depthBiasSlope: number = 0

depthMinBounds: number = 0

depthMaxBounds: number = 0

stencilStatesFront: DynamicStencilStates = ...

stencilStatesBack: DynamicStencilStates = ...

Returns

DynamicStates

Defined in

gfx/base/types.ts:1321

Properties

blendConstant

blendConstant: RGBA

Defined in

gfx/base/types.ts:1324


depthBiasClamp

depthBiasClamp: number = 0

Defined in

gfx/base/types.ts:1327


depthBiasConstant

depthBiasConstant: number = 0

Defined in

gfx/base/types.ts:1326


depthBiasSlope

depthBiasSlope: number = 0

Defined in

gfx/base/types.ts:1328


depthMaxBounds

depthMaxBounds: number = 0

Defined in

gfx/base/types.ts:1330


depthMinBounds

depthMinBounds: number = 0

Defined in

gfx/base/types.ts:1329


lineWidth

lineWidth: number = 1

Defined in

gfx/base/types.ts:1325


scissor

scissor: Rect

Defined in

gfx/base/types.ts:1323


stencilStatesBack

stencilStatesBack: DynamicStencilStates

Defined in

gfx/base/types.ts:1332


stencilStatesFront

stencilStatesFront: DynamicStencilStates

Defined in

gfx/base/types.ts:1331


viewport

viewport: Viewport

Defined in

gfx/base/types.ts:1322