PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CPVRTBoneBatches Class Reference

#include <PVRTBoneBatch.h>

List of all members.

Public Member Functions

void Create (int *const pnVtxNumOut, char **const pVtxOut, unsigned short *const pwIdx, const int nVtxNum, const char *const pVtx, const int nStride, const int nOffsetWeight, EPVRTDataType eTypeWeight, const int nOffsetIdx, EPVRTDataType eTypeIdx, const int nTriNum, const int nBatchBoneMax, const int nVertexBones)
void Release ()

Public Attributes

int * pnBatches
int * pnBatchBoneCnt
int * pnBatchOffset
int nBatchBoneMax
int nBatchCnt


Detailed Description

Handles a batch of bones


Member Function Documentation



Create


void CPVRTBoneBatches::Create int *const  pnVtxNumOut,
char **const  pVtxOut,
unsigned short *const  pwIdx,
const int  nVtxNum,
const char *const  pVtx,
const int  nStride,
const int  nOffsetWeight,
EPVRTDataType  eTypeWeight,
const int  nOffsetIdx,
EPVRTDataType  eTypeIdx,
const int  nTriNum,
const int  nBatchBoneMax,
const int  nVertexBones
 

Outputs:
pnVtxNumOut vertex count
pVtxOut Output vertices (program must free() this)
Modified:
pwIdx index array for triangle list
Inputs:
nVtxNum vertex count
pVtx vertices
nStride Size of a vertex (in bytes)
nOffsetWeight Offset in bytes to the vertex bone-weights
eTypeWeight Data type of the vertex bone-weights
nOffsetIdx Offset in bytes to the vertex bone-indices
eTypeIdx Data type of the vertex bone-indices
nTriNum Number of triangles
nBatchBoneMax Number of bones a batch can reference
nVertexBones Number of bones affecting each vertex
Description:
Fills the bone batch structure



Release


void CPVRTBoneBatches::Release  )  [inline]
 

Description:
Destroy the bone batch structure

Member Data Documentation



nBatchBoneMax


int CPVRTBoneBatches::nBatchBoneMax
 

Stored value as was passed into Create()



nBatchCnt


int CPVRTBoneBatches::nBatchCnt
 

Number of batches to render



pnBatchBoneCnt


int* CPVRTBoneBatches::pnBatchBoneCnt
 

Actual number of bone indices, per batch



pnBatches


int* CPVRTBoneBatches::pnBatches
 

Space for nBatchBoneMax bone indices, per batch



pnBatchOffset


int* CPVRTBoneBatches::pnBatchOffset
 

Offset into triangle array, per batch


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

Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6