forked from bartvdbraak/blender
patch, 7340 from frank richter add glPush/PopClientAttrib
This commit is contained in:
parent
919e5baba8
commit
51ca77a114
@ -618,10 +618,12 @@ BGL_Wrap(2, PolygonMode, void, (GLenum, GLenum))
|
||||
BGL_Wrap(2, PolygonOffset, void, (GLfloat, GLfloat))
|
||||
BGL_Wrap(1, PolygonStipple, void, (GLubyteP))
|
||||
BGL_Wrap(1, PopAttrib, void, (void))
|
||||
BGL_Wrap(1, PopClientAttrib, void, (void))
|
||||
BGL_Wrap(1, PopMatrix, void, (void))
|
||||
BGL_Wrap(1, PopName, void, (void))
|
||||
BGL_Wrap(3, PrioritizeTextures, void, (GLsizei, GLuintP, GLclampfP))
|
||||
BGL_Wrap(1, PushAttrib, void, (GLbitfield))
|
||||
BGL_Wrap(1, PushClientAttrib, void, (GLbitfield))
|
||||
BGL_Wrap(1, PushMatrix, void, (void))
|
||||
BGL_Wrap(1, PushName, void, (GLuint))
|
||||
BGL_Wrap(2, RasterPos2d, void, (GLdouble, GLdouble))
|
||||
@ -951,10 +953,12 @@ static struct PyMethodDef BGL_methods[] = {
|
||||
MethodDef(PolygonOffset),
|
||||
MethodDef(PolygonStipple),
|
||||
MethodDef(PopAttrib),
|
||||
MethodDef(PopClientAttrib),
|
||||
MethodDef(PopMatrix),
|
||||
MethodDef(PopName),
|
||||
MethodDef(PrioritizeTextures),
|
||||
MethodDef(PushAttrib),
|
||||
MethodDef(PushClientAttrib),
|
||||
MethodDef(PushMatrix),
|
||||
MethodDef(PushName),
|
||||
MethodDef(RasterPos2d),
|
||||
|
@ -1213,6 +1213,12 @@ def glPopAttrib():
|
||||
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushattrib.html}
|
||||
"""
|
||||
|
||||
def glPopClientAttrib():
|
||||
"""
|
||||
Pop the client attribute stack
|
||||
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html}
|
||||
"""
|
||||
|
||||
def glPopMatrix():
|
||||
"""
|
||||
Pop the current matrix stack
|
||||
@ -1248,6 +1254,15 @@ def glPushAttrib(mask):
|
||||
@param mask: Specifies a mask that indicates which attributes to save.
|
||||
"""
|
||||
|
||||
def glPushClientAttrib(mask):
|
||||
"""
|
||||
Push the client attribute stack
|
||||
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html}
|
||||
|
||||
@type mask: Enumerated constant(s)
|
||||
@param mask: Specifies a mask that indicates which attributes to save.
|
||||
"""
|
||||
|
||||
def glPushMatrix():
|
||||
"""
|
||||
Push the current matrix stack
|
||||
|
Loading…
Reference in New Issue
Block a user