gh_renderer LibraryDescriptiongh_renderer is the module that talks directly with the graphics hardware. Number of functions: 51
gh_renderer.set_vsyncDescriptionEnables or disables the vertical synchronization. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.pointDescriptionEnables the POINT rendering mode. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_renderer.wireframeDescriptionEnables the WIREFRAME (or LINE) rendering mode. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_renderer.solidDescriptionEnables the SOLID rendering mode. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_renderer.get_opengl_errorDescriptionReturns the OpenGL error code or 0 if no error. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_capability_4iDescriptionGets a hardware capability. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_renderer.enable_stateDescriptionEnables a rendering state. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.disable_stateDescriptionDisables a rendering state. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_viewportDescriptionSets the viewport. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_scissorDescriptionSets the scissor rectangle. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_viewport_scissorDescriptionSets the viewport and the scissor rectangle in the same call. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_viewport_scissor_ptrDescriptionSets the viewport and the scissor rectangle in the same call. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_scissor_stateDescriptionEnables or disable the scissor test. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_color_bufferDescriptionClear the color buffer with a RGBA color. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_color_buffer_ptrDescriptionClear the color buffer with a RGBA color. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_depth_bufferDescriptionClear the depth buffer. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_depth_buffer_ptrDescriptionClear the depth buffer. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_color_depth_buffersDescriptionClear the color and depth buffers in the same call. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.clear_color_depth_buffers_ptrDescriptionClear the color and depth buffers in the same call. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_depth_test_stateDescriptionEnables or disable the depth test. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_depth_test_state_ptrDescriptionEnables or disable the depth test. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_depth_test_funcDescriptionSets the depth test function. LanguagesLua - Python Parameters
Return ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_set_cull_stateDescriptionEnables or disable the face culling state. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_set_cull_faceDescriptionSets the face type to be culled. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_set_polygon_modeDescriptionSets the polygon rendering mode. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_set_polygon_mode_ptrDescriptionSets the polygon rendering mode. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_apply_statesDescriptionApplies all states modified with gh_renderer.rasterizer_xxxx() functions. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_renderer.rasterizer_apply_states_ptrDescriptionApplies all states modified with gh_renderer.rasterizer_xxxx() functions. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_blending_stateDescriptionEnables or disables the color blending. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_blending_state_ptrDescriptionEnables or disables the color blending. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_blending_factorsDescriptionSets the source and destination blending factors. LanguagesLua - Python Parameters
Return ValuesThis function has no return value(s). Code sample
gh_renderer.set_blending_factors_ptrDescriptionSets the source and destination blending factors. LanguagesLua - Python Parameters
Return ValuesThis function has no return value(s). Code sample
gh_renderer.update_fixed_mvp_matricesDescriptionUpdates the fixed modelview and projection matrices from a camera and an object. No GPU program is required for the rendering of the object. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.update_fixed_mvp_matrices_ptrDescriptionUpdates the fixed modelview and projection matrices from a camera and an object. No GPU program is required for the rendering of the object. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.get_api_version_majorDescriptionGets OpenGL major version number. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_api_version_minorDescriptionGets OpenGL minor version number. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_api_versionDescriptionGets the OpenGL version. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_renderer_modelDescriptionGets the model of the renderer (the name of the graphics card). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_renderer_vendorDescriptionGets the vendor of the renderer (the name of the graphics card GPU maker). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_shading_language_versionDescriptionGets the GLSL version. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_num_opengl_extensionsDescriptionReturns the number of OpenGL extensions. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_opengl_extensionDescriptionReturns the name of a particular OpenGL extension. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_renderer.check_opengl_extensionDescriptionChecks if a particular OpenGL extension is exposed. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_renderer.set_texture2d_stateDescriptionEnables or disable the texturing state of the fixed pipeline. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_texture2d_state_ptrDescriptionEnables or disable the texturing state of the fixed pipeline. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.display_progress_barDescriptionRenders a progress bar. The progress bar percent is set with gh_utils.set_progress_bar_percent(). Both functions can be used in an INIT script to draw a progress bar while loading data. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.set_virtual_screenDescriptionSets the current virtual screen (Mac OS X only). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_renderer.get_virtual_screenDescriptionGets the current virtual screen (Mac OS X only). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.get_num_virtual_screensDescriptionGets the number of virtual screens (Mac OS X only). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_renderer.update_virtual_screenDescriptionUpdates the virtual screen. Call this function after a change of virtual screen (Mac OS X only). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
gh_renderer.memory_barrierDescriptionBased on OpenGL glMemoryBarrier: defines a barrier ordering memory transactions. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
2013-2015 Geeks3D. All Rights Reserved. .:- G3D Network -:. |