GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
RenderVertexArray Class Reference

#include <VertexArray.hh>

Collaboration diagram for RenderVertexArray:

Public Member Functions

 RenderVertexArray (VertexArraySet &s2, RenderVertexArray &rend)
 RenderVertexArray (LowApi *g_low, VertexArraySet &s)
GameApi::PinIn prepare (int id, bool isnull=false, int tri_count=-1, int quad_count=-1, int poly_count=-1)
GameApi::PinIn update (int id)
GameApi::PinIn update_tri (int id, int buffer_id, int start, int end)
GameApi::PinIn render (int id)
void sort_blit (int id, Matrix in_MV)
GameApi::PinIn prepare_instanced (int id, Point *positions, Vector *normals, float *colors, int size, int colour_divisor)
GameApi::PinIn prepare_instanced_matrix (int id, Matrix *positions, Vector *normals, float *colors, int size, int colour_divisor)
GameApi::PinIn prepare_indices (int id, const unsigned char *ind1, const unsigned short *ind2, const unsigned int *ind3, int facecount)
GameApi::PinIn render_instanced (int id, Point *positions, Vector *normals, float *colors, int size, int colours_divisor)
GameApi::PinIn render_instanced_matrix (int id, Matrix *positions, Vector *normals, float *colors, int size, int colours_divisor)
void update_buffers (RenderVertexArray_bufferids ids)
void fetch_buffers (RenderVertexArray_bufferids &ids)
void set_no_delete (bool b)
void del ()
 ~RenderVertexArray ()

Public Attributes

VertexArraySet & s
unsigned int buffers [7]
unsigned int vao [3]
unsigned int buffers2 [7]
unsigned int buffers3 [7]
int tri_count
int quad_count
int poly_count
unsigned int pos_buffer
unsigned int pos_buffer_matrix
unsigned int normals_buffer
unsigned int normals_buffer_matrix
unsigned int color_buffer
unsigned int color_buffer_matrix
std::vector< unsigned int > attrib_buffer
std::vector< unsigned int > attrib_buffer2
std::vector< unsigned int > attrib_buffer3
std::vector< unsigned int > attribi_buffer
std::vector< unsigned int > attribi_buffer2
std::vector< unsigned int > attribi_buffer3
unsigned int indices_buffer
bool nodelete
bool bufferdata_done =false

Constructor & Destructor Documentation

◆ RenderVertexArray() [1/2]

RenderVertexArray::RenderVertexArray ( VertexArraySet & s2,
RenderVertexArray & rend )
inline
Here is the caller graph for this function:

◆ RenderVertexArray() [2/2]

RenderVertexArray::RenderVertexArray ( LowApi * g_low,
VertexArraySet & s )
inline

◆ ~RenderVertexArray()

RenderVertexArray::~RenderVertexArray ( )
inline

Member Function Documentation

◆ del()

void RenderVertexArray::del ( )
Here is the caller graph for this function:

◆ fetch_buffers()

void RenderVertexArray::fetch_buffers ( RenderVertexArray_bufferids & ids)
Here is the caller graph for this function:

◆ prepare()

GameApi::PinIn RenderVertexArray::prepare ( int id,
bool isnull = false,
int tri_count = -1,
int quad_count = -1,
int poly_count = -1 )
Here is the caller graph for this function:

◆ prepare_indices()

GameApi::PinIn RenderVertexArray::prepare_indices ( int id,
const unsigned char * ind1,
const unsigned short * ind2,
const unsigned int * ind3,
int facecount )

◆ prepare_instanced()

GameApi::PinIn RenderVertexArray::prepare_instanced ( int id,
Point * positions,
Vector * normals,
float * colors,
int size,
int colour_divisor )
Here is the caller graph for this function:

◆ prepare_instanced_matrix()

GameApi::PinIn RenderVertexArray::prepare_instanced_matrix ( int id,
Matrix * positions,
Vector * normals,
float * colors,
int size,
int colour_divisor )
Here is the caller graph for this function:

◆ render()

GameApi::PinIn RenderVertexArray::render ( int id)
Here is the caller graph for this function:

◆ render_instanced()

GameApi::PinIn RenderVertexArray::render_instanced ( int id,
Point * positions,
Vector * normals,
float * colors,
int size,
int colours_divisor )
Here is the caller graph for this function:

◆ render_instanced_matrix()

GameApi::PinIn RenderVertexArray::render_instanced_matrix ( int id,
Matrix * positions,
Vector * normals,
float * colors,
int size,
int colours_divisor )
Here is the caller graph for this function:

◆ set_no_delete()

void RenderVertexArray::set_no_delete ( bool b)
inline
Here is the caller graph for this function:

◆ sort_blit()

void RenderVertexArray::sort_blit ( int id,
Matrix in_MV )
Here is the caller graph for this function:

◆ update()

GameApi::PinIn RenderVertexArray::update ( int id)
Here is the caller graph for this function:

◆ update_buffers()

void RenderVertexArray::update_buffers ( RenderVertexArray_bufferids ids)
Here is the caller graph for this function:

◆ update_tri()

GameApi::PinIn RenderVertexArray::update_tri ( int id,
int buffer_id,
int start,
int end )
Here is the caller graph for this function:

Member Data Documentation

◆ attrib_buffer

std::vector<unsigned int> RenderVertexArray::attrib_buffer

◆ attrib_buffer2

std::vector<unsigned int> RenderVertexArray::attrib_buffer2

◆ attrib_buffer3

std::vector<unsigned int> RenderVertexArray::attrib_buffer3

◆ attribi_buffer

std::vector<unsigned int> RenderVertexArray::attribi_buffer

◆ attribi_buffer2

std::vector<unsigned int> RenderVertexArray::attribi_buffer2

◆ attribi_buffer3

std::vector<unsigned int> RenderVertexArray::attribi_buffer3

◆ bufferdata_done

bool RenderVertexArray::bufferdata_done =false

◆ buffers

unsigned int RenderVertexArray::buffers[7]

◆ buffers2

unsigned int RenderVertexArray::buffers2[7]

◆ buffers3

unsigned int RenderVertexArray::buffers3[7]

◆ color_buffer

unsigned int RenderVertexArray::color_buffer

◆ color_buffer_matrix

unsigned int RenderVertexArray::color_buffer_matrix

◆ indices_buffer

unsigned int RenderVertexArray::indices_buffer

◆ nodelete

bool RenderVertexArray::nodelete

◆ normals_buffer

unsigned int RenderVertexArray::normals_buffer

◆ normals_buffer_matrix

unsigned int RenderVertexArray::normals_buffer_matrix

◆ poly_count

int RenderVertexArray::poly_count

◆ pos_buffer

unsigned int RenderVertexArray::pos_buffer

◆ pos_buffer_matrix

unsigned int RenderVertexArray::pos_buffer_matrix

◆ quad_count

int RenderVertexArray::quad_count

◆ s

VertexArraySet& RenderVertexArray::s

◆ tri_count

int RenderVertexArray::tri_count

◆ vao

unsigned int RenderVertexArray::vao[3]

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