twgl.js
Advanced tools
Comparing version 4.13.1 to 4.14.0
@@ -268,2 +268,7 @@ | ||
}): void; | ||
export function setUniformsAndBindTextures(setters: ProgramInfo | { | ||
[key: string]: (...params: any[]) => any; | ||
}, values: { | ||
[key: string]: any; | ||
}): void; | ||
export function createAttributeSetters(gl: WebGLRenderingContext, program: WebGLProgram): { | ||
@@ -296,3 +301,3 @@ [key: string]: (...params: any[]) => any; | ||
export function setSamplerParameters(gl: WebGLRenderingContext, sampler: WebGLSampler, options: TextureOptions): void; | ||
export function setTextureFilteringForSize(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions, width?: number, height?: number, internalFormat?: number, type?: number): void; | ||
export function setTextureFilteringForSize(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions, width?: number, height?: number, internalFormat?: number): void; | ||
export function setTextureFromElement(gl: WebGLRenderingContext, tex: WebGLTexture, element: HTMLElement, options?: TextureOptions): void; | ||
@@ -299,0 +304,0 @@ export function setTextureTo1PixelColor(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions): void; |
@@ -268,2 +268,7 @@ | ||
}): void; | ||
export function setUniformsAndBindTextures(setters: ProgramInfo | { | ||
[key: string]: (...params: any[]) => any; | ||
}, values: { | ||
[key: string]: any; | ||
}): void; | ||
export function createAttributeSetters(gl: WebGLRenderingContext, program: WebGLProgram): { | ||
@@ -296,3 +301,3 @@ [key: string]: (...params: any[]) => any; | ||
export function setSamplerParameters(gl: WebGLRenderingContext, sampler: WebGLSampler, options: TextureOptions): void; | ||
export function setTextureFilteringForSize(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions, width?: number, height?: number, internalFormat?: number, type?: number): void; | ||
export function setTextureFilteringForSize(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions, width?: number, height?: number, internalFormat?: number): void; | ||
export function setTextureFromElement(gl: WebGLRenderingContext, tex: WebGLTexture, element: HTMLElement, options?: TextureOptions): void; | ||
@@ -299,0 +304,0 @@ export function setTextureTo1PixelColor(gl: WebGLRenderingContext, tex: WebGLTexture, options?: TextureOptions): void; |
{ | ||
"name": "twgl.js", | ||
"version": "4.13.1", | ||
"version": "4.14.0", | ||
"description": "A Tiny WebGL helper library", | ||
@@ -5,0 +5,0 @@ "main": "dist/4.x/twgl-full.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1016350
25190