Home

function: buildNativeLine


buildNativeLine(graphicsData: PIXI.WebGLGraphicsData, webGLData: object): void

Builds a line to draw using the gl.drawArrays(gl.LINES) method

Ignored from docs since it is not directly exposed.

Params:

Name Type Attribute Description
graphicsData

The graphics object containing all the necessary properties

webGLData

an object containing all the webGL-specific information to create this shape

Returns:

void

  {
    "comment": "/**\n * Builds a line to draw using the gl.drawArrays(gl.LINES) method\n *\n * Ignored from docs since it is not directly exposed.\n *\n * @ignore\n * @private\n * @param {PIXI.WebGLGraphicsData} graphicsData - The graphics object containing all the necessary properties\n * @param {object} webGLData - an object containing all the webGL-specific information to create this shape\n */",
    "meta": {
        "range": [
            6904,
            7678
        ],
        "filename": "buildLine.js",
        "lineno": 260,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\graphics\\webgl\\utils",
        "code": {
            "id": "astnode100014852",
            "name": "buildNativeLine",
            "type": "FunctionDeclaration",
            "paramnames": [
                "graphicsData",
                "webGLData"
            ]
        },
        "vars": {
            "i": "buildNativeLine~i",
            "points": "buildNativeLine~points",
            "verts": "buildNativeLine~verts",
            "length": "buildNativeLine~length",
            "color": "buildNativeLine~color",
            "alpha": "buildNativeLine~alpha",
            "r": "buildNativeLine~r",
            "g": "buildNativeLine~g",
            "b": "buildNativeLine~b",
            "p1x": "buildNativeLine~p1x",
            "p1y": "buildNativeLine~p1y",
            "p2x": "buildNativeLine~p2x",
            "p2y": "buildNativeLine~p2y"
        }
    },
    "description": "

Builds a line to draw using the gl.drawArrays(gl.LINES) method

\n

Ignored from docs since it is not directly exposed.

", "ignore": true, "access": "private", "params": [ { "type": { "names": [ "PIXI.WebGLGraphicsData" ] }, "description": "

The graphics object containing all the necessary properties

", "name": "graphicsData" }, { "type": { "names": [ "object" ] }, "description": "

an object containing all the webGL-specific information to create this shape

", "name": "webGLData" } ], "name": "buildNativeLine", "longname": "buildNativeLine", "kind": "function", "scope": "global", "___id": "T000002R001364", "___s": true, "filepath": "core\\graphics\\webgl\\utils\\buildLine.js" }