Difference between revisions of "Texture (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{RW Section|Texture|0x0006}}
 
{{RW Section|Texture|0x0006}}
  
'''Texture''' is a container section used in [[model file|DFF files]] as child of a [[Material (RW Section)|Material]] section. It is normally accompanied by a [[Struct (RW Section)#Texture|Struct]] section.
+
'''Texture''' is a container section used in [[model file|DFF files]] as child of a [[Material (RW Section)|material section]] or an [[Material Effects PLG (RW Section)|Material Effects PLG]] section. The section itself does not store any data at all. All additional information get stored inside a [[Struct (RW Section)|struct section]] which directly follows this one as a child. A ''texture'' section is used to store identifying information about a texture and it's alpha layer.
 +
 
 +
== Structure ==
 +
 
 +
The structure stores filtering information for the texture.
 +
 
 +
2b - WORD  - Filter flags
 +
2b - WORD  - Unknown (Platform?)
 +
 
 +
== Child sections ==
 +
 
 +
There are always child sections which appear in the order they are listed here.
 +
 
 +
* [[String (RW Section)|String]] – Holds the texture's name
 +
* [[String (RW Section)|String]] – Holds the texture's alpha layer name.
 +
 
 +
=== Extension ===
 +
 
 +
The section can also hold an extension which usualy holds an ''Sky Mipmap Val''.
 +
 
 +
* [[Sky Mipmap Val (RW Section)|Sky Mipmap Val]]
 +
 
 +
== See also ==
 +
* [[Material (RW Section)|Material]]
 +
* [[Material Effects PLG (RW Section)|Material Effects PLG]]
 +
* [[RenderWare_binary_stream_file|RW file format specification]]
 +
 
 +
{{N|SA|VC}}
 +
[[Category:GTA_3]]

Revision as of 10:41, 30 October 2010

{{{NAME}}}
RenderWare Stream Section
Vendor {{{VENDORNAME}}}
Module {{{MODULENAME}}}
Module ID 0x{{{MODULEID}}}
Identifier 0x{{{IDENTIFIER}}}
Chunk ID 0x{{{MODULEID}}}{{{IDENTIFIER}}}
Versions All
Hierarchy
Parents:
None
Children:
None
Extensions:
None
File Format

Texture is a container section used in DFF files as child of a material section or an Material Effects PLG section. The section itself does not store any data at all. All additional information get stored inside a struct section which directly follows this one as a child. A texture section is used to store identifying information about a texture and it's alpha layer.

Structure

The structure stores filtering information for the texture.

2b - WORD   - Filter flags
2b - WORD   - Unknown (Platform?)

Child sections

There are always child sections which appear in the order they are listed here.

  • String – Holds the texture's name
  • String – Holds the texture's alpha layer name.

Extension

The section can also hold an extension which usualy holds an Sky Mipmap Val.

See also