Open source remastering of the Freespace 2 engine
buffer_data Class Reference

#include <2d.h>

Public Member Functions

const uintget_index () const
void release ()
void assign (int i, uint j)
 buffer_data ()
 buffer_data (int n_vrts)
 buffer_data (const buffer_data &other)
buffer_dataoperator= (const buffer_data &rhs)
 ~buffer_data ()

Public Attributes

int flags
int texture
int n_verts
size_t index_offset
uint i_first
uint i_last

Detailed Description

Definition at line 187 of file 2d.h.

Constructor & Destructor Documentation

buffer_data::buffer_data ( )

Definition at line 225 of file 2d.h.

buffer_data::buffer_data ( int  n_vrts)

Definition at line 231 of file 2d.h.

buffer_data::buffer_data ( const buffer_data other)

Definition at line 243 of file 2d.h.

buffer_data::~buffer_data ( )

Definition at line 295 of file 2d.h.

Member Function Documentation

void buffer_data::assign ( int  i,
uint  j 

Definition at line 212 of file 2d.h.

const uint* buffer_data::get_index ( ) const

Definition at line 197 of file 2d.h.

buffer_data& buffer_data::operator= ( const buffer_data rhs)

Definition at line 266 of file 2d.h.

void buffer_data::release ( )

Definition at line 204 of file 2d.h.

Member Data Documentation

int buffer_data::flags

Definition at line 190 of file 2d.h.

uint buffer_data::i_first

Definition at line 202 of file 2d.h.

uint buffer_data::i_last

Definition at line 202 of file 2d.h.

size_t buffer_data::index_offset

Definition at line 195 of file 2d.h.

int buffer_data::n_verts

Definition at line 193 of file 2d.h.

int buffer_data::texture

Definition at line 192 of file 2d.h.

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