Interface WEBGL_multi_draw
interface WEBGL_multi_draw { multiDrawArraysInstancedWEBGL(mode,
firstsList,
firstsOffset,
countsList,
countsOffset,
instanceCountsList,
instanceCountsOffset,
drawcount): void; multiDrawArraysWEBGL(mode,
firstsList,
firstsOffset,
countsList,
countsOffset,
drawcount): void; multiDrawElementsInstancedWEBGL(mode,
countsList,
countsOffset,
type,
offsetsList,
offsetsOffset,
instanceCountsList,
instanceCountsOffset,
drawcount): void; multiDrawElementsWEBGL(mode,
countsList,
countsOffset,
type,
offsetsList,
offsetsOffset,
drawcount): void; } Methods
multiDrawArraysInstancedWEBGL
- multiDrawArraysInstancedWEBGL(mode, firstsList, firstsOffset, countsList, countsOffset, instanceCountsList, instanceCountsOffset, drawcount): void
Parameters
- mode: number
- firstsList: number[] | Int32Array
- firstsOffset: number
- countsList: number[] | Int32Array
- countsOffset: number
- instanceCountsList: number[] | Int32Array
- instanceCountsOffset: number
- drawcount: number
Returns void
multiDrawArraysWEBGL
- multiDrawArraysWEBGL(mode, firstsList, firstsOffset, countsList, countsOffset, drawcount): void
Parameters
- mode: number
- firstsList: number[] | Int32Array
- firstsOffset: number
- countsList: number[] | Int32Array
- countsOffset: number
- drawcount: number
Returns void
multiDrawElementsInstancedWEBGL
- multiDrawElementsInstancedWEBGL(mode, countsList, countsOffset, type, offsetsList, offsetsOffset, instanceCountsList, instanceCountsOffset, drawcount): void
Parameters
- mode: number
- countsList: number[] | Int32Array
- countsOffset: number
- type: number
- offsetsList: number[] | Int32Array
- offsetsOffset: number
- instanceCountsList: number[] | Int32Array
- instanceCountsOffset: number
- drawcount: number
Returns void
multiDrawElementsWEBGL
- multiDrawElementsWEBGL(mode, countsList, countsOffset, type, offsetsList, offsetsOffset, drawcount): void
Parameters
- mode: number
- countsList: number[] | Int32Array
- countsOffset: number
- type: number
- offsetsList: number[] | Int32Array
- offsetsOffset: number
- drawcount: number
Returns void
MDN Reference