Module: Shader::CreatureShaderLoader

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

Overview

Module to load Creature Shaders based on the Creature assigned

Instance Method Summary collapse

Instance Method Details

#find_shader_id(creature) ⇒ Symbol

Get the ID of the shader to load

Parameters:

Returns:

  • (Symbol)


1280
1281
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1280

def find_shader_id(creature)
end

#load_shader(creature)

Load the shader when the Creature gets assigned

Parameters:



1271
1272
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1271

def load_shader(creature)
end

#load_shader_properties(creature)

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

Parameters:



1275
1276
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1275

def load_shader_properties(creature)
end