mirror of
https://github.com/godotengine/FBX2glTF.git
synced 2025-12-31 21:48:37 +03:00
23 lines
589 B
C++
23 lines
589 B
C++
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "gltf/Raw2Gltf.hpp"
|
|
|
|
struct TextureData : Holdable {
|
|
TextureData(std::string name, const SamplerData& sampler, const ImageData& source);
|
|
|
|
json serialize() const override;
|
|
|
|
const std::string name;
|
|
const uint32_t sampler;
|
|
const uint32_t source;
|
|
};
|