Difference between revisions of "Right To Render (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 17: Line 17:
 
* [[Skin PLG (RW Section)|Skin]]
 
* [[Skin PLG (RW Section)|Skin]]
 
* [[Material Effects PLG (RW Section)|Material Effects PLG]]
 
* [[Material Effects PLG (RW Section)|Material Effects PLG]]
* [[RenderWare_binary_stream_file]]
+
* [[RenderWare binary stream file]]
  
 
{{N|SA|VC}}
 
{{N|SA|VC}}
 
[[Category:GTA_3]]
 
[[Category:GTA_3]]

Revision as of 08:26, 26 May 2016

{{{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

Right To Render is a extension to a Atomic section within the RenderWare binary stream file format. It is used to enable additional capabilities during the rendering process.

Binary structure

The section is typically 8 byte in size, containing two values that represent settings for the rendering process.

 4b - DWORD   - RW section identifier (e.g. 0x0116 or 0x0120)
 4b - BOOL    - Applies to geometry (0 if the section identifier equals 0x0120, 1 if it is 0x0116)

If the section identifier states that there may be a Material Effects section, there is typically another Material Effects section defined as extension for the atomic. Note that neither the Right To Render nor the Material Effects extension for the atomic are an indicator for the existence of a Material Effects section for the geometries material(s), or a Skin. However, those sections do not work, if the Right To Render is not set.

See also