Image (RW Section)
Jump to navigation
Jump to search
Image | |
---|---|
RenderWare Stream Section | |
Vendor | Criterion Games |
Module | Core |
Module ID | 0x000000
|
Identifier | 0x18
|
Chunk ID | 0x00000018
|
Versions | All |
Hierarchy | |
Parents: None | |
Children: Struct | |
Extensions: None | |
File Format |
An Image is a section containing image sampler data stored for an individual texture, separated from the Texture Dictionary section.
Structure
In this binary stream, is the struct properties stored within the texture image.
Int32 - width; Int32 - height; Int32 - depth; Int32 - rasterFormat;
struct rwImage {
RwRGBA pixelRGBA[numPixels] (RwRGBA: uint8 r, g, b, a);
int32 stringLength;
string textureName;
};