Module ssbh_lib::formats::nufx[][src]

Expand description

The Nufx format stores data about the shader programs used for rendering. These files typically use the “.nufxlb” suffix like “nuc2effectlibrary.nufxlb”. Nufx files reference required attributes from Mesh files and required parameters from Matl files.

Structs

MaterialParameter

A required material parameter. The param_id and parameter_name match one of the variants in ParamId.

Nufx

A shader effects library that describes shader programs and their associated inputs. Compatible with file version 1.0 and 1.1.

ShaderProgram

Describes the name and associated information for a set of compiled shaders linked into a program. Each ShaderProgram has a corresponding shader program object in the underlying rendering API such as OpenGL, Vulkan, etc.

ShaderStages

Describes the shaders used for each of the stages in the rendering pipeline.

UnkItem
VertexAttribute

A required vertex attribute. The name and attribute_name should match the values for a corresponding MeshAttributeV10.