载入中...
搜索中...
未找到
PcgMeshLod.h
浏览该文件的文档.
53 friend EVENGINE_API_DOMAINS Result<int> combinePcgStaticMeshesInto(MeshBuild&, const PcgMeshCombinePlan&);
67 [[nodiscard]] Result<void> appendSource(const MeshBuild& mesh, const PcgMeshTransform& transform,
75 friend EVENGINE_API_DOMAINS Result<int> combinePcgStaticMeshesInto(MeshBuild&, const PcgMeshCombinePlan&);
103 [[nodiscard]] Result<void> setLevelRendererState(int index, int skinQuality, int shadowCastingMode,
117 [[nodiscard]] float getCrossFadeAnimationDuration() const noexcept { return crossFadeAnimationDuration_; }
157 [[nodiscard]] float getSwitchDistance(int level, float worldDiameter, float verticalFovDegrees) const noexcept;
169 [[nodiscard]] float getCrossFadeAnimationDuration() const noexcept { return crossFadeAnimationDuration_; }
188[[nodiscard]] EVENGINE_API_DOMAINS Result<void> buildPcgMeshLodsInto(PcgMeshLodSet& output, const MeshBuild& source,
199[[nodiscard]] EVENGINE_API_DOMAINS Result<void> buildPcgCombinedMeshLodsInto(PcgMeshLodSet& output,
Move-only, checked operation results for the common layer.
CPU triangle mesh from procedural mesh recipes (e.g. marching cubes). Positions/normals are xyz-packe...
Definition MeshBuild.h:19
Owned ordered input plan for Pcg static MeshCombiner.
Definition PcgMeshLod.h:64
Mutable value profile for at most four native renderer LOD levels.
Definition PcgMeshLod.h:97
const std::vector< PcgMeshLodLevel > & levels() const noexcept
Borrow all levels for synchronous native compilation. @ownership The profile retains ownership....
Definition PcgMeshLod.h:129
bool getAnimateCrossFading() const noexcept
Return whether transitions advance from injected dt.
Definition PcgMeshLod.h:115
float getCrossFadeAnimationDuration() const noexcept
Return time-driven transition duration in seconds.
Definition PcgMeshLod.h:117
int getLevelCount() const noexcept
Return the number of configured levels.
Definition PcgMeshLod.h:121
Owned generic mesh LOD output generated with Pcg's independent-per-level policy.
Definition PcgMeshLod.h:144
bool getAnimateCrossFading() const noexcept
Return whether transitions use injected time.
Definition PcgMeshLod.h:167
int getFadeMode() const noexcept
Return Unity LODFadeMode copied from the build profile.
Definition PcgMeshLod.h:165
float getCrossFadeAnimationDuration() const noexcept
Return injected-time transition duration.
Definition PcgMeshLod.h:169
int getLevelCount() const noexcept
Return the number of complete generated levels.
Definition PcgMeshLod.h:147
Row-major affine matrix used by Pcg's root-relative static mesh combination.
Definition PcgMeshLod.h:43
Definition EvpackPointGraphLoader.h:12
Result< int > combinePcgStaticMeshesInto(MeshBuild &output, const PcgMeshCombinePlan &plan)
Combine static meshes with Pcg material deduplication and root-relative transforms.
Definition PcgMeshLod.cpp:52
Result< void > buildPcgCombinedMeshLodsInto(PcgMeshLodSet &output, const PcgMeshCombinePlan &plan, const PcgMeshLodProfile &profile)
Combine an ordered static-renderer plan and generate every combined LOD atomically.
Definition PcgMeshLod.cpp:255
Result< void > buildPcgMeshLodsInto(PcgMeshLodSet &output, const MeshBuild &source, const PcgMeshLodProfile &profile)
Generate a complete generic Pcg LOD chain and publish it atomically.
Definition PcgMeshLod.cpp:232
GTS mesh simplification controls supported by MeshBuild streams.
Definition GtsMeshSimplifier.h:6
One UnityMeshSimplifierPcg LOD level translated to native mesh settings.
Definition PcgMeshLod.h:80
GtsMeshSimplificationOptions simplification
Definition PcgMeshLod.h:86
float screenRelativeTransitionHeight
Definition PcgMeshLod.h:81
float fadeTransitionWidth
Definition PcgMeshLod.h:82
Pcg/Unity renderer policies retained per generated mesh LOD.
Definition PcgMeshLod.h:32
bool skinnedMotionVectors
Definition PcgMeshLod.h:37
int reflectionProbeUsage
Definition PcgMeshLod.h:39
int shadowCastingMode
Definition PcgMeshLod.h:34
int motionVectorMode
Definition PcgMeshLod.h:36