Right To Render (RW Section)

From GTAMods Wiki
Revision as of 08:26, 26 May 2016 by Aschratt (talk | contribs) (Created page with "{{RW Section|Right To Render|0x001F}} '''Right To Render''' is a extension to a Atomic section within the RenderWare binary stream file format. It...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{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