mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 05:08:31 +09:00
23 lines
1.2 KiB
C++
23 lines
1.2 KiB
C++
// MobileGL - MobileGL/MG_Util/Texture/PixelStoreProcessor.h
|
|
// Copyright (c) 2025-2026 MobileGL-Dev
|
|
// Licensed under the GNU Lesser General Public License v3.0:
|
|
// https://www.gnu.org/licenses/gpl-3.0.txt
|
|
// https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
// End of Source File Header
|
|
|
|
#pragma once
|
|
#include <Includes.h>
|
|
#include <MG_State/GLState/RenderState/RenderState.h>
|
|
#include "MG_State/GLState/TextureState/TextureEnum.h"
|
|
#include "MG_Util/Metrics/TextureMetrics.h"
|
|
|
|
namespace MobileGL::MG_Util::PixelStoreProcessor {
|
|
void* ProcessTexturePixelsDataUnpack(const void* inputPixels, const PixelStoreParameters& params,
|
|
TextureInternalFormat targetInternalFormat,
|
|
TextureInputFormat textureInputFormat, TexturePixelDataType inputDataType,
|
|
IntVec3 dimension, Bool isBitmap, SizeT& outSize);
|
|
void* ProcessTexturePixelsDataPack(const void* inputPixels, const PixelStoreParameters& params, SizeT pixelSize,
|
|
IntVec3 dimension, Bool isBitmap, SizeT& outSize);
|
|
} // namespace MobileGL::MG_Util::PixelStoreProcessor
|