Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_lod_filter.h File Reference

Specifies level of detail filter. More...

Functions

kzsError kzuLODFilterCreate (const struct KzcMemoryManager *memoryManager, struct KzuUIDomain *uiDomain, struct KzuObjectSource *input, kzString name, struct KzuObjectSource **out_objectSource)
 Creates level of detail filter. More...
 

Detailed Description

Specifies level of detail filter.

Level of detail filter filters any undesired level of detail object nodes that occur.

Basic functionality for LOD filter:

1) Loop through scene graph, search for LOD nodes. 2) Add child nodes recursively to hash map. 3) When applying filter

  • If node was not found from hash map, nothing is filtered.
  • If node was found, see the hash map value and if LOD constraint is fulfilled, nothing is filtered, otherwise node is selected away.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuLODFilterCreate ( const struct KzcMemoryManager memoryManager,
struct KzuUIDomain uiDomain,
struct KzuObjectSource input,
kzString  name,
struct KzuObjectSource **  out_objectSource 
)

Creates level of detail filter.