载入中...
搜索中...
未找到
SdfField3D.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include <cstdint>
#include <vector>

浏览源代码.

类

class  eve::ISdfField3D
 Borrowed 3D signed-distance field for cross-module collision queries. 更多...
 
struct  eve::SdfField3DBlob
 Portable dense SDF asset blob (schema id + version + samples). 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

枚举

enum class  eve::SdfField3DGradientStatus { eve::Defined , eve::Undefined }
 Outcome of sampling a 3D SDF gradient. 更多...
 
enum class  eve::SdfField3DSampleKind : std::uint8_t { eve::VertexGrid = 1 }
 Dense regular-grid sample layout used by the shared SDF interchange blob. 更多...
 

函数

Result< Value > eve::encodeSdfField3DBlob (const SdfField3DBlob &blob)
 Encode a validated SDF blob to a Value object. @cost Copies the distance sample buffer into the Value array once.
 
Result< SdfField3DBlob > eve::decodeSdfField3DBlob (const Value &value)
 Decode a Value object into an owning SDF blob. @cost Allocates and copies the distance sample buffer once on success.
 
Result< void > eve::validateSdfField3DBlob (const SdfField3DBlob &blob)
 Validate dimensions, finiteness and sample count without encoding.