RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
Hydrax::MaterialManager::Options Struct Reference

Material options. More...

#include <MaterialManager.h>

Public Member Functions

 Options ()
 Default constructor. More...
 
 Options (const ShaderMode &_SM, const NormalMode &_NM)
 Constructor. More...
 

Data Fields

ShaderMode SM
 Shader mode. More...
 
NormalMode NM
 Normal map generation mode. More...
 

Detailed Description

Material options.

Definition at line 112 of file MaterialManager.h.

Constructor & Destructor Documentation

◆ Options() [1/2]

Hydrax::MaterialManager::Options::Options ( )
inline

Default constructor.

Definition at line 116 of file MaterialManager.h.

◆ Options() [2/2]

Hydrax::MaterialManager::Options::Options ( const ShaderMode _SM,
const NormalMode _NM 
)
inline

Constructor.

Parameters
_SMShader mode
_NMNormal generation mode

Definition at line 126 of file MaterialManager.h.

Field Documentation

◆ NM

NormalMode Hydrax::MaterialManager::Options::NM

Normal map generation mode.

Definition at line 136 of file MaterialManager.h.

◆ SM

ShaderMode Hydrax::MaterialManager::Options::SM

Shader mode.

Definition at line 134 of file MaterialManager.h.


The documentation for this struct was generated from the following file: