setTexture method

SetonixData setTexture(
  1. String texture,
  2. Uint8List data
)

Implementation

SetonixData setTexture(String texture, Uint8List data) => setAsset(
      '$kPackTexturesPath/$texture',
      data,
    );