@predy-js/render-interface 0.3.4-beta.30 → 0.3.4-beta.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +34 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -9
- package/dist/index.mjs.map +1 -1
- package/dist/statistic.js +1 -1
- package/dist/types/Texture.d.ts +2 -0
- package/package.json +1 -1
- package/types/Texture.ts +2 -0
package/dist/statistic.js
CHANGED
package/dist/types/Texture.d.ts
CHANGED
@@ -147,6 +147,7 @@ export interface Texture2DSourceOptionsImageMipmaps extends TextureOptionsBase {
|
|
147
147
|
height: number;
|
148
148
|
}>;
|
149
149
|
target?: WebGLRenderingContext['TEXTURE_2D'];
|
150
|
+
generateMipmap?: boolean;
|
150
151
|
}
|
151
152
|
export interface Texture2DSourceOptionsCompressed extends TextureOptionsBase {
|
152
153
|
sourceType: TextureSourceType.compressed;
|
@@ -167,6 +168,7 @@ export interface TextureCubeSourceOptionsImageMipmaps extends TextureOptionsBase
|
|
167
168
|
sourceType: TextureSourceType.mipmaps;
|
168
169
|
mipmaps: Array<TextureSourceCubeData>;
|
169
170
|
target: WebGLRenderingContext['TEXTURE_CUBE_MAP'];
|
171
|
+
generateMipmap?: boolean;
|
170
172
|
}
|
171
173
|
export type TextureCubeSourceURLMap = [
|
172
174
|
TEXTURE_CUBE_MAP_POSITIVE_X: string,
|
package/package.json
CHANGED
package/types/Texture.ts
CHANGED
@@ -183,6 +183,7 @@ export interface Texture2DSourceOptionsImageMipmaps extends TextureOptionsBase {
|
|
183
183
|
sourceType: TextureSourceType.mipmaps,
|
184
184
|
mipmaps: Array<ImageSource | { data: TypedArray, width: number, height: number }>,
|
185
185
|
target?: WebGLRenderingContext['TEXTURE_2D'],
|
186
|
+
generateMipmap?: boolean,
|
186
187
|
}
|
187
188
|
|
188
189
|
export interface Texture2DSourceOptionsCompressed extends TextureOptionsBase {
|
@@ -202,6 +203,7 @@ export interface TextureCubeSourceOptionsImageMipmaps extends TextureOptionsBase
|
|
202
203
|
sourceType: TextureSourceType.mipmaps,
|
203
204
|
mipmaps: Array<TextureSourceCubeData>,
|
204
205
|
target: WebGLRenderingContext['TEXTURE_CUBE_MAP'],
|
206
|
+
generateMipmap?: boolean,
|
205
207
|
}
|
206
208
|
|
207
209
|
export type TextureCubeSourceURLMap = [
|