File indexing completed on 2024-12-22 03:45:40

0001 /*
0002     SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "managedtexturenode.h"
0008 
0009 ManagedTextureNode::ManagedTextureNode()
0010 {
0011 }
0012 
0013 void ManagedTextureNode::setTexture(QSharedPointer<QSGTexture> texture)
0014 {
0015     m_texture = texture;
0016     QSGSimpleTextureNode::setTexture(texture.data());
0017 }