glre 0.40.0 → 0.41.0

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/addons.d.ts CHANGED
@@ -123,10 +123,10 @@ type GL = EventState<{
123
123
  uniform(target: {
124
124
  [key: string]: Uniform;
125
125
  }): GL;
126
- _texture?(key: string, value: string): GL;
127
- texture(key: string, value: string): GL;
126
+ _texture?(key: string, value: Texture$1): GL;
127
+ texture(key: string, value: Texture$1): GL;
128
128
  texture(target: {
129
- [key: string]: string;
129
+ [key: string]: Texture$1;
130
130
  }): GL;
131
131
  _attribute?(key: string, value: Attribute, iboValue?: Attribute): GL;
132
132
  attribute(key: string, value: Attribute, iboValue?: Attribute): GL;
@@ -145,6 +145,7 @@ type GL = EventState<{
145
145
  }): GL;
146
146
  }>;
147
147
  type Uniform = number | number[] | Float32Array;
148
+ type Texture$1 = string | HTMLImageElement | HTMLVideoElement;
148
149
  type Attribute = number[] | Float32Array;
149
150
  type Storage = number[] | Float32Array;
150
151
  /**