#include "mesh.h"#include "rendcontext.h"#include "gl.h"#include "glext.h"#include <cassert>#include <iostream>Include dependency graph for mesh.cpp:

Go to the source code of this file.
Functions | |
| static bool | isVBOSupported () |
Variables | |
| static const unsigned int | MinVBOSize = 4096 |
| static bool | VBOSupported = false |
| static bool | VBOSupportTested = false |
| static size_t | VertexAttributeFormatSizes [Mesh::FormatMax] |
|
|
Definition at line 36 of file mesh.cpp. References ExtensionSupported(), VBOSupported, and VBOSupportTested. Referenced by Mesh::render(). 00037 {
00038 if (!VBOSupportTested)
00039 {
00040 VBOSupportTested = true;
00041 VBOSupported = ExtensionSupported("GL_ARB_vertex_buffer_object");
00042 }
00043
00044 return VBOSupported;
00045 }
|
|
|
Definition at line 32 of file mesh.cpp. Referenced by Mesh::render(). |
|
|
Definition at line 34 of file mesh.cpp. Referenced by isVBOSupported(). |
|
|
Definition at line 33 of file mesh.cpp. Referenced by isVBOSupported(). |
|
|
Initial value:
{
4,
8,
12,
16,
4,
}
Definition at line 19 of file mesh.cpp. Referenced by Mesh::VertexDescription::validate(). |
1.4.1