Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Lamp::SpriteState Class Reference

スプライトステート More...

#include <SpriteState.h>

Inheritance diagram for Lamp::SpriteState:

Lamp::SpriteRequest Lamp::AddressModeSpriteState Lamp::BlendSpriteState Lamp::ColorSpriteState Lamp::ViewportSpriteState List of all members.

Public Member Functions

 SpriteState ()
 コンストラクタ

virtual ~SpriteState ()
 デストラクタ

virtual const SpriteRequestgetDefaultState () const=0
 デフォルトステートの取得

virtual void render (SpriteRenderState *renderState)
 レンダリング

virtual void apply (SpriteRenderState *renderState)=0
 適用

virtual bool isSpriteState () const
 スプライトステートかどうか


Detailed Description

スプライトステート

Definition at line 36 of file SpriteState.h.


Member Function Documentation

virtual void Lamp::SpriteState::apply SpriteRenderState renderState  )  [pure virtual]
 

適用

Parameters:
renderState レンダーステート

Implemented in Lamp::AddressModeSpriteState, Lamp::BlendSpriteState, Lamp::ColorSpriteState, and Lamp::ViewportSpriteState.

Referenced by render().

virtual const SpriteRequest* Lamp::SpriteState::getDefaultState  )  const [pure virtual]
 

デフォルトステートの取得

Returns:
デフォルトステート

Implemented in Lamp::AddressModeSpriteState, Lamp::BlendSpriteState, Lamp::ColorSpriteState, and Lamp::ViewportSpriteState.

Referenced by Lamp::SpriteStateBlock::~SpriteStateBlock().

virtual bool Lamp::SpriteState::isSpriteState  )  const [inline, virtual]
 

スプライトステートかどうか

Returns:
スプライトステートならtrue

Reimplemented from Lamp::SpriteRequest.

Definition at line 82 of file SpriteState.h.

void Lamp::SpriteState::render SpriteRenderState renderState  )  [virtual]
 

レンダリング

Parameters:
renderState レンダーステート

Implements Lamp::SpriteRequest.

Definition at line 45 of file SpriteState.cpp.

References apply(), and Lamp::SpriteRenderState::render().


The documentation for this class was generated from the following files:
Generated on Wed Mar 16 10:29:52 2005 for Lamp by doxygen 1.3.2