picogl.backend.legacy.core.pipeline =================================== .. py:module:: picogl.backend.legacy.core.pipeline Attributes ---------- .. autoapisummary:: picogl.backend.legacy.core.pipeline.LegacyPipeline Classes ------- .. autoapisummary:: picogl.backend.legacy.core.pipeline.LegacyPipelineProtocol picogl.backend.legacy.core.pipeline.GLLegacyPipeline Module Contents --------------- .. py:class:: LegacyPipelineProtocol Bases: :py:obj:`Protocol` Fixed-function and immediate-mode pipeline operations (legacy gl only). .. py:method:: set_matrix_mode_model_view() .. py:method:: set_matrix_mode_projection() .. py:method:: load_identity() .. py:method:: set_perspective(fovy, aspect, znear, zfar) .. py:method:: set_projection(fovy, aspect, znear, zfar) .. py:method:: translate(x, y, z) .. py:method:: set_light(position, light: Any = ...) .. py:method:: set_material(face, material) .. py:method:: set_color_material(face=..., mode=...) .. py:method:: set_color(rgba) .. py:method:: set_uniform_color(color, alpha) .. py:method:: tex_coord2f(coord: picogl.backend.gl.state.texture.TexCoord2f) .. py:method:: vertex_3f(v1: picogl.backend.gl.state.texture.Vertex3f) .. py:class:: GLLegacyPipeline Fixed-function matrix, light, and material operations. .. py:method:: set_matrix_mode_model_view() :staticmethod: .. py:method:: set_matrix_mode_projection() :staticmethod: .. py:method:: load_identity() :staticmethod: .. py:method:: set_perspective(fovy, aspect, znear, zfar) :staticmethod: .. py:method:: set_projection(fovy, aspect, znear, zfar) :staticmethod: .. py:method:: translate(x, y, z) :staticmethod: .. py:method:: set_light(position, light=GLLight.LIGHT0) :staticmethod: .. py:method:: set_material(face, material) :staticmethod: .. py:method:: set_color_material(face=GLFace.FRONT_AND_BACK, mode=GLColorMaterialMode.AMBIENT_AND_DIFFUSE) :staticmethod: .. py:method:: set_color(rgba) :staticmethod: .. py:method:: set_uniform_color(color, alpha) .. py:method:: tex_coord2f(coord: picogl.backend.gl.state.texture.TexCoord2f) :staticmethod: .. py:method:: vertex_3f(v1: picogl.backend.gl.state.texture.Vertex3f) :staticmethod: .. py:data:: LegacyPipeline