Skip to content

RWTexture (0x0006)

A texture section is used to store identifying information about a texture and it's alpha layer. - gtamodding

It is usually the child of a RWMaterial section. It has one to two RWString sections which define the color/alpha texture filename.

Structure format

Size Type Description
1b enum filterMode (see below)
4bit enum U addressing mode (see below)
4bit enum V addressing mode (see below)
15bit uint unused

filterMode enum

Name Value
NAFilterMode 0
Nearest 1
Linear 2
MipNearest 3
MipLinear 4
LinearMipNearest 5
LinearMipLinear 6

U/V addressing mode

Name Value
NATextureAddresss 0
Wrap 1
Mirror 2
Clamp 3
Border 4

Possible child sections