Open source remastering of the Freespace 2 engine
model_batch_buffer Class Reference

#include <modelrender.h>

Public Member Functions

 model_batch_buffer ()
void reset ()
int get_buffer_offset ()
void set_num_models (int n_models)
void set_model_transform (matrix4 &transform, int model_id)
void submit_buffer_data ()
void add_matrix (matrix4 &mat)

Detailed Description

Definition at line 275 of file modelrender.h.

Constructor & Destructor Documentation

model_batch_buffer::model_batch_buffer ( )

Definition at line 285 of file modelrender.h.

Member Function Documentation

void model_batch_buffer::add_matrix ( matrix4 mat)

Definition at line 311 of file modelrender.cpp.

int model_batch_buffer::get_buffer_offset ( )

Definition at line 316 of file modelrender.cpp.

void model_batch_buffer::reset ( )

Definition at line 281 of file modelrender.cpp.

void model_batch_buffer::set_model_transform ( matrix4 transform,
int  model_id 

Definition at line 306 of file modelrender.cpp.

void model_batch_buffer::set_num_models ( int  n_models)

Definition at line 288 of file modelrender.cpp.

void model_batch_buffer::submit_buffer_data ( )

Definition at line 337 of file modelrender.cpp.

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