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 TypeMethodDescriptionvoidsetBlendFunction(BlendFunction blendFunction) Sets theBlendFunctionto be used.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 theBlendFunctionto be used.- Parameters:
blendFunction- the newBlendFunction
-