RenderableTargetingEntities Class Reference

#include <targetable.h>

Public Member Functions

 RenderableTargetingEntities (const TargetingEntities &targets)
void compile (const VolumeTest &volume, const Vector3 &world_position) const
void render (Renderer &renderer, const VolumeTest &volume, const Vector3 &world_position) const

Static Public Attributes

static Shader * m_state

Private Attributes

const TargetingEntitiesm_targets
RenderablePointVector m_target_lines

Detailed Description

Definition at line 285 of file targetable.h.


Constructor & Destructor Documentation

RenderableTargetingEntities::RenderableTargetingEntities ( const TargetingEntities targets  )  [inline]

Definition at line 292 of file targetable.h.


Member Function Documentation

void RenderableTargetingEntities::compile ( const VolumeTest volume,
const Vector3 world_position 
) const [inline]

Definition at line 296 of file targetable.h.

References m_target_lines, m_targets, and TargetingEntities_forEach().

Referenced by render().

void RenderableTargetingEntities::render ( Renderer renderer,
const VolumeTest volume,
const Vector3 world_position 
) const [inline]

Definition at line 301 of file targetable.h.

References Renderer::addRenderable(), compile(), m_target_lines, and m_targets.

Referenced by TargetableInstance::render().


Field Documentation

Definition at line 290 of file targetable.h.

RenderablePointVector RenderableTargetingEntities::m_target_lines [mutable, private]

Definition at line 288 of file targetable.h.

Referenced by compile(), and render().

Definition at line 287 of file targetable.h.

Referenced by compile(), and render().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2