MCPcopy Create free account
hub / github.com/microsoft/SandDance / Texture1

Function Texture1

docs/app/js/sanddance-app.js:60855–60876  ·  view source on GitHub ↗
(gl, props)

Source from the content-addressed store, hash-verified

60853 }
60854 ]);
60855 function Texture1(gl, props) {
60856 var _this;
60857 (0, _classCallCheckDefault.default)(this, Texture1);
60858 var _props$id = props.id, id = _props$id === void 0 ? (0, _utils.uid)("texture") : _props$id, handle = props.handle, target = props.target;
60859 _this = (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(Texture1).call(this, gl, {
60860 id: id,
60861 handle: handle
60862 }));
60863 _this.target = target;
60864 _this.textureUnit = undefined;
60865 _this.loaded = false;
60866 _this.width = undefined;
60867 _this.height = undefined;
60868 _this.depth = undefined;
60869 _this.format = undefined;
60870 _this.type = undefined;
60871 _this.dataFormat = undefined;
60872 _this.border = undefined;
60873 _this.textureUnit = undefined;
60874 _this.mipmaps = undefined;
60875 return _this;
60876 }
60877 (0, _createClassDefault.default)(Texture1, [
60878 {
60879 key: "toString",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected