function createTexture(batchTable, context) {
  const dimensions = batchTable._textureDimensions;
  batchTable._texture = new Texture({
    context: context,
    pixelFormat: PixelFormat.RGBA,
    pixelDatatype: batchTable._pixelDatatype,
    width: dimensions.x,
    height: dimensions.y,
    sampler: Sampler.NEAREST,
    flipY: false,
  });
}
Sets the value of an attribute in the table.

@param {number} instanceIndex The index of the instance.
@param {number} attributeIndex The index of the attribute.
@param {number|Cartesian2|Cartesian3|Cartesian4} value The value to be stored in the table. The type of value will depend on the number of components of the attribute.

@exception {DeveloperError} instanceIndex is out of range.
@exception {DeveloperError} attributeIndex is out of range.