#include <ColorSpriteState.h>
Inheritance diagram for Lamp::ColorSpriteState:
Public Member Functions | |
ColorSpriteState () | |
コンストラクタ | |
ColorSpriteState (const Color4f &color) | |
コンストラクタ | |
virtual | ~ColorSpriteState () |
デストラクタ | |
virtual const SpriteRequest * | getDefaultState () const |
デフォルトステートの取得 | |
virtual void | apply (SpriteRenderState *renderState) |
適用 | |
virtual void | setColor (const Color4f &color) |
色の設定 | |
virtual const Color4f & | getColor () const |
色の取得 | |
Static Public Attributes | |
const ColorSpriteState | whiteState |
白 | |
const ColorSpriteState | grayState |
灰色 | |
const ColorSpriteState | blackState |
黒 | |
const ColorSpriteState | redState |
赤 | |
const ColorSpriteState | greenState |
緑 | |
const ColorSpriteState | blueState |
青 | |
const ColorSpriteState | yellowState |
黄 | |
const ColorSpriteState | cyanState |
青緑 | |
const ColorSpriteState | magentaState |
赤紫 | |
const ColorSpriteState | defaultState |
デフォルト |
Definition at line 36 of file ColorSpriteState.h.
|
コンストラクタ
Definition at line 67 of file ColorSpriteState.cpp. |
|
適用
Implements Lamp::SpriteState. Definition at line 77 of file ColorSpriteState.cpp. References Lamp::Color4f::a, Lamp::Color4f::b, Lamp::Color4f::g, Lamp::Color4c::getARGB(), Lamp::Color4f::r, and Lamp::RenderingDevice::setRenderState(). |
|
色の取得
Definition at line 123 of file ColorSpriteState.h. |
|
デフォルトステートの取得
Implements Lamp::SpriteState. Definition at line 97 of file ColorSpriteState.h. References defaultState. |
|
色の設定
Definition at line 117 of file ColorSpriteState.h. |