Dart DocumentationthreeWebGLImageList

WebGLImageList class

class WebGLImageList { // implements ImageList
 ImageList _imageList;
 var webglTextureCube;

 WebGLImageList._internal(ImageList imageList) : _imageList = imageList;

 factory WebGLImageList(ImageList imageList) {
   if (imageList.props["__webglImageList"] == null) {
     var __webglImageList = new WebGLImageList._internal(imageList);
     imageList.props["__webglImageList"] = __webglImageList;
   }

   return imageList.props["__webglImageList"];

 }

 ImageElement operator [](int index) => _imageList[index];
 void operator []=(int index, ImageElement img) { _imageList[index] = img; }
 int get length => _imageList.length;

}

Constructors

factory WebGLImageList(ImageList imageList) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
factory WebGLImageList(ImageList imageList) {
 if (imageList.props["__webglImageList"] == null) {
   var __webglImageList = new WebGLImageList._internal(imageList);
   imageList.props["__webglImageList"] = __webglImageList;
 }

 return imageList.props["__webglImageList"];

}

Properties

final int length #

int get length => _imageList.length;

var webglTextureCube #

var webglTextureCube

Operators

ImageElement operator [](int index) #

ImageElement operator [](int index) => _imageList[index];

void operator []=(int index, ImageElement img) #

void operator []=(int index, ImageElement img) { _imageList[index] = img; }