#include <OgreHardwareBufferManager.h>
Public Member Functions | |
~TempBlendedBufferInfo (void) | |
void | extractFrom (const VertexData *sourceData) |
Utility method, extract info from the given VertexData. | |
void | checkoutTempCopies (bool positions=true, bool normals=true) |
Utility method, checks out temporary copies of src into dest. | |
void | bindTempCopies (VertexData *targetData, bool suppressHardwareUpload) |
Utility method, binds dest copies into a given VertexData struct. | |
void | licenseExpired (HardwareBuffer *buffer) |
Overridden member from HardwareBufferLicensee. | |
bool | buffersCheckedOut (bool positions=true, bool normals=true) const |
Detect currently have buffer copies checked out and touch it. | |
Private Attributes | |
HardwareVertexBufferSharedPtr | srcPositionBuffer |
HardwareVertexBufferSharedPtr | srcNormalBuffer |
HardwareVertexBufferSharedPtr | destPositionBuffer |
HardwareVertexBufferSharedPtr | destNormalBuffer |
bool | posNormalShareBuffer |
Both positions and normals are contained in the same buffer. | |
unsigned short | posBindIndex |
unsigned short | normBindIndex |
bool | bindPositions |
bool | bindNormals |
Definition at line 62 of file OgreHardwareBufferManager.h.
Ogre::TempBlendedBufferInfo::~TempBlendedBufferInfo | ( | void | ) |
void Ogre::TempBlendedBufferInfo::extractFrom | ( | const VertexData * | sourceData | ) |
Utility method, extract info from the given VertexData.
void Ogre::TempBlendedBufferInfo::checkoutTempCopies | ( | bool | positions = true , |
|
bool | normals = true | |||
) |
Utility method, checks out temporary copies of src into dest.
void Ogre::TempBlendedBufferInfo::bindTempCopies | ( | VertexData * | targetData, | |
bool | suppressHardwareUpload | |||
) |
Utility method, binds dest copies into a given VertexData struct.
void Ogre::TempBlendedBufferInfo::licenseExpired | ( | HardwareBuffer * | buffer | ) | [virtual] |
bool Ogre::TempBlendedBufferInfo::buffersCheckedOut | ( | bool | positions = true , |
|
bool | normals = true | |||
) | const |
Detect currently have buffer copies checked out and touch it.
Definition at line 66 of file OgreHardwareBufferManager.h.
Definition at line 67 of file OgreHardwareBufferManager.h.
Definition at line 69 of file OgreHardwareBufferManager.h.
Definition at line 70 of file OgreHardwareBufferManager.h.
bool Ogre::TempBlendedBufferInfo::posNormalShareBuffer [private] |
Both positions and normals are contained in the same buffer.
Definition at line 72 of file OgreHardwareBufferManager.h.
unsigned short Ogre::TempBlendedBufferInfo::posBindIndex [private] |
Definition at line 73 of file OgreHardwareBufferManager.h.
unsigned short Ogre::TempBlendedBufferInfo::normBindIndex [private] |
Definition at line 74 of file OgreHardwareBufferManager.h.
bool Ogre::TempBlendedBufferInfo::bindPositions [private] |
Definition at line 75 of file OgreHardwareBufferManager.h.
bool Ogre::TempBlendedBufferInfo::bindNormals [private] |
Definition at line 76 of file OgreHardwareBufferManager.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:54 2008