Ogre::TempBlendedBufferInfo Class Reference
Core » RenderSystem

Structure for recording the use of temporary blend buffers. More...

`#include <OgreHardwareBufferManager.h>`

Inheritance diagram for Ogre::TempBlendedBufferInfo:
[legend]

## Public Member Functions

| ~TempBlendedBufferInfo (void)
void | bindTempCopies (VertexData *targetData, bool suppressHardwareUpload)
| Utility method, binds dest copies into a given VertexData struct. More...
bool | buffersCheckedOut (bool positions=true, bool normals=true) const
| Detect currently have buffer copies checked out and touch it. More...
void | checkoutTempCopies (bool positions=true, bool normals=true)
| Utility method, checks out temporary copies of src into dest. More...
void | extractFrom (const VertexData *sourceData)
| Utility method, extract info from the given VertexData. More...
void | licenseExpired (HardwareBuffer *buffer)
| Overridden member from HardwareBufferLicensee. More...
void | operator delete (void *ptr)
void | operator delete (void *ptr, void *)
void | operator delete (void *ptr, const char *, int, const char *)
void | operator delete[] (void *ptr)
void | operator delete[] (void *ptr, const char *, int, const char *)
void * | operator new (size_t sz, const char *file, int line, const char *func)
| operator new, with debug line info More...
void * | operator new (size_t sz)
void * | operator new (size_t sz, void *ptr)
| placement operator new More...
void * | operator new[] (size_t sz, const char *file, int line, const char *func)
| array operator new, with debug line info More...
void * | operator new[] (size_t sz)

## Private Attributes

bool | bindNormals
bool | bindPositions
HardwareVertexBufferSharedPtr | destNormalBuffer
HardwareVertexBufferSharedPtr | destPositionBuffer
unsigned short | normBindIndex
unsigned short | posBindIndex
bool | posNormalShareBuffer
| Both positions and normals are contained in the same buffer. More...
HardwareVertexBufferSharedPtr | srcNormalBuffer
HardwareVertexBufferSharedPtr | srcPositionBuffer

## Detailed Description

Structure for recording the use of temporary blend buffers.

Definition at line 71 of file OgreHardwareBufferManager.h.

## Constructor & Destructor Documentation

## ~TempBlendedBufferInfo()

Ogre::TempBlendedBufferInfo::~TempBlendedBufferInfo | ( | void |  | ) |

## Member Function Documentation

## bindTempCopies()

void Ogre::TempBlendedBufferInfo::bindTempCopies | ( | VertexData * | targetData,
|  | bool | suppressHardwareUpload
| ) |  |

Utility method, binds dest copies into a given VertexData struct.

## buffersCheckedOut()

bool Ogre::TempBlendedBufferInfo::buffersCheckedOut | ( | bool | positions = `true`,
|  | bool | normals = `true`
| ) |  | const

Detect currently have buffer copies checked out and touch it.

## checkoutTempCopies()

void Ogre::TempBlendedBufferInfo::checkoutTempCopies | ( | bool | positions = `true`,
|  | bool | normals = `true`
| ) |  |

Utility method, checks out temporary copies of src into dest.

## extractFrom()

void Ogre::TempBlendedBufferInfo::extractFrom | ( | const VertexData * | sourceData | ) |

Utility method, extract info from the given VertexData.

## licenseExpired()

void Ogre::TempBlendedBufferInfo::licenseExpired | ( | HardwareBuffer * | buffer | ) |

virtual

Overridden member from HardwareBufferLicensee.

Implements Ogre::HardwareBufferLicensee.

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr,
|  | const char * | ,
|  | int | ,
|  | const char * |
| ) |  |

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz,
|  | void * | ptr
| ) |  |

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) |

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

## Member Data Documentation

## bindNormals

bool Ogre::TempBlendedBufferInfo::bindNormals

private

Definition at line 85 of file OgreHardwareBufferManager.h.

## bindPositions

bool Ogre::TempBlendedBufferInfo::bindPositions

private

Definition at line 84 of file OgreHardwareBufferManager.h.

## destNormalBuffer

HardwareVertexBufferSharedPtr Ogre::TempBlendedBufferInfo::destNormalBuffer

private

Definition at line 79 of file OgreHardwareBufferManager.h.

## destPositionBuffer

HardwareVertexBufferSharedPtr Ogre::TempBlendedBufferInfo::destPositionBuffer

private

Definition at line 78 of file OgreHardwareBufferManager.h.

## normBindIndex

unsigned short Ogre::TempBlendedBufferInfo::normBindIndex

private

Definition at line 83 of file OgreHardwareBufferManager.h.

## posBindIndex

unsigned short Ogre::TempBlendedBufferInfo::posBindIndex

private

Definition at line 82 of file OgreHardwareBufferManager.h.

## posNormalShareBuffer

bool Ogre::TempBlendedBufferInfo::posNormalShareBuffer

private

Both positions and normals are contained in the same buffer.

Definition at line 81 of file OgreHardwareBufferManager.h.

## srcNormalBuffer

HardwareVertexBufferSharedPtr Ogre::TempBlendedBufferInfo::srcNormalBuffer

private

Definition at line 76 of file OgreHardwareBufferManager.h.

## srcPositionBuffer

HardwareVertexBufferSharedPtr Ogre::TempBlendedBufferInfo::srcPositionBuffer

private

Definition at line 75 of file OgreHardwareBufferManager.h.

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

- OgreHardwareBufferManager.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.