QGIS/python/core/auto_generated/tiledscene/qgstiledscenetexturerenderer.sip.in
Nyall Dawson 13fe41dc0e Add a fallback fill symbol to the 2d tiled scene texture renderer
to use when scenes have no textures available for some primitives

Since there's no way to determine in advance whether or not a scene
will actually have textures, this prevents the non-ideal situation
arising where no content is shown on the map because we default
to the texture renderer and don't have any textures to draw.
2023-08-24 18:27:23 +10:00

86 lines
2.7 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledscene/qgstiledscenetexturerenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTiledSceneTextureRenderer : QgsTiledSceneRenderer
{
%Docstring(signature="appended")
Renders tiled scene layers using textures.
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgstiledscenetexturerenderer.h"
%End
public:
QgsTiledSceneTextureRenderer();
%Docstring
Constructor for QgsTiledSceneTextureRenderer.
%End
~QgsTiledSceneTextureRenderer();
virtual QString type() const;
virtual QgsTiledSceneRenderer *clone() const;
virtual QDomElement save( QDomDocument &doc, const QgsReadWriteContext &context ) const;
virtual Qgis::TiledSceneRendererFlags flags() const;
virtual void renderTriangle( QgsTiledSceneRenderContext &context, const QPolygonF &triangle );
virtual void renderLine( QgsTiledSceneRenderContext &context, const QPolygonF &line );
virtual void startRender( QgsTiledSceneRenderContext &context );
virtual void stopRender( QgsTiledSceneRenderContext &context );
static QgsTiledSceneRenderer *create( QDomElement &element, const QgsReadWriteContext &context ) /Factory/;
%Docstring
Creates a textured renderer from an XML ``element``.
%End
static QgsFillSymbol *createDefaultFillSymbol() /Factory/;
%Docstring
Returns a copy of the default fill symbol used to render triangles without textures.
.. seealso:: :py:func:`setFillSymbol`
%End
QgsFillSymbol *fillSymbol() const;
%Docstring
Returns the fill symbol used to render triangles without textures.
.. seealso:: :py:func:`setFillSymbol`
%End
void setFillSymbol( QgsFillSymbol *symbol /Transfer/ );
%Docstring
Sets the fill ``symbol`` used to render triangles without textures.
Ownership of ``symbol`` is transferred.
.. seealso:: :py:func:`fillSymbol`
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledscene/qgstiledscenetexturerenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/