@hscmap/gl-wrapper
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -15,3 +15,3 @@ import { Program } from './program'; | ||
export declare class AttribList { | ||
private gl; | ||
readonly gl: WebGLRenderingContext; | ||
private bufferName; | ||
@@ -18,0 +18,0 @@ private stride; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var glUtils = require("./utils"); | ||
var AttribList = (function () { | ||
var AttribList = /** @class */ (function () { | ||
function AttribList(gl, data) { | ||
@@ -6,0 +6,0 @@ this.gl = gl; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var CanvasPool = (function () { | ||
var CanvasPool = /** @class */ (function () { | ||
function CanvasPool() { | ||
@@ -5,0 +5,0 @@ this.pool = []; |
@@ -6,3 +6,3 @@ export interface DataOption { | ||
export declare class IndexBuffer { | ||
private gl; | ||
readonly gl: WebGLRenderingContext; | ||
private name; | ||
@@ -9,0 +9,0 @@ private usage; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var glUtils = require("./utils"); | ||
var IndexBuffer = (function () { | ||
var IndexBuffer = /** @class */ (function () { | ||
function IndexBuffer(gl, dataOption) { | ||
@@ -6,0 +6,0 @@ this.gl = gl; |
import { AttribList } from './attrib_list'; | ||
export declare class Program { | ||
private gl; | ||
readonly gl: WebGLRenderingContext; | ||
private vertSource; | ||
@@ -5,0 +5,0 @@ private fragSource; |
@@ -5,3 +5,3 @@ "use strict"; | ||
var tuple_map_1 = require("@hscmap/tuple-map"); | ||
var Program = (function () { | ||
var Program = /** @class */ (function () { | ||
function Program(gl, vertSource, fragSource) { | ||
@@ -8,0 +8,0 @@ this.gl = gl; |
export declare type ImageLike = HTMLImageElement | HTMLCanvasElement | ImageData; | ||
export declare class Texture { | ||
private gl; | ||
readonly gl: WebGLRenderingContext; | ||
readonly name: WebGLTexture; | ||
@@ -5,0 +5,0 @@ constructor(gl: WebGLRenderingContext, parameterSetter?: (gl: WebGLRenderingContext) => void); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var glUtils = require("./utils"); | ||
var Texture = (function () { | ||
var Texture = /** @class */ (function () { | ||
function Texture(gl, parameterSetter) { | ||
@@ -6,0 +6,0 @@ var _this = this; |
{ | ||
"name": "@hscmap/gl-wrapper", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"main": "./lib/index.js", | ||
@@ -8,18 +8,19 @@ "types": "./lib/index.d.ts", | ||
"prepublish": "tsc", | ||
"example": "webpack --context example --config ./example/webpack.config.js", | ||
"example-server": "webpack-dev-server --context example --config ./example/webpack.config.js" | ||
"example": "webpack --context example --config ./example/webpack.config.js --mode production", | ||
"example-server": "webpack-dev-server --context example --config ./example/webpack.config.js --mode development" | ||
}, | ||
"devDependencies": { | ||
"@types/sprintf-js": "0.0.27", | ||
"file-loader": "^0.11.2", | ||
"gh-pages": "^1.0.0", | ||
"@types/sprintf-js": "^1.1.0", | ||
"file-loader": "^1.1.11", | ||
"gh-pages": "^1.1.0", | ||
"raw-loader": "^0.5.1", | ||
"ts-loader": "^2.3.2", | ||
"ts-node": "^3.3.0", | ||
"typescript": "^2.4.2", | ||
"webpack": "^3.4.1", | ||
"webpack-dev-server": "^2.6.1" | ||
"ts-loader": "^4.0.1", | ||
"ts-node": "^5.0.1", | ||
"typescript": "^2.7.2", | ||
"webpack": "^4.1.1", | ||
"webpack-cli": "^2.0.12", | ||
"webpack-dev-server": "^3.1.1" | ||
}, | ||
"dependencies": { | ||
"@hscmap/tuple-map": "latest", | ||
"@hscmap/tuple-map": "0.0.3", | ||
"sprintf-js": "^1.1.1" | ||
@@ -26,0 +27,0 @@ }, |
21113
10
Updated@hscmap/tuple-map@0.0.3