Module Attribute-PIXI

class type _t = { ... }
type t = Js.t(_t);

Holds the information for a single attribute structure required to render geometry. This does not contain the actual data, but instead has a buffer id that maps to a PIXI.Buffer This can include anything from positions, uvs, normals, colors etc.

let create: ?⁠buffer:string => ?⁠size:int => ?⁠normalized:bool => ?⁠_type:int => ?⁠stride:int => ?⁠start:int => unit => t;
let from: ?⁠buffer:string => ?⁠size:int => ?⁠stride:int => ?⁠start:int => ?⁠_type:int => ?⁠stride:int => unit => t;

Helper function that creates an Attribute based on the information provided

let destroy: Js.t(_t) => unit;

Destroys the Attribute