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
-
nr A pointer to a const HIC_Rendition. count An int. points An array of const HIC_DC_Point. color A pointer to a const HIC_RGBAS32. single A 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
-
nr A pointer to a const HIC_Rendition. count An int. points An array of const HIC_DC_Point. colors A 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
-
nr A pointer to a const HIC_Rendition. count An int. points An array of const HIC_DC_Point. colors A pointer to a const HIC_RGBA. planes An 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
-
nr A pointer to a const HIC_Rendition. count An int. points An 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
-
nr A pointer to a const HIC_Rendition. count An int. points An array of const HIC_DC_Point. colors A pointer to a const HIC_RGBA. planes A pointer to a const HIC_Plane. params A pointer to a const float. param_width An int. param_flags A HIC_Integer32.
This function draws a textured polytriangle.