Skip to content

Struct rayx::NffTable

ClassList > rayx > NffTable

More...

  • #include <NffTable.h>

Public Attributes

Type Name
std::vector< NffEntry > m_Lines
std::string m_element

Public Static Functions

Type Name
bool load (const char * element, NffTable * out)

Detailed Description

This struct represents the contents of a .NKP file.

Example usage:

NffTable cu; bool success = NffTable::load("CU", &cu); // the refractive index table for copper!

Public Attributes Documentation

variable m_Lines

std::vector<NffEntry> rayx::NffTable::m_Lines;

variable m_element

std::string rayx::NffTable::m_element;

Public Static Functions Documentation

function load

static bool rayx::NffTable::load (
    const char * element,
    NffTable * out
) 

loads the .NKP file of the element element and writes it's contents to out



The documentation for this class was generated from the following file Intern/rayx-core/src/Material/NffTable.h