FS2_Open
Open source remastering of the Freespace 2 engine
vertex_format_data Struct Reference

#include <2d.h>

Public Types

enum  vertex_format {
  POSITION4, POSITION3, POSITION2, SCREEN_POS,
  COLOR3, COLOR4, TEX_COORD, NORMAL,
  TANGENT, MODEL_ID, RADIUS, FVEC,
  UVEC, INTENSITY
}
 

Public Member Functions

 vertex_format_data (vertex_format i_format_type, uint i_stride, void *i_data_src)
 

Public Attributes

vertex_format format_type
 
uint stride
 
voiddata_src
 

Detailed Description

Definition at line 1013 of file 2d.h.

Member Enumeration Documentation

Enumerator
POSITION4 
POSITION3 
POSITION2 
SCREEN_POS 
COLOR3 
COLOR4 
TEX_COORD 
NORMAL 
TANGENT 
MODEL_ID 
RADIUS 
FVEC 
UVEC 
INTENSITY 

Definition at line 1015 of file 2d.h.

Constructor & Destructor Documentation

vertex_format_data::vertex_format_data ( vertex_format  i_format_type,
uint  i_stride,
void i_data_src 
)
inline

Definition at line 1036 of file 2d.h.

Member Data Documentation

void* vertex_format_data::data_src

Definition at line 1034 of file 2d.h.

vertex_format vertex_format_data::format_type

Definition at line 1032 of file 2d.h.

uint vertex_format_data::stride

Definition at line 1033 of file 2d.h.


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