sdfsdfs
This commit is contained in:
25
node_modules/pixi.js/lib/rendering/renderers/gl/texture/GlTexture.d.ts
generated
vendored
Normal file
25
node_modules/pixi.js/lib/rendering/renderers/gl/texture/GlTexture.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { GL_FORMATS, GL_TARGETS } from './const';
|
||||
/**
|
||||
* Internal texture for WebGL context
|
||||
* @memberof rendering
|
||||
* @ignore
|
||||
*/
|
||||
export declare class GlTexture {
|
||||
target: GL_TARGETS;
|
||||
/** The WebGL texture. */
|
||||
texture: WebGLTexture;
|
||||
/** Width of texture that was used in texImage2D. */
|
||||
width: number;
|
||||
/** Height of texture that was used in texImage2D. */
|
||||
height: number;
|
||||
/** Whether mip levels has to be generated. */
|
||||
mipmap: boolean;
|
||||
/** Type copied from texture source. */
|
||||
type: number;
|
||||
/** Type copied from texture source. */
|
||||
internalFormat: number;
|
||||
/** Type of sampler corresponding to this texture. See {@link SAMPLER_TYPES} */
|
||||
samplerType: number;
|
||||
format: GL_FORMATS;
|
||||
constructor(texture: WebGLTexture);
|
||||
}
|
Reference in New Issue
Block a user