DevIL Documentation Home | Previous | Next

ilutPushAttrib

The ilutPushAttrib function pushes the s


ILvoid ilutPushAttrib(
  ILuint Bits
);


Parameters

Bits
Attribute bits to push. Values accepted are:
ILUT_OPENGL_BIT
Preserves all OpenGL states.
ILUT_ALL_ATTRIB_BITS
Preserves all OpenILUT states and attributes.

Remarks

ilutPushAttrib pushes a new set of modes and attributes onto the state stack, allowing for "a fresh start".

Error Codes

ILUT_STACK_OVERFLOW - The stack was pushed more times than the current OpenILUT implementation allows. Use ilutPopAttrib to clear the stack. OpenILUT implementations must support a stack depth of at least 32.

See Also

ilutPopAttrib