You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
568 B

  1. unit aiTexture;
  2. interface
  3. type TaiTexel = packed record
  4. b, g, r, a: byte;
  5. end;
  6. PaiTexel = ^TaiTexel;
  7. TaiTexelArray = array[0..0] of TaiTexel;
  8. PaiTexelArray = ^TaiTexelArray;
  9. type TaiTexture = packed record
  10. mWidth: Cardinal; //width in pixels, OR total embedded file size if texture is a jpg/png/etc
  11. mHeight: Cardinal; //0 if texture is an embedded file
  12. achFormatHint: array[0..3] of byte;
  13. pcData: PaiTexelArray;
  14. end;
  15. PaiTexture = ^TaiTexture;
  16. PaiTextureArray = array [0..0] of PaiTexture;
  17. PPaiTextureArray = ^PaiTextureArray;
  18. implementation
  19. end.