UNPKG
regl-shape
Version:
latest (1.1.0)
1.1.0
1.0.2
1.0.1
1.0.0
2D shape shader for regl
github.com/paulkre/regl-shape
paulkre/regl-shape
regl-shape
/
lib
/
update-color-buffer.d.ts
4 lines
(3 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
import
{
Buffer
}
from
"regl"
;
import
{
InputColor
}
from
"color-normalize"
;
export
declare
function
updateColorBuffer
(
colorBuffer
:
Buffer
,
colorData
:
Uint8Array
,
colors
:
InputColor
|
InputColor
[],
count
:
number
):
void
;