|
| GLRenderSystem () |
|
| ~GLRenderSystem () |
|
void | _copyContentsToMemory (Viewport *vp, const Box &src, const PixelBox &dst, RenderWindow::FrameBuffer buffer) override |
| Copies the current contents of the render target to a pixelbox.
|
|
DepthBuffer * | _createDepthBufferFor (RenderTarget *renderTarget) override |
|
RenderWindow * | _createRenderWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) override |
|
void | _endFrame (void) override |
|
GLStateCacheManager * | _getStateCacheManager () |
|
void | _initialise () override |
|
void | _oneTimeContextInitialization () override |
|
void | _render (const RenderOperation &op) override |
|
void | _setAlphaRejectSettings (CompareFunction func, unsigned char value, bool alphaToCoverage) override |
|
void | _setCullingMode (CullingMode mode) override |
|
void | _setDepthBias (float constantBias, float slopeScaleBias) override |
|
void | _setDepthBufferParams (bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL) override |
|
void | _setFog (FogMode mode) |
|
void | _setLineWidth (float width) override |
|
void | _setPointParameters (bool attenuationEnabled, Real minSize, Real maxSize) override |
|
void | _setPointSpritesEnabled (bool enabled) override |
|
void | _setPolygonMode (PolygonMode level) override |
|
void | _setRenderTarget (RenderTarget *target) override |
| Set current render target to target, enabling its GL context if needed.
|
|
void | _setSampler (size_t unit, Sampler &sampler) override |
|
void | _setSurfaceTracking (TrackVertexColourType tracking) |
|
void | _setTexture (size_t unit, bool enabled, const TexturePtr &tex) override |
|
void | _setTextureBlendMode (size_t stage, const LayerBlendModeEx &bm) override |
|
void | _setTextureCoordCalculation (size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0) override |
|
void | _setTextureCoordSet (size_t stage, size_t index) override |
|
void | _setTextureMatrix (size_t stage, const Matrix4 &xform) override |
|
void | _setViewport (Viewport *vp) override |
|
void | _switchContext (GLContext *context) |
| Switch GL context, dealing with involved internal cached states too.
|
|
void | _unregisterContext (GLContext *context) override |
| Unregister a render target->context mapping.
|
|
void | _useLights (unsigned short limit) override |
|
void | applyFixedFunctionParams (const GpuProgramParametersPtr ¶ms, uint16 variabilityMask) override |
|
void | beginProfileEvent (const String &eventName) override |
| This marks the beginning of an event for GPU profiling.
|
|
void | bindGpuProgram (GpuProgram *prg) override |
|
void | bindGpuProgramParameters (GpuProgramType gptype, const GpuProgramParametersPtr ¶ms, uint16 variabilityMask) override |
|
void | clearFrameBuffer (unsigned int buffers, const ColourValue &colour=ColourValue::Black, float depth=1.0f, unsigned short stencil=0) override |
|
HardwareOcclusionQuery * | createHardwareOcclusionQuery (void) override |
|
MultiRenderTarget * | createMultiRenderTarget (const String &name) override |
|
RenderSystemCapabilities * | createRenderSystemCapabilities () const override |
|
void | destroyRenderWindow (const String &name) override |
|
void | enableClipPlane (ushort index, bool enable) |
|
void | endProfileEvent (void) override |
| Ends the currently active GPU profiling event.
|
|
const GpuProgramParametersPtr & | getFixedFunctionParams (TrackVertexColourType tracking, FogMode fog) override |
|
const String & | getName (void) const override |
|
void | initConfigOptions () override |
|
void | initialiseFromRenderSystemCapabilities (RenderSystemCapabilities *caps, RenderTarget *primary) override |
|
void | markProfileEvent (const String &eventName) override |
| Marks an instantaneous event for graphics profilers.
|
|
void | setClipPlane (ushort index, Real A, Real B, Real C, Real D) |
|
void | setColourBlendState (const ColourBlendState &state) override |
|
void | setLightingEnabled (bool enabled) override |
|
void | setNormaliseNormals (bool normalise) override |
|
void | setProjectionMatrix (const Matrix4 &m) |
|
void | setScissorTest (bool enabled, const Rect &rect=Rect()) override |
|
void | setShadingType (ShadeOptions so) override |
|
void | setStencilState (const StencilState &state) override |
|
void | setViewMatrix (const Matrix4 &m) |
|
void | setWorldMatrix (const Matrix4 &m) |
|
void | shutdown (void) override |
|
void | unbindGpuProgram (GpuProgramType gptype) override |
|
Implementation of GL as a rendering system.