Home

class: Buffer


Methods summary


Public methods
public destroy(): void
public destroy(): void

Properties


Name Type Attribute Description
float32View Float32Array public

View on the vertices as a Float32Array for positions

uint32View Float32Array public

View on the vertices as a Uint32Array for uvs

float32View Float32Array public

View on the vertices as a Float32Array for positions

uint32View Float32Array public

View on the vertices as a Uint32Array for uvs

Methods


destroy(): void

Destroys the buffer.

Returns:

void


destroy(): void

Destroys the buffer.

Returns:

void


  {
    "comment": "/**\n * @class\n * @memberof PIXI\n */",
    "meta": {
        "range": [
            60,
            854
        ],
        "filename": "BatchBuffer.js",
        "lineno": 7,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl",
        "code": {
            "id": "astnode100035179",
            "name": "Buffer",
            "type": "ClassDeclaration",
            "paramnames": [
                "size"
            ]
        }
    },
    "kind": "class",
    "memberof": "PIXI",
    "name": "Buffer",
    "longname": "PIXI.Buffer",
    "scope": "static",
    "params": [
        {
            "type": {
                "names": [
                    "number"
                ]
            },
            "description": "

The size of the buffer in bytes.

", "name": "size" } ], "___id": "T000002R003205", "___s": true, "$methods": [ { "comment": "/**\n * Destroys the buffer.\n *\n */", "meta": { "range": [ 717, 852 ], "filename": "BatchBuffer.js", "lineno": 35, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": { "id": "astnode100035215", "name": "Buffer#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Destroys the buffer.

", "name": "destroy", "longname": "PIXI.Buffer#destroy", "kind": "function", "memberof": "PIXI.Buffer", "scope": "instance", "params": [], "___id": "T000002R003212", "___s": true, "skip": true, "slug": "PIXI.Bufferdestroy", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" }, { "comment": "/**\n * Destroys the buffer.\n *\n */", "meta": { "range": [ 717, 852 ], "filename": "BatchBuffer.js", "lineno": 35, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": { "id": "astnode100109894", "name": "Buffer#destroy", "type": "MethodDefinition", "paramnames": [] }, "vars": { "": null } }, "description": "

Destroys the buffer.

", "name": "destroy", "longname": "PIXI.Buffer#destroy", "kind": "function", "memberof": "PIXI.Buffer", "scope": "instance", "params": [], "___id": "T000002R010146", "___s": true, "skip": true, "slug": "PIXI.Bufferdestroy", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" } ], "$attributes": [ { "comment": "/**\n * View on the vertices as a Float32Array for positions\n *\n * @member {Float32Array} PIXI.Buffer#float32View\n */", "meta": { "range": [ 238, 386 ], "filename": "BatchBuffer.js", "lineno": 16, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": {} }, "description": "

View on the vertices as a Float32Array for positions

", "kind": "member", "name": "float32View", "type": { "names": [ "Float32Array" ] }, "memberof": "PIXI.Buffer", "longname": "PIXI.Buffer#float32View", "scope": "instance", "___id": "T000002R003208", "___s": true, "skip": true, "slug": "PIXI.Bufferfloat32View", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" }, { "comment": "/**\n * View on the vertices as a Uint32Array for uvs\n *\n * @member {Float32Array} PIXI.Buffer#uint32View\n */", "meta": { "range": [ 456, 596 ], "filename": "BatchBuffer.js", "lineno": 23, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": {} }, "description": "

View on the vertices as a Uint32Array for uvs

", "kind": "member", "name": "uint32View", "type": { "names": [ "Float32Array" ] }, "memberof": "PIXI.Buffer", "longname": "PIXI.Buffer#uint32View", "scope": "instance", "___id": "T000002R003210", "___s": true, "skip": true, "slug": "PIXI.Bufferuint32View", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" }, { "comment": "/**\n * View on the vertices as a Float32Array for positions\n *\n * @member {Float32Array} PIXI.Buffer#float32View\n */", "meta": { "range": [ 238, 386 ], "filename": "BatchBuffer.js", "lineno": 16, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": {} }, "description": "

View on the vertices as a Float32Array for positions

", "kind": "member", "name": "float32View", "type": { "names": [ "Float32Array" ] }, "memberof": "PIXI.Buffer", "longname": "PIXI.Buffer#float32View", "scope": "instance", "___id": "T000002R010142", "___s": true, "skip": true, "slug": "PIXI.Bufferfloat32View", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" }, { "comment": "/**\n * View on the vertices as a Uint32Array for uvs\n *\n * @member {Float32Array} PIXI.Buffer#uint32View\n */", "meta": { "range": [ 456, 596 ], "filename": "BatchBuffer.js", "lineno": 23, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\sprites\\webgl", "code": {} }, "description": "

View on the vertices as a Uint32Array for uvs

", "kind": "member", "name": "uint32View", "type": { "names": [ "Float32Array" ] }, "memberof": "PIXI.Buffer", "longname": "PIXI.Buffer#uint32View", "scope": "instance", "___id": "T000002R010144", "___s": true, "skip": true, "slug": "PIXI.Bufferuint32View", "filepath": "core\\sprites\\webgl\\BatchBuffer.js" } ], "$staticmethods": [], "$staticproperties": [], "$augments": [], "$augmentedBy": [], "filepath": "core\\sprites\\webgl\\BatchBuffer.js" }