Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.Misc.ShaderHelpers Class Reference

Assorted static "helper" functions pertaining to shaders. More...

Static Public Member Functions

static int GetShaderIdByDyeItemType (int itemType)
 Generalized getter for shader ids from item types. More...
 

Detailed Description

Assorted static "helper" functions pertaining to shaders.

Definition at line 9 of file ShaderHelpers.cs.

Member Function Documentation

◆ GetShaderIdByDyeItemType()

static int HamstarHelpers.Helpers.Misc.ShaderHelpers.GetShaderIdByDyeItemType ( int  itemType)
static

Generalized getter for shader ids from item types.

Parameters
itemType
Returns
-1 if no shader id exists for the given item.

Definition at line 15 of file ShaderHelpers.cs.


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