CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

G3DPolygonDPFX Struct Reference
[3D]

Structure containing all info needed by DrawPolygonFX (DPFX). More...

#include <graph3d.h>

List of all members.

Public Attributes

int num
 Current number of vertices. More...

csVector2 vertices [100]
 Vertices that form the polygon. More...

float z [100]
 1/z for every vertex. More...

csVector2 texels [100]
 Texels per vertex. More...

csColor colors [100]
 Lighting info per vertex. More...

G3DFogInfo fog_info [100]
 Extra optional fog information. More...

bool use_fog
 Use fog info? More...

iMaterialHandlemat_handle
 The material handle as returned by iTextureManager. More...

uint mixmode
 Mixmode to use. If CS_FX_COPY then no mixmode is used. More...

uint8 flat_color_r
 Use this color for drawing (if txt_handle == 0) instead of a material. More...


Detailed Description

Structure containing all info needed by DrawPolygonFX (DPFX).

Definition at line 384 of file graph3d.h.


Member Data Documentation

csColor G3DPolygonDPFX::colors[100]
 

Lighting info per vertex.

Definition at line 395 of file graph3d.h.

uint8 G3DPolygonDPFX::flat_color_r
 

Use this color for drawing (if txt_handle == 0) instead of a material.

Definition at line 408 of file graph3d.h.

G3DFogInfo G3DPolygonDPFX::fog_info[100]
 

Extra optional fog information.

Definition at line 398 of file graph3d.h.

iMaterialHandle* G3DPolygonDPFX::mat_handle
 

The material handle as returned by iTextureManager.

Definition at line 403 of file graph3d.h.

uint G3DPolygonDPFX::mixmode
 

Mixmode to use. If CS_FX_COPY then no mixmode is used.

Definition at line 405 of file graph3d.h.

int G3DPolygonDPFX::num
 

Current number of vertices.

Definition at line 387 of file graph3d.h.

csVector2 G3DPolygonDPFX::texels[100]
 

Texels per vertex.

Definition at line 393 of file graph3d.h.

bool G3DPolygonDPFX::use_fog
 

Use fog info?

Definition at line 400 of file graph3d.h.

csVector2 G3DPolygonDPFX::vertices[100]
 

Vertices that form the polygon.

Definition at line 389 of file graph3d.h.

float G3DPolygonDPFX::z[100]
 

1/z for every vertex.

Definition at line 391 of file graph3d.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14