Draw_DC_XXX_Polytriangles

Functions

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Polytriangle (HIC_Rendition const *nr, int count, HIC_DC_Point const points[], HIC_RGBAS32 const color[], bool single)
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Gouraud_Polytriangle (HIC_Rendition const *nr, int count, HIC_DC_Point const points[], HIC_RGBAS32 const colors[])
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Phong_Polytriangle (HIC_Rendition const *nr, int count, HIC_DC_Point const points[], HIC_RGBA const colors[], HIC_Plane const planes[], HIC_DPlane const dplanes[], HIC_Point const worlds[], HIC_DPoint const dworlds[])
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Polytriangle (HIC_Rendition const *nr, int count, HIC_DC_Point const points[])
 
HC_EXTERNAL HIC_API void HIC_Draw_DC_Textured_Polytriangle (HIC_Rendition const *nr, int count, HIC_DC_Point const points[], HIC_RGBA const colors[], HIC_Plane const planes[], HIC_DPlane const dplanes[], HIC_Point const worlds[], HIC_DPoint const dworlds[], float const params[], int param_width, HIC_Integer32 param_flags, float const params_alt[], int param_alt_width, HIC_Integer32 param_alt_flags)
 

Detailed Description

Function Documentation

◆ HIC_Draw_DC_Colorized_Polytriangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Colorized_Polytriangle ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const  points[],
HIC_RGBAS32 const  color[],
bool  single 
)
Parameters
nrA pointer to a const HIC_Rendition.
countAn int.
pointsAn array of const HIC_DC_Point.
colorA pointer to a const HIC_RGBAS32.
singleA boolean.

This function draws a polytriangle using passed in color values instead of the rendition colors.

◆ HIC_Draw_DC_Gouraud_Polytriangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Gouraud_Polytriangle ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const  points[],
HIC_RGBAS32 const  colors[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
countAn int.
pointsAn array of const HIC_DC_Point.
colorsA pointer to a const HIC_RGBAS32.

This function draws a gouraud polytriangle.

◆ HIC_Draw_DC_Phong_Polytriangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Phong_Polytriangle ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const  points[],
HIC_RGBA const  colors[],
HIC_Plane const  planes[],
HIC_DPlane const  dplanes[],
HIC_Point const  worlds[],
HIC_DPoint const  dworlds[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
countAn int.
pointsAn array of const HIC_DC_Point.
colorsA pointer to a const HIC_RGBA.
planesAn pointer to a const HIC_Plane.

This function draws a phong polytriangle.

◆ HIC_Draw_DC_Polytriangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Polytriangle ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const  points[] 
)
Parameters
nrA pointer to a const HIC_Rendition.
countAn int.
pointsAn array of const HIC_DC_Point.

This function draws a polytriangle.

◆ HIC_Draw_DC_Textured_Polytriangle()

HC_EXTERNAL HIC_API void HIC_Draw_DC_Textured_Polytriangle ( HIC_Rendition const *  nr,
int  count,
HIC_DC_Point const  points[],
HIC_RGBA const  colors[],
HIC_Plane const  planes[],
HIC_DPlane const  dplanes[],
HIC_Point const  worlds[],
HIC_DPoint const  dworlds[],
float const  params[],
int  param_width,
HIC_Integer32  param_flags,
float const  params_alt[],
int  param_alt_width,
HIC_Integer32  param_alt_flags 
)
Parameters
nrA pointer to a const HIC_Rendition.
countAn int.
pointsAn array of const HIC_DC_Point.
colorsA pointer to a const HIC_RGBA.
planesA pointer to a const HIC_Plane.
paramsA pointer to a const float.
param_widthAn int.
param_flagsA HIC_Integer32.

This function draws a textured polytriangle.