|
QGIS API Documentation 4.1.0-Master (31622b25bb0)
|
A singleton class containing various registries and other global members related to 3D classes. More...
#include <qgs3d.h>
Public Member Functions | |
| Qgs3D (const Qgs3D &other)=delete | |
| ~Qgs3D () | |
| Qgs3D & | operator= (const Qgs3D &other)=delete |
Static Public Member Functions | |
| static const QgsAbstractMaterial3DHandler * | handlerForMaterialSettings (const QgsAbstractMaterialSettings *settings) |
| Returns the handler to use for a material settings. | |
| static void | initialize () |
| Initializes the 3D framework. | |
| static Qgs3D * | instance () |
| Returns a pointer to the singleton instance. | |
| static QgsMaterialRegistry * | materialRegistry () |
| Returns the material registry, used for managing 3D materials. | |
| static Qgs3DTerrainRegistry * | terrainRegistry () |
| Returns the terrain registry, used for managing 3D terrains. | |
| static QgsMaterial * | toMaterial (const QgsAbstractMaterialSettings *settings, Qgis::MaterialRenderingTechnique technique, const QgsMaterialContext &context) |
| Creates a new QgsMaterial object representing the material settings. | |
Static Public Attributes | |
| static constexpr int | NUM_SHADOW_CASCADES = 4 |
| Number of shadow map cascades. | |
| static const QgsSettingsEntryBool * | settingMsaaEnabled = new QgsSettingsEntryBool( u"msaa-enabled"_s, QgsSettingsTree::sTree3DMap, true, u"Whether MSAA is enabled for 3D map rendering"_s ) |
| static const QgsSettingsEntryEnumFlag< Qgis::ShadowQuality > * | settingShadowQuality = new QgsSettingsEntryEnumFlag<Qgis::ShadowQuality>( u"shadow-quality"_s, QgsSettingsTree::sTree3DMap, Qgis::ShadowQuality::High, u"Shadow rendering quality"_s ) |
| static const QgsSettingsEntryEnumFlag< Qgis::TextureFilterQuality > * | settingTextureFilterQuality = new QgsSettingsEntryEnumFlag<Qgis::TextureFilterQuality>( u"texture-filter"_s, QgsSettingsTree::sTree3DMap, Qgis::TextureFilterQuality::Anisotropic16x, u"Texture filter quality"_s ) |
A singleton class containing various registries and other global members related to 3D classes.
|
delete |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Creates a new QgsMaterial object representing the material settings.
The technique argument specifies the rendering technique which will be used with the returned material.
|
staticconstexpr |
|
static |
|
static |
|
static |