Difference between revisions of "Image (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
struct rwImage {
 
struct rwImage {
 
     RwRGBA pixelRGBA[numPixels] (RwRGBA: uint8 r, g, b, a);
 
     RwRGBA pixelRGBA[numPixels] (RwRGBA: uint8 r, g, b, a);
     unsigned int stringLength;
+
     int32 stringLength;
 
     string textureName;
 
     string textureName;
 
};
 
};

Revision as of 07:35, 24 October 2023

Image
RenderWare Stream Section
Vendor Criterion Games
Module Core
Module ID 0x000000
Identifier 0x18
Chunk ID 0x00000018
Versions All
Hierarchy
Parents:
None
Children:
None
Extensions:
None
File Format

An Image is a section containing sampler data stored for an individual texture.

Structure

struct rwImage {
    RwRGBA pixelRGBA[numPixels] (RwRGBA: uint8 r, g, b, a);
    int32 stringLength;
    string textureName;
};

See Also