@@ -114,8 +114,6 @@ class Texture {
114
114
* Initializes common texture parameters, creates a gl texture,
115
115
* tries to upload the texture for the first time if data is
116
116
* already available.
117
- * @private
118
- * @method init
119
117
*/
120
118
init ( data ) {
121
119
const gl = this . _renderer . GL ;
@@ -172,7 +170,6 @@ class Texture {
172
170
* easy to do so) and reuploads the texture if necessary. If it's not
173
171
* possible or to expensive to do a calculation to determine wheter or
174
172
* not the data has occurred, this method simply re-uploads the texture.
175
- * @method update
176
173
*/
177
174
update ( ) {
178
175
const data = this . src ;
@@ -271,7 +268,6 @@ class Texture {
271
268
272
269
/**
273
270
* Binds the texture to the appropriate GL target.
274
- * @method bindTexture
275
271
*/
276
272
bindTexture ( ) {
277
273
// bind texture using gl context + glTarget and
@@ -284,7 +280,6 @@ class Texture {
284
280
285
281
/**
286
282
* Unbinds the texture from the appropriate GL target.
287
- * @method unbindTexture
288
283
*/
289
284
unbindTexture ( ) {
290
285
// unbind per above, disable texturing on glTarget
@@ -304,7 +299,6 @@ class Texture {
304
299
* Sets how a texture is be interpolated when upscaled or downscaled.
305
300
* Nearest filtering uses nearest neighbor scaling when interpolating
306
301
* Linear filtering uses WebGL's linear scaling when interpolating
307
- * @method setInterpolation
308
302
* @param {String } downScale Specifies the texture filtering when
309
303
* textures are shrunk. Options are LINEAR or NEAREST
310
304
* @param {String } upScale Specifies the texture filtering when
@@ -337,7 +331,6 @@ class Texture {
337
331
* when their uv's go outside of the 0 - 1 range. There are three options:
338
332
* CLAMP, REPEAT, and MIRROR. REPEAT & MIRROR are only available if the texture
339
333
* is a power of two size (128, 256, 512, 1024, etc.).
340
- * @method setWrapMode
341
334
* @param {String } wrapX Controls the horizontal texture wrapping behavior
342
335
* @param {String } wrapY Controls the vertical texture wrapping behavior
343
336
*/
0 commit comments