初始提交: UE5.3项目基础框架
This commit is contained in:
26
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltf/SamplerUtility.h
vendored
Normal file
26
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltf/SamplerUtility.h
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace CesiumGltf {
|
||||
/**
|
||||
* @brief Applies a sampler's WrapS value to the given U component of a texture
|
||||
* coordinate.
|
||||
*
|
||||
* @param u The U coordinate to apply the sampler wrap value to.
|
||||
* @param wrapS The sampler's WrapS value, matching a member of \ref
|
||||
* Sampler::WrapS, to apply.
|
||||
* @returns The U coordinate after applying the WrapS operation.
|
||||
*/
|
||||
double applySamplerWrapS(const double u, const int32_t wrapS);
|
||||
/**
|
||||
* @brief Applies a sampler's WrapT value to the given V component of a texture
|
||||
* coordinate.
|
||||
*
|
||||
* @param v The V coordinate to apply the sampler wrap value to.
|
||||
* @param wrapT The sampler's WrapT value, matching a member of \ref
|
||||
* Sampler::WrapT, to apply.
|
||||
* @returns The V coordinate after applying the WrapT operation.
|
||||
*/
|
||||
double applySamplerWrapT(const double v, const int32_t wrapT);
|
||||
} // namespace CesiumGltf
|
||||
Reference in New Issue
Block a user