picogl.backend.gl.api.legacy.attrib

Legacy attribute stack wrappers.

Functions

gl_push_attrib(mask) → None

Push server attribute bits onto the attribute stack.

gl_pop_attrib() → None

Pop server attribute bits from the attribute stack.

Module Contents

picogl.backend.gl.api.legacy.attrib.gl_push_attrib(mask: picogl.backend.gl.enums.bitmask.GLBitMask | int) → None[source]

Push server attribute bits onto the attribute stack.

picogl.backend.gl.api.legacy.attrib.gl_pop_attrib() → None[source]

Pop server attribute bits from the attribute stack.