Module: Shader::CreatureShaderLoader

Included in:
BattleUI::PokemonSprite, CreatureShaderForCreatureFaceSpriteHelper
Defined in:
docs/4_Systems_000_General_4_UI_Generics.rb

Instance Method Summary collapse

Instance Method Details

#find_shader_id(creature) ⇒ Symbol

Get the ID of the shader to load

Parameters:

Returns:

  • (Symbol)


1159
1160
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1159

def find_shader_id(creature)
end

#load_shader(creature)

Load the shader when the Creature gets assigned

Parameters:



1150
1151
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1150

def load_shader(creature)
end

#load_shader_properties(creature)

Load the shader properties (based on @__csl_shader_id and creature)

Parameters:



1154
1155
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1154

def load_shader_properties(creature)
end