Pyrogenesis  trunk
Public Attributes | Private Member Functions | Friends | List of all members
CVertexBuffer::VBChunk Struct Reference

VBChunk: describes a portion of this vertex buffer. More...

#include <VertexBuffer.h>

Collaboration diagram for CVertexBuffer::VBChunk:
Collaboration graph
[legend]

Public Attributes

CVertexBufferm_Owner
 Owning (parent) vertex buffer. More...
 
size_t m_Index
 Start index of this chunk in owner. More...
 
size_t m_Count
 Number of vertices used by chunk. More...
 
void * m_BackingStore
 If UseStreaming() is true, points at the data for this chunk. More...
 
bool m_Dirty
 If true, the VBO is not consistent with the chunk's backing store (and will need to be re-uploaded before rendering with this chunk) More...
 
bool m_Needed
 If true, we have been told this chunk is going to be used for rendering in the next bind phase and will need to be uploaded. More...
 

Private Member Functions

 VBChunk ()
 
 ~VBChunk ()
 

Friends

class CVertexBuffer
 

Detailed Description

VBChunk: describes a portion of this vertex buffer.

Constructor & Destructor Documentation

CVertexBuffer::VBChunk::VBChunk ( )
inlineprivate
CVertexBuffer::VBChunk::~VBChunk ( )
inlineprivate

Friends And Related Function Documentation

friend class CVertexBuffer
friend

Member Data Documentation

void* CVertexBuffer::VBChunk::m_BackingStore

If UseStreaming() is true, points at the data for this chunk.

size_t CVertexBuffer::VBChunk::m_Count

Number of vertices used by chunk.

bool CVertexBuffer::VBChunk::m_Dirty

If true, the VBO is not consistent with the chunk's backing store (and will need to be re-uploaded before rendering with this chunk)

size_t CVertexBuffer::VBChunk::m_Index

Start index of this chunk in owner.

bool CVertexBuffer::VBChunk::m_Needed

If true, we have been told this chunk is going to be used for rendering in the next bind phase and will need to be uploaded.

CVertexBuffer* CVertexBuffer::VBChunk::m_Owner

Owning (parent) vertex buffer.


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