LogoPixi’VN
pixi-jsInterfaces

Interface: DefaultBatchableQuadElement

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:38

Represents a batchable quad element with default batch properties.

Advanced

Extends

Properties

attributeSize

> attributeSize: 4

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:138

The size of the attribute data for this quad element.

Inherited from

BatchableQuadElement.attributeSize


batcherName

> batcherName: string

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:60

The name of the batcher to use. Must be registered.

Inherited from

BatchableQuadElement.batcherName


blendMode

> blendMode: BLEND_MODES

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:70

The blend mode to be applied.

Inherited from

BatchableQuadElement.blendMode


bounds

> bounds: BoundsData

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:148

The bounds data for this quad element.

Inherited from

BatchableQuadElement.bounds


color

> color: number

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:19

The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format.

Inherited from

DefaultBatchElements.color


indexSize

> indexSize: 6

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:143

The size of the index data for this quad element.

Inherited from

BatchableQuadElement.indexSize


packAsQuad

> packAsQuad: true

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:133

Indicates that this element should be packed as a quad.

Inherited from

BatchableQuadElement.packAsQuad


roundPixels

> roundPixels: 0 | 1

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:26

Determines whether the element should be rounded to the nearest pixel.

  • 0: No rounding (default)
  • 1: Round to nearest pixel This can help with visual consistency, especially for pixel art styles.

Inherited from

DefaultBatchElements.roundPixels


texture

> texture: Texture

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:65

The texture to be used for rendering.

Inherited from

BatchableQuadElement.texture


topology

> topology: Topology

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/Batcher.d.ts:85

The topology to be used for rendering.

Inherited from

BatchableQuadElement.topology


transform

> transform: Matrix

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/DefaultBatcher.d.ts:31

The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.

Inherited from

DefaultBatchElements.transform