Skip to content

ludus::content::scene_format::MaterialExtensionV7

Ludus Wiki · API overview · Browse API

Struct

Version 7 extension field order, serialized individually without host padding.

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

#include <ludus/content/scene_format/luscn.h>
struct ludus::content::scene_format::MaterialExtensionV7 final

Fields

SourceIdentity

uint32 ludus::content::scene_format::MaterialExtensionV7::SourceIdentity
Source command index plus one, zero for non-source-authored materials.

Related types: uint32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

NameBytes

uint32 ludus::content::scene_format::MaterialExtensionV7::NameBytes
Counted UTF-8 bytes, at most MAX_MATERIAL_NAME_BYTES.

Related types: uint32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

Name

char ludus::content::scene_format::MaterialExtensionV7::Name[MAX_MATERIAL_NAME_BYTES][MAX_MATERIAL_NAME_BYTES]
Name bytes followed by zero padding; inline materials may have no name.

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

Model

uint32 ludus::content::scene_format::MaterialExtensionV7::Model

Related types: uint32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

Reflectance

float32 ludus::content::scene_format::MaterialExtensionV7::Reflectance[MATERIAL_RGB_CHANNELS][MATERIAL_RGB_CHANNELS]
Linear RGB factor multiplying the base texture; [0,1].

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

Eta

float32 ludus::content::scene_format::MaterialExtensionV7::Eta[MATERIAL_RGB_CHANNELS][MATERIAL_RGB_CHANNELS]
Real complex-IOR part.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

K

float32 ludus::content::scene_format::MaterialExtensionV7::K[MATERIAL_RGB_CHANNELS][MATERIAL_RGB_CHANNELS]
Imaginary complex-IOR part.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

AlphaU

float32 ludus::content::scene_format::MaterialExtensionV7::AlphaU
Resolved GGX alpha, preserving remaproughness=false semantics.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

AlphaV

float32 ludus::content::scene_format::MaterialExtensionV7::AlphaV
Resolved GGX alpha in the second tangent direction.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

CoatingEta

float32 ludus::content::scene_format::MaterialExtensionV7::CoatingEta
Retained dielectric coating IOR.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h

CoatingThickness

float32 ludus::content::scene_format::MaterialExtensionV7::CoatingThickness
Retained PBRT layer optical thickness.

Related types: float32

Declared in modules/content/scene_format/include/ludus/content/scene_format/luscn.h