Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | List of all members
MaterialBasedOnGraphicsSetting Class Reference
Inheritance diagram for MaterialBasedOnGraphicsSetting:

Classes

class  MaterialSwapInformation
 Information for materials to be swapped in depending on shader quality setting. More...
 

Public Member Functions

void ApplyMaterials ()
 Applies the materials depending on the current shader quality setting More...
 

Public Attributes

List< MaterialSwapInformationmaterialSwaps
 List of the materials to be swapped in More...
 
bool updateWhenGameSettingsApplied = false
 Update the materials when game settings are applied. Off by default for performance reasons. More...
 

Member Function Documentation

void MaterialBasedOnGraphicsSetting.ApplyMaterials ( )
inline

Applies the materials depending on the current shader quality setting

Member Data Documentation

List<MaterialSwapInformation> MaterialBasedOnGraphicsSetting.materialSwaps

List of the materials to be swapped in

bool MaterialBasedOnGraphicsSetting.updateWhenGameSettingsApplied = false

Update the materials when game settings are applied. Off by default for performance reasons.


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