iGeneralFactorySubMesh Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iGeneralFactorySubMesh Struct Reference
Mesh plugins

A submesh of a genmesh factory. More...

`#include <imesh/genmesh.h>`

Inheritance diagram for iGeneralFactorySubMesh:

List of all members.

## Public Member Functions
virtual void | AddSlidingWindow (int start_index, int end_index)=0
| Add a sliding window for progressive LODs.
virtual void | ClearSlidingWindows ()=0
| Clear progressive LOD sliding windows.
virtual void | GetSlidingWindow (unsigned int index, int &out_start_index, int &out_end_index) const =0
| Return the start index and end index of the sliding window indicated by index.
virtual int | GetSlidingWindowSize () const =0
| Get the number of LOD sliding windows for progressive LODs.

## Detailed Description

A submesh of a genmesh factory.

Definition at line 51 of file genmesh.h.

## Member Function Documentation

virtual void iGeneralFactorySubMesh::AddSlidingWindow | ( | int | start_index,
|  | int | end_index
| ) |  | `[pure virtual]`

Add a sliding window for progressive LODs.

virtual void iGeneralFactorySubMesh::ClearSlidingWindows | ( |  | ) | `[pure virtual]`

Clear progressive LOD sliding windows.

virtual void iGeneralFactorySubMesh::GetSlidingWindow | ( | unsigned int | index,
|  | int & | out_start_index,
|  | int & | out_end_index
| ) |  | const`[pure virtual]`

Return the start index and end index of the sliding window indicated by index.

virtual int iGeneralFactorySubMesh::GetSlidingWindowSize | ( |  | ) | const`[pure virtual]`

Get the number of LOD sliding windows for progressive LODs.

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

- imesh/genmesh.h