Path: blob/master/thirdparty/metal-cpp/MetalFX/MTL4FXSpatialScaler.hpp
21361 views
//-------------------------------------------------------------------------------------------------------------------------------------------------------------1//2// MetalFX/MTL4FXSpatialScaler.hpp3//4// Copyright 2020-2025 Apple Inc.5//6// Licensed under the Apache License, Version 2.0 (the "License");7// you may not use this file except in compliance with the License.8// You may obtain a copy of the License at9//10// http://www.apache.org/licenses/LICENSE-2.011//12// Unless required by applicable law or agreed to in writing, software13// distributed under the License is distributed on an "AS IS" BASIS,14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.15// See the License for the specific language governing permissions and16// limitations under the License.17//18//-------------------------------------------------------------------------------------------------------------------------------------------------------------1920#pragma once2122//-------------------------------------------------------------------------------------------------------------------------------------------------------------2324#include "MTLFXDefines.hpp"25#include "MTLFXPrivate.hpp"2627#include "MTLFXSpatialScaler.hpp"28#include "../Metal/Metal.hpp"2930//-------------------------------------------------------------------------------------------------------------------------------------------------------------3132namespace MTL4FX33{34class SpatialScaler : public NS::Referencing< SpatialScaler, MTLFX::SpatialScalerBase >35{36public:37void encodeToCommandBuffer( MTL4::CommandBuffer* pCommandBuffer );38};39}4041//-------------------------------------------------------------------------------------------------------------------------------------------------------------4243_MTLFX_INLINE void MTL4FX::SpatialScaler::encodeToCommandBuffer( MTL4::CommandBuffer* pCommandBuffer )44{45Object::sendMessage< void >( this, _MTLFX_PRIVATE_SEL( encodeToCommandBuffer_ ), pCommandBuffer );46}4748//-------------------------------------------------------------------------------------------------------------------------------------------------------------495051