35 qDeleteAll( mRenderers );
40 mRenderers.insert( metadata->
type(), metadata );
45 delete mRenderers.take( type );
50 return mRenderers.value( type );
55 return mRenderers.keys();
void removeRenderer(const QString &type)
Unregisters a 3D renderer type.
QStringList renderersList() const
Returns a list of all available 3D renderer types.
Qgs3DRendererAbstractMetadata * rendererMetadata(const QString &type) const
Returns metadata for a 3D renderer type (may be used to create a new instance of the type)
void addRenderer(Qgs3DRendererAbstractMetadata *metadata)
Registers a new 3D renderer type.