TextureBox constructor

TextureBox({@required int textureId })

Creates a box backed by the texture identified by textureId.

Implementation

TextureBox({ @required int textureId }) : assert(textureId != null), _textureId = textureId;