LogoPixi’VN
pixi-jsInterfaces

Interface: ExtractedAttributeData

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/program/extractAttributesFromGlProgram.d.ts:9

This interface represents the extracted attribute data from a WebGL program. It extends the Attribute interface but omits the buffer property. It includes an optional location property that indicates where the shader location is for this attribute.

Advanced

Extends

Properties

divisor?

> optional divisor?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:42

attribute divisor for instanced rendering. Note: this is a WebGL-only feature, the WebGPU renderer will issue a warning if one of the attributes has divisor set.

Inherited from

Attribute.divisor


format?

> optional format?: VertexFormat

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:24

the format of the attribute

Inherited from

Attribute.format


instance?

> optional instance?: boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:30

is this an instanced buffer? (defaults to false)

Inherited from

Attribute.instance


location?

> optional location?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/program/extractAttributesFromGlProgram.d.ts:11

set where the shader location is for this attribute


offset?

> optional offset?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:28

the offset of the attribute from the buffer, defaults to 0 - in bytes

Inherited from

Attribute.offset


size?

> optional size?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:32

the number of elements to be rendered. If not specified, all vertices after the starting vertex will be drawn.

Inherited from

Attribute.size


start?

> optional start?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:37

the starting vertex in the geometry to start drawing from. If not specified, drawing will start from the first vertex.

Inherited from

Attribute.start


stride?

> optional stride?: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/geometry/Geometry.d.ts:26

the stride of the data in the buffer - in bytes

Inherited from

Attribute.stride