#include <plGeometrySpan.h>
Public Types |
enum | { kMaxNumUVChannels = 8
} |
enum | Formats {
kUVCountMask = 0xF,
kSkinNoWeights = 0x0,
kSkin1Weight = 0x10,
kSkin2Weights = 0x20,
kSkin3Weights = 0x30,
kSkinWeightMask = 0x30,
kSkinIndices = 0x40
} |
enum | Properties {
kLiteMaterial = 0x0,
kPropRunTimeLight = 0x1,
kPropNoPreShade = 0x2,
kLiteVtxPreshaded = 0x4,
kLiteVtxNonPreshaded = 0x8,
kLiteMask = 0xC,
kRequiresBlending = 0x10,
kInstanced = 0x20,
kUserOwned = 0x40,
kPropNoShadow = 0x80,
kPropForceShadow = 0x100,
kDiffuseFoldedIn = 0x200,
kPropReverseSort = 0x400,
kWaterHeight = 0x800,
kFirstInstance = 0x1000,
kPartialSort = 0x2000,
kVisLOS = 0x4000,
kPropNoShadowCast = 0x8000
} |
enum | { kNoGroupID = 0
} |
Static Public Member Functions |
static unsigned int | CalcVertexSize (unsigned char format) |
Member Enumeration Documentation
- Enumerator:
kUVCountMask |
|
kSkinNoWeights |
|
kSkin1Weight |
|
kSkin2Weights |
|
kSkin3Weights |
|
kSkinWeightMask |
|
kSkinIndices |
|
- Enumerator:
kLiteMaterial |
|
kPropRunTimeLight |
|
kPropNoPreShade |
|
kLiteVtxPreshaded |
|
kLiteVtxNonPreshaded |
|
kLiteMask |
|
kRequiresBlending |
|
kInstanced |
|
kUserOwned |
|
kPropNoShadow |
|
kPropForceShadow |
|
kDiffuseFoldedIn |
|
kPropReverseSort |
|
kWaterHeight |
|
kFirstInstance |
|
kPartialSort |
|
kVisLOS |
|
kPropNoShadowCast |
|
Member Function Documentation
static unsigned int plGeometrySpan::CalcVertexSize |
( |
unsigned char |
format | ) |
|
|
static |
unsigned int plGeometrySpan::getBaseMatrix |
( |
| ) |
const |
plKey plGeometrySpan::getFogEnvironment |
( |
| ) |
const |
unsigned int plGeometrySpan::getFormat |
( |
| ) |
const |
std::vector<unsigned short> plGeometrySpan::getIndices |
( |
| ) |
const |
hsMatrix44 plGeometrySpan::getLocalToWorld |
( |
| ) |
const |
unsigned int plGeometrySpan::getLocalUVWChans |
( |
| ) |
const |
plKey plGeometrySpan::getMaterial |
( |
| ) |
const |
unsigned int plGeometrySpan::getMaxBoneIdx |
( |
| ) |
const |
float plGeometrySpan::getMaxDist |
( |
| ) |
const |
float plGeometrySpan::getMinDist |
( |
| ) |
const |
unsigned int plGeometrySpan::getNumMatrices |
( |
| ) |
const |
unsigned int plGeometrySpan::getPenBoneIdx |
( |
| ) |
const |
unsigned int plGeometrySpan::getProps |
( |
| ) |
const |
std::vector<TempVertex> plGeometrySpan::getVertices |
( |
| ) |
const |
float plGeometrySpan::getWaterHeight |
( |
| ) |
const |
hsMatrix44 plGeometrySpan::getWorldToLocal |
( |
| ) |
const |
void plGeometrySpan::prcParse |
( |
const pfPrcTag * |
tag | ) |
|
void plGeometrySpan::read |
( |
hsStream * |
S | ) |
|
void plGeometrySpan::setBaseMatrix |
( |
unsigned int |
base | ) |
|
void plGeometrySpan::setFogEnvironment |
( |
plKey |
fog | ) |
|
void plGeometrySpan::setFormat |
( |
unsigned int |
format | ) |
|
void plGeometrySpan::setIndices |
( |
const std::vector< unsigned short > & |
indices | ) |
|
void plGeometrySpan::setLocalToWorld |
( |
hsMatrix44 |
l2w | ) |
|
void plGeometrySpan::setLocalUVWChans |
( |
unsigned int |
chans | ) |
|
void plGeometrySpan::setMaterial |
( |
plKey |
mat | ) |
|
void plGeometrySpan::setMaxBoneIdx |
( |
unsigned int |
idx | ) |
|
void plGeometrySpan::setMaxDist |
( |
float |
dist | ) |
|
void plGeometrySpan::setMinDist |
( |
float |
dist | ) |
|
void plGeometrySpan::setNumMatrices |
( |
unsigned int |
num | ) |
|
void plGeometrySpan::setPenBoneIdx |
( |
unsigned int |
idx | ) |
|
void plGeometrySpan::setProps |
( |
unsigned int |
props | ) |
|
void plGeometrySpan::setVertices |
( |
const std::vector< TempVertex > & |
verts | ) |
|
void plGeometrySpan::setWaterHeight |
( |
float |
height | ) |
|
void plGeometrySpan::setWorldToLocal |
( |
hsMatrix44 |
w2l | ) |
|
void plGeometrySpan::write |
( |
hsStream * |
S | ) |
|
Member Data Documentation
unsigned int plGeometrySpan::fBaseMatrix |
|
protected |
unsigned int plGeometrySpan::fDecalLevel |
|
protected |
std::vector<unsigned int> plGeometrySpan::fDiffuseRGBA |
|
protected |
plKey plGeometrySpan::fFogEnviron |
|
protected |
unsigned int plGeometrySpan::fFormat |
|
protected |
std::vector<unsigned short> plGeometrySpan::fIndexData |
|
protected |
unsigned int plGeometrySpan::fInstanceGroup |
|
protected |
unsigned short plGeometrySpan::fLocalUVWChans |
|
protected |
plKey plGeometrySpan::fMaterial |
|
protected |
unsigned short plGeometrySpan::fMaxBoneIdx |
|
protected |
float plGeometrySpan::fMaxDist |
|
protected |
float plGeometrySpan::fMinDist |
|
protected |
unsigned int plGeometrySpan::fNumIndices |
|
protected |
unsigned int plGeometrySpan::fNumMatrices |
|
protected |
unsigned int plGeometrySpan::fNumVerts |
|
protected |
unsigned int plGeometrySpan::fPenBoneIdx |
|
protected |
unsigned int plGeometrySpan::fProps |
|
protected |
std::vector<unsigned int> plGeometrySpan::fSpecularRGBA |
|
protected |
std::vector<unsigned char> plGeometrySpan::fVertexData |
|
protected |
float plGeometrySpan::fWaterHeight |
|
protected |
unsigned int plGeometrySpan::numInstanceRefs |
|
protected |
The documentation for this class was generated from the following file: