|
Ptex
|
#include <PtexReader.h>
Public Member Functions | |
| FaceData (Res resArg) | |
| virtual | ~FaceData () |
| virtual void | release () |
| Release resources held by this pointer (pointer becomes invalid). | |
| virtual Ptex::Res | res () |
| Resolution of the texture held by this data block. | |
| virtual FaceData * | reduce (PtexReader *, Res newres, PtexUtils::ReduceFn, size_t &newMemUsed)=0 |
Public Member Functions inherited from PtexFaceData | |
| virtual bool | isConstant ()=0 |
| True if this data block is constant. | |
| virtual void | getPixel (int u, int v, void *result)=0 |
| Read a single texel from the data block. | |
| virtual void * | getData ()=0 |
| Access the data from this data block. | |
| virtual bool | isTiled ()=0 |
| True if this data block is tiled. | |
| virtual Ptex::Res | tileRes ()=0 |
| Resolution of each tile in this data block. | |
| virtual PtexFaceData * | getTile (int tile)=0 |
| Access a tile from the data block. | |
Protected Attributes | |
| Res | _res |
Additional Inherited Members | |
Protected Member Functions inherited from PtexFaceData | |
| virtual | ~PtexFaceData () |
| Destructor not for public use. Use release() instead. | |
Definition at line 365 of file PtexReader.h.
|
inline |
Definition at line 367 of file PtexReader.h.
|
inlinevirtual |
Definition at line 369 of file PtexReader.h.
|
pure virtual |
Implemented in PtexReader::ConstantFace, PtexReader::PackedFace, and PtexReader::TiledFaceBase.
Referenced by PtexReader::getData().
|
inlinevirtual |
Release resources held by this pointer (pointer becomes invalid).
Implements PtexFaceData.
Reimplemented in PtexReader::ErrorFace, and PtexReader::TiledFaceBase.
Definition at line 370 of file PtexReader.h.
|
inlinevirtual |
Resolution of the texture held by this data block.
Note: the indicated texture res may be larger than 1x1 even if the texture data is constant.
Implements PtexFaceData.
Definition at line 371 of file PtexReader.h.
References _res.
|
protected |
Definition at line 374 of file PtexReader.h.
Referenced by PtexReader::PackedFace::getPixel(), res(), PtexReader::TiledFaceBase::TiledFaceBase(), and PtexReader::PackedFace::tileRes().