Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_ShadeModel(3)		EZWGL Functions		      EZ_ShadeModel(3)

NAME
       EZ_ShadeModel - select a	shading	model for coloring primitives

SYNOPSIS
       #include	<EZ.h>

       void EZ_ShadeModel(int model)

ARGUMENTS
       model Specifies a shading model.	Either EZ_SMOOTH or EZ_FLAT.

DESCRIPTION
       EZ_ShadeModel selects a shading model for rendering primitives.	In the
       EZ_FLAT shading model, each primitive is	colored	with  a	 single	 color
       across the primitive. In	the EZ_SMOOTH shading model, the colors	at the
       vertices	are linearly interpolated across the primitive.

SEE ALSO
       EZ_Color3f(3), EZ_Normal3f(3), EZ_Vertex3f(3), EZ_ColorMaterial(3)

EZWGL							      EZ_ShadeModel(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_ShadeModel&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help