#include <MipMapPatchIndex.h>
Public Types | |
| enum | Borders { BorderLeft = 0x00000007, BorderRight = 0x00000038, BorderTop = 0x000001C0, BorderBottom = 0x00000E00 } |
Public Member Functions | |
| MipMapPatchIndex () | |
| ~MipMapPatchIndex () | |
| void | generate (int size, int totalsize, int skip, unsigned int border, unsigned int totallods) |
| void | setBufferOffSet (int offset) |
| unsigned short * | getIndices () |
| unsigned int | getBufferOffSet () |
| int | getSize () |
| int | getMinIndex () |
| int | getMaxIndex () |
Protected Attributes | |
| int | size_ |
| int | minIndex_ |
| int | maxIndex_ |
| unsigned short * | indices_ |
| unsigned int | bufferOffSet_ |
Definition at line 24 of file MipMapPatchIndex.h.
Definition at line 30 of file MipMapPatchIndex.h.
| MipMapPatchIndex::MipMapPatchIndex | ( | ) |
Definition at line 26 of file MipMapPatchIndex.cpp.
| MipMapPatchIndex::~MipMapPatchIndex | ( | ) |
| void MipMapPatchIndex::generate | ( | int | size, | |
| int | totalsize, | |||
| int | skip, | |||
| unsigned int | border, | |||
| unsigned int | totallods | |||
| ) |
Definition at line 37 of file MipMapPatchIndex.cpp.
References BorderBottom, BorderLeft, BorderRight, BorderTop, DIALOG_ASSERT, indices_, int(), maxIndex_, minIndex_, and size_.
Referenced by MipMapPatchIndexs::generate().
| void MipMapPatchIndex::setBufferOffSet | ( | int | offset | ) | [inline] |
Definition at line 39 of file MipMapPatchIndex.h.
References bufferOffSet_.
Referenced by MipMapPatchIndexs::generate().
| unsigned short* MipMapPatchIndex::getIndices | ( | ) | [inline] |
Definition at line 41 of file MipMapPatchIndex.h.
References indices_.
Referenced by Water2Patch::draw(), LandVisibilityPatch::draw(), LandVisibilityPatch::drawLODLevel(), MipMapPatchIndexs::generate(), and MipMapPatchIndexs::getIndex().
| unsigned int MipMapPatchIndex::getBufferOffSet | ( | ) | [inline] |
Definition at line 42 of file MipMapPatchIndex.h.
References bufferOffSet_.
Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().
| int MipMapPatchIndex::getSize | ( | ) | [inline] |
Definition at line 43 of file MipMapPatchIndex.h.
References size_.
Referenced by Water2Patch::draw(), LandVisibilityPatch::draw(), LandVisibilityPatch::drawLODLevel(), and MipMapPatchIndexs::generate().
| int MipMapPatchIndex::getMinIndex | ( | ) | [inline] |
Definition at line 44 of file MipMapPatchIndex.h.
References minIndex_.
Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().
| int MipMapPatchIndex::getMaxIndex | ( | ) | [inline] |
Definition at line 45 of file MipMapPatchIndex.h.
References maxIndex_.
Referenced by Water2Patch::draw(), and LandVisibilityPatch::draw().
int MipMapPatchIndex::size_ [protected] |
int MipMapPatchIndex::minIndex_ [protected] |
int MipMapPatchIndex::maxIndex_ [protected] |
unsigned short* MipMapPatchIndex::indices_ [protected] |
Definition at line 49 of file MipMapPatchIndex.h.
Referenced by generate(), getIndices(), and ~MipMapPatchIndex().
unsigned int MipMapPatchIndex::bufferOffSet_ [protected] |
Definition at line 50 of file MipMapPatchIndex.h.
Referenced by getBufferOffSet(), and setBufferOffSet().
1.5.3