@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
9 lines • 384 B
TypeScript
/**
* Creating a Pixel Buffer Object is usefull to store big images into the GPU.
*
* @param gl
* @param source
* @returns Handle of the created PBO.
*/
export declare function tgdPixelBufferObjectCreate(gl: WebGL2RenderingContext, source: HTMLImageElement | HTMLCanvasElement | Uint8ClampedArray, width?: number, height?: number): WebGLBuffer;
//# sourceMappingURL=pbo.d.ts.map