VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtInstanceLodProcessor Class Reference

Instance processor to apply LODs to instanced drawables. More...

Inheritance diagram for makVrv::DtInstanceLodProcessor:
Inheritance graph
[legend]

Public Member Functions

 DtInstanceLodProcessor (DtInstanceManager &instanceManager)
 CTOR.
virtual ~DtInstanceLodProcessor ()
 DTOR.
virtual void processRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount)
 Process the specified range of instances, with drawable data separated by instanceStride.
- Public Member Functions inherited from makVrv::DtInstanceProcessor
virtual ~DtInstanceProcessor ()
 DTOR.

Protected Member Functions

void updateLodRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount)
 LOD the specified range of instances, with drawable data separated by instanceStride.
void updateLods (float dist, unsigned int drawableOffset, const ArrayRange &lodRange)
 Apply the specified LOD range to drawables starting at drawableOffset, for specified dist from eyepoint.

Protected Attributes

DtInstanceManagermyInstanceManager

Detailed Description

Instance processor to apply LODs to instanced drawables.

Constructor & Destructor Documentation

makVrv::DtInstanceLodProcessor::DtInstanceLodProcessor ( DtInstanceManager instanceManager)

CTOR.

virtual makVrv::DtInstanceLodProcessor::~DtInstanceLodProcessor ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtInstanceLodProcessor::processRange ( unsigned int  instanceStride,
unsigned int  instanceOffset,
unsigned int  instanceCount 
)
virtual

Process the specified range of instances, with drawable data separated by instanceStride.

Implements makVrv::DtInstanceProcessor.

void makVrv::DtInstanceLodProcessor::updateLodRange ( unsigned int  instanceStride,
unsigned int  instanceOffset,
unsigned int  instanceCount 
)
protected

LOD the specified range of instances, with drawable data separated by instanceStride.

void makVrv::DtInstanceLodProcessor::updateLods ( float  dist,
unsigned int  drawableOffset,
const ArrayRange lodRange 
)
protected

Apply the specified LOD range to drawables starting at drawableOffset, for specified dist from eyepoint.

Member Data Documentation

DtInstanceManager& makVrv::DtInstanceLodProcessor::myInstanceManager
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)