/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "FFilamentAsset.h" using namespace filament; using namespace utils; namespace gltfio { using namespace details; size_t FilamentAsset::getEntityCount() const noexcept { return upcast(this)->getEntityCount(); } const Entity* FilamentAsset::getEntities() const noexcept { return upcast(this)->getEntities(); } Entity FilamentAsset::getRoot() const noexcept { return upcast(this)->getRoot(); } size_t FilamentAsset::getMaterialInstanceCount() const noexcept { return upcast(this)->getMaterialInstanceCount(); } const MaterialInstance* const* FilamentAsset::getMaterialInstances() const noexcept { return upcast(this)->getMaterialInstances(); } size_t FilamentAsset::getBufferBindingCount() const noexcept { return upcast(this)->getBufferBindingCount(); } const BufferBinding* FilamentAsset::getBufferBindings() const noexcept { return upcast(this)->getBufferBindings(); } size_t FilamentAsset::getTextureBindingCount() const noexcept { return upcast(this)->getTextureBindingCount(); } const TextureBinding* FilamentAsset::getTextureBindings() const noexcept { return upcast(this)->getTextureBindings(); } filament::Aabb FilamentAsset::getBoundingBox() const noexcept { return upcast(this)->getBoundingBox(); } Animator* FilamentAsset::getAnimator() noexcept { return upcast(this)->getAnimator(); } void FilamentAsset::releaseSourceData() noexcept { return upcast(this)->releaseSourceData(); } } // namespace gltfio