 class Jax.Texture
   @include Jax.Mixins.Attributes
   @include Jax.Mixins.EventEmitter
-
-  # Texture params flags, for tracking params needing refreshed
-  FLAGS =
-    texture_validity:      0x0001
-    min_filter:            0x0002
-    mag_filter:            0x0004
-    generate_mipmap:       0x0008
-    mipmap_hint:           0x0010
-    format:                0x0020
-    target:                0x0040
-    data_type:             0x0080
-    wrap_s:                0x0100
-    wrap_t:                0x0200
-    flip_y:                0x0400
-    premultiply_alpha:     0x0800
-    colorspace_conversion: 0x1000
-    data:                  0x2000
 
   constructor: (options) ->
     @initializeAttributes()

  invalid, and also makes a note as to which parameters must be refreshed.
  ###
  texParamChanged: (self, evtName) =>
    param = evtName.substring(evtName.indexOf('change:')+7, evtName.length)
    @invalidate param

  ###
  Finds or creates and then returns the texture handle for the given context.

  updated.
  ###
  invalidate: (param) ->
    @set 'valid', false

  ###
  Returns true if this texture is valid for rendering, false otherwise.
