You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
369 B
C++
18 lines
369 B
C++
11 months ago
|
/*
|
||
|
SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
|
||
|
|
||
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
||
|
*/
|
||
|
|
||
|
#include "ManagedTextureNode.h"
|
||
|
|
||
|
ManagedTextureNode::ManagedTextureNode()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void ManagedTextureNode::setTexture(QSharedPointer<QSGTexture> texture)
|
||
|
{
|
||
|
m_texture = texture;
|
||
|
QSGSimpleTextureNode::setTexture(texture.data());
|
||
|
}
|