Class: NineSliceSpriteGpuData
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceSpritePipe.d.ts:12
Internal
GPU data for NineSliceSprite.
Implements
Constructors
Constructor
> new NineSliceSpriteGpuData(): NineSliceSpriteGpuData
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceSpritePipe.d.ts:13
Returns
NineSliceSpriteGpuData
Overrides
BatchableMesh.constructor
Properties
_textureMatrixUpdateId
> _textureMatrixUpdateId: number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:29
Inherited from
BatchableMesh._textureMatrixUpdateId
_topology
> _topology: Topology
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:14
Inherited from
BatchableMesh._topology
attributeOffset
> attributeOffset: number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:19
The offset in the attribute buffer.
Inherited from
BatchableMesh.attributeOffset
batcherName
> batcherName: string
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:13
The name of the batcher to use. Must be registered.
Inherited from
BatchableMesh.batcherName
geometry
> geometry: MeshGeometry
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:21
Inherited from
BatchableMesh.geometry
indexOffset
> indexOffset: number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:18
The offset in the index buffer.
Inherited from
BatchableMesh.indexOffset
location
> location: number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:16
Inherited from
BatchableMesh.location
packAsQuad
> readonly packAsQuad: false = false
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:15
Indicates that this element should not be packed as a quad.
Inherited from
BatchableMesh.packAsQuad
renderable
> renderable: ViewContainer
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:17
Inherited from
BatchableMesh.renderable
roundPixels
> roundPixels: 0 | 1
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:23
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
BatchableMesh.roundPixels
texture
> texture: Texture
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:20
The texture to be used for rendering.
Inherited from
BatchableMesh.texture
transform
> transform: Matrix
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:22
The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.
Inherited from
BatchableMesh.transform
Accessors
attributeSize
Get Signature
> get attributeSize(): number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:48
The size of the attribute data.
Returns
number
Inherited from
BatchableMesh.attributeSize
blendMode
Get Signature
> get blendMode(): BLEND_MODES
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:32
The blend mode to be applied.
Returns
Inherited from
BatchableMesh.blendMode
color
Get Signature
> get color(): number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:46
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.
Returns
number
Inherited from
BatchableMesh.color
groupTransform
Get Signature
> get groupTransform(): Matrix
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:47
Returns
Inherited from
BatchableMesh.groupTransform
indexSize
Get Signature
> get indexSize(): number
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:49
The size of the index data.
Returns
number
Inherited from
BatchableMesh.indexSize
indices
Get Signature
> get indices(): Uint32Array<ArrayBufferLike>
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:45
The indices of the mesh.
Returns
Uint32Array<ArrayBufferLike>
Inherited from
BatchableMesh.indices
positions
Get Signature
> get positions(): Float32Array<ArrayBufferLike>
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:44
The vertex positions of the mesh.
Returns
Float32Array<ArrayBufferLike>
Inherited from
BatchableMesh.positions
topology
Get Signature
> get topology(): Topology
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:33
The topology to be used for rendering.
Returns
Set Signature
> set topology(value): void
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:34
The topology to be used for rendering.
Parameters
value
Returns
void
Inherited from
BatchableMesh.topology
uvs
Get Signature
> get uvs(): Float32Array
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:43
The UV coordinates of the mesh.
Returns
Float32Array
Inherited from
BatchableMesh.uvs
Methods
destroy()
> destroy(): void
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceSpritePipe.d.ts:14
Returns
void
Implementation of
reset()
> reset(): void
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:35
Returns
void
Inherited from
BatchableMesh.reset
setTexture()
> setTexture(value): void
Defined in: node_modules/pixi.js/lib/scene/mesh/shared/BatchableMesh.d.ts:42
Sets the texture for the batchable mesh. As it does so, it resets the texture matrix update ID. this is to ensure that the texture matrix is recalculated when the uvs are referenced
Parameters
value
The texture to set.
Returns
void
Inherited from
BatchableMesh.setTexture