Module technology.sola.engine
Class BlendModeComponent
java.lang.Object
technology.sola.engine.graphics.components.BlendModeComponent
- All Implemented Interfaces:
technology.sola.ecs.Component
-
Constructor Summary
ConstructorsConstructorDescriptionBlendModeComponent
(BlendFunction blendFunction) Creates a new instance initialized to aBlendFunction
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setBlendFunction
(BlendFunction blendFunction) Sets theBlendFunction
to be used.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface technology.sola.ecs.Component
afterDeserialize
-
Constructor Details
-
BlendModeComponent
Creates a new instance initialized to aBlendFunction
.- Parameters:
blendFunction
- the initialBlendFunction
-
-
Method Details
-
getBlendFunction
- Returns:
- the current
BlendMode
-
setBlendFunction
Sets theBlendFunction
to be used.- Parameters:
blendFunction
- the newBlendFunction
-