|
GameApi 28
Library used by GameApi Builder tool
|
#include <Effect.hh>

Public Member Functions | |
| ArrayRender (LowApi *g_low) | |
| ~ArrayRender () | |
| int | NumFaces (FaceCollection &coll) |
| int | NumVertices (FaceCollection &coll) |
| void | Alloc (int numfaces, int numvertices) |
| void | Alloc (int numfaces, int numvertices, int vertexframes, int normalframes, int colorframes, int texcoordframes) |
| void | AllocTexture (int count) |
| std::pair< int, int > | Insert (FaceCollection &coll) |
| std::pair< int, int > | InsertMesh (Mesh &mesh, int frame) |
| std::vector< std::pair< int, int > > | InsertAll (Mesh &mesh, MeshNormals &normal, MeshTexCoords &coord, MeshColors &color) |
| void | UpdatePos (FaceCollection &coll, std::pair< int, int > p) |
| void | UpdateNormals (Mesh &mesh, MeshNormals &normal, std::pair< int, int > p, int frame) |
| void | UpdateTexCoord (Mesh &mesh, MeshTexCoords &coord, std::pair< int, int > p, int frame) |
| void | UpdateColors (Mesh &mesh, MeshColors &color, std::pair< int, int > p, int frame) |
| void | UpdateAllTextures (MeshTextures &texture) |
| void | UpdateTexture (MeshTextures &texture, int num, bool textrender=false) |
| void | EnableTexture (int num) |
| void | DisableTexture () |
| void | Prepare () |
| void | Render (bool normal, bool color, bool texcoord) |
| void | Render (bool normal, bool color, bool texcoord, int vertex_pos, int vertex_size) |
| void | Render (int vertexframe, int normalframe, int colorframe, int texcoordframe, int vertex_pos, int vertex_size) |
| void | Render (int vertexframe, int normalframe, int colorframe, int texcoordframe) |
| int | VertexArrayStep () const |
| int | NormalArrayStep () const |
| int | ColorArrayStep () const |
| int | TexCoordArrayStep () const |
| int | TextureCount () const |
Public Attributes | |
| LowApi * | g_low |
| float * | vertex_array |
| int | vertex_array_size |
| int * | used_vertex_count |
| int * | used_face_count |
| float * | normal_array |
| unsigned char * | color_array |
| float * | tex_coord_array |
| bool | quads |
| int * | index_array |
| int | m_vertex_frames |
| int | m_normal_frames |
| int | m_color_frames |
| int | m_texcoord_frames |
| int * | texture |
| int | texture_count |
| int | previous_frame |
| BufferRef ** | textures |
| int * | tex_size_x |
| int * | tex_size_y |
| bool | buffer_allocated |
| unsigned int | buffer [5] |
| int | q_num_vertices |
| float * | q_vertex_array |
| float * | q_normal_array |
| unsigned char * | q_color_array |
| float * | q_tex_coord_array |
| unsigned int | vao [4] |
|
inline |
| ArrayRender::~ArrayRender | ( | ) |
| void ArrayRender::Alloc | ( | int | numfaces, |
| int | numvertices ) |

| void ArrayRender::Alloc | ( | int | numfaces, |
| int | numvertices, | ||
| int | vertexframes, | ||
| int | normalframes, | ||
| int | colorframes, | ||
| int | texcoordframes ) |
| void ArrayRender::AllocTexture | ( | int | count | ) |

|
inline |
| void ArrayRender::DisableTexture | ( | ) |

| void ArrayRender::EnableTexture | ( | int | num | ) |

| std::pair< int, int > ArrayRender::Insert | ( | FaceCollection & | coll | ) |

| std::vector< std::pair< int, int > > ArrayRender::InsertAll | ( | Mesh & | mesh, |
| MeshNormals & | normal, | ||
| MeshTexCoords & | coord, | ||
| MeshColors & | color ) |

| std::pair< int, int > ArrayRender::InsertMesh | ( | Mesh & | mesh, |
| int | frame ) |

|
inline |
| int ArrayRender::NumFaces | ( | FaceCollection & | coll | ) |

| int ArrayRender::NumVertices | ( | FaceCollection & | coll | ) |

| void ArrayRender::Prepare | ( | ) |

|
inline |

| void ArrayRender::Render | ( | bool | normal, |
| bool | color, | ||
| bool | texcoord, | ||
| int | vertex_pos, | ||
| int | vertex_size ) |
|
inline |

| void ArrayRender::Render | ( | int | vertexframe, |
| int | normalframe, | ||
| int | colorframe, | ||
| int | texcoordframe, | ||
| int | vertex_pos, | ||
| int | vertex_size ) |
|
inline |
|
inline |

| void ArrayRender::UpdateAllTextures | ( | MeshTextures & | texture | ) |
| void ArrayRender::UpdateColors | ( | Mesh & | mesh, |
| MeshColors & | color, | ||
| std::pair< int, int > | p, | ||
| int | frame ) |

| void ArrayRender::UpdateNormals | ( | Mesh & | mesh, |
| MeshNormals & | normal, | ||
| std::pair< int, int > | p, | ||
| int | frame ) |

| void ArrayRender::UpdatePos | ( | FaceCollection & | coll, |
| std::pair< int, int > | p ) |
| void ArrayRender::UpdateTexCoord | ( | Mesh & | mesh, |
| MeshTexCoords & | coord, | ||
| std::pair< int, int > | p, | ||
| int | frame ) |

| void ArrayRender::UpdateTexture | ( | MeshTextures & | texture, |
| int | num, | ||
| bool | textrender = false ) |

|
inline |
| unsigned int ArrayRender::buffer[5] |
| bool ArrayRender::buffer_allocated |
| unsigned char* ArrayRender::color_array |
| LowApi* ArrayRender::g_low |
| int* ArrayRender::index_array |
| int ArrayRender::m_color_frames |
| int ArrayRender::m_normal_frames |
| int ArrayRender::m_texcoord_frames |
| int ArrayRender::m_vertex_frames |
| float* ArrayRender::normal_array |
| int ArrayRender::previous_frame |
| unsigned char* ArrayRender::q_color_array |
| float* ArrayRender::q_normal_array |
| int ArrayRender::q_num_vertices |
| float* ArrayRender::q_tex_coord_array |
| float* ArrayRender::q_vertex_array |
| bool ArrayRender::quads |
| float* ArrayRender::tex_coord_array |
| int* ArrayRender::tex_size_x |
| int* ArrayRender::tex_size_y |
| int* ArrayRender::texture |
| int ArrayRender::texture_count |
| BufferRef** ArrayRender::textures |
| int* ArrayRender::used_face_count |
| int* ArrayRender::used_vertex_count |
| unsigned int ArrayRender::vao[4] |
| float* ArrayRender::vertex_array |
| int ArrayRender::vertex_array_size |