createTexture method

InternalTexture createTexture(
  1. String url,
  2. bool noMipmap,
  3. bool invertY,
  4. ISceneLike scene, [
  5. num samplingMode,
  6. void onLoad(),
  7. void onError(
    1. String message,
    2. dynamic exception
    ),
  8. dynamic buffer,
  9. InternalTexture fallback,
  10. num format,
  11. String forcedExtension,
  12. String mimeType,
  13. dynamic loaderOptions,
])
override

Implementation

external InternalTexture createTexture(String url, bool noMipmap, bool invertY, ISceneLike scene, [num samplingMode, void Function() onLoad, void Function(String message, dynamic exception) onError, dynamic buffer, InternalTexture fallback, num format, String forcedExtension, String mimeType, dynamic loaderOptions]);