DevIL Documentation | Home | Previous | Next |
The ilPushAttrib function pushes the states indicated by bits onto the state stack.
ILvoid ilPushAttrib(
ILuint Bits
);
ilPushAttrib pushes a new set of modes and attributes onto the state stack, allowing for "a fresh start".
IL_STACK_OVERFLOW - The stack was pushed more times than the current OpenIL implementation allows. Use ilPopAttrib to clear the stack. OpenIL implementations must support a stack depth of at least 32.