NOP: there's nothing to clear on the PVR2. Provided to ease porting.
Sets the background color. Alpha parameter has no effect.
Set face culling mode. Valid states are GL_FRONT and GL_BACK. Default state is GL_BACK.
Disable GL states. See table in section ,
on page
.
Enable GL states.
State | Description / Notes | Initial Value |
GL_BLEND | NOP: will be available once the PVR scene rendering API is completed. For now use glKosFinishList() to switch to the transparent polygon list. | GL_FALSE |
GL_CULL_FACE | Polygon culling | GL_FALSE |
GL_FOG | PVR table fog | GL_FALSE |
GL_KOS_AUTO_UV | Automatically assign texture coordinates to GL_QUAD primatives. | GL_FALSE |
GL_KOS_USERCLIP_OUTSIDE | Drawn polys are clipped to the outside of the scissor box. | GL_FALSE |
GL_SCISSIOR_TEST | Drawn polys are clipped to the inside of the the scissor box. | GL_FALSE |
GL_TEXTURE_2D | 2D texturing | GL_FALSE |
Set polygon front face. Valid modes are GL_CW and GL_CCW. Default mode is GL_CCW. Note: In KGL prior to KOS-1.1.7 the default was GL_CW and could not be changed.
NOP: There is no rendering pipeline.
NOP: It's our way or no way. KGL_DONT_CARE =D Provided
to ease porting.
Valid target values | Valid modes |
GL_PERSPECTIVE_CORRECTION_HINT | GL_DONT_CARE |
GL_POINT_SMOOTH_HINT | GL_FASTEST |
GL_LINE_SMOOTH_HINT | GL_NICEST |
GL_POLYGON_SMOOTH_HINT | |
GL_FOG_HINT |