Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

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[])
 
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[], float const params[], int param_width, HIC_Integer32 param_flags)
 

Detailed Description

Function Documentation

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.

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.

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[] 
)
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.

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.

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[],
float const  params[],
int  param_width,
HIC_Integer32  param_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.