载入中...
搜索中...
未找到
VegetationFieldGpu.h
浏览该文件的文档.
72 IResourceFactory& factory, const VegetationField& field, glm::vec3 center, glm::vec3 extent, uint32_t width,
79 IResourceFactory& factory, const VegetationField& field, glm::vec3 center, glm::vec3 extent, uint32_t width,
84 IResourceFactory& factory, const VegetationField& field, glm::vec3 center, glm::vec3 extent, uint32_t width,
89 IResourceFactory& factory, const VegetationField& field, glm::vec3 center, glm::vec3 extent, uint32_t width,
99 IResourceFactory& factory, const VegetationField& field, glm::vec3 center, glm::vec3 extent, uint32_t width,
109 IResourceFactory& factory, std::span<const VegetationAtlas, 9> layers, std::uint64_t sourceRevision);
117 std::span<const VegetationChannelAtlas, 9> extras, std::span<const VegetationChannelAtlas, 9> motion,
126[[nodiscard]] EVENGINE_API_BACKENDS Result<void> releaseVegetationGpuFieldSet(IResourceFactory& factory,
Move-only, checked operation results for the common layer.
Texture / mesh / shader / canvas creation and release.
Definition IResourceFactory.h:38
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
Backend-independent, owning vegetation influence field. Single writer; concurrent const evaluation is...
Definition VegetationField.h:86
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Result< void > releaseVegetationGpuFieldSet(IResourceFactory &factory, VegetationGpuFieldSet &set)
Release every texture still present in a detached field set. Successful entries are nulled....
Definition VegetationFieldGpu.cpp:134
Result< VegetationGpuFieldSet > uploadVegetationGpuFieldSet(IResourceFactory &factory, const VegetationField &field, glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height, bool snapToTexel)
Bake and upload all four nine-layer projections as one publication. Earlier uploads are released if a...
Definition VegetationFieldGpu.cpp:150
Result< void > bindVegetationGpuFields(PbrSurface &surface, const VegetationField &field, const VegetationExtrasGpuAtlas &extras, const VegetationColorsGpuAtlas &colors, const VegetationMotionGpuAtlas &motion, const VegetationVertexGpuAtlas &vertex, const VegetationGpuRuntime &runtime)
Atomically bind four coherent GPU projections to an owning PBR parameter snapshot.
Definition VegetationFieldGpu.cpp:385
Result< VegetationExtrasGpuAtlas > uploadVegetationExtrasAtlas(IResourceFactory &factory, const VegetationField &field, glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height, bool snapToTexel)
Bake and atomically upload all nine Extras layers as a linear RGBA16F 2D array.
Definition VegetationFieldGpu.cpp:110
Result< VegetationVertexGpuAtlas > uploadVegetationVertexAtlas(IResourceFactory &factory, const VegetationField &field, glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height, bool snapToTexel)
Bake and atomically upload all nine Vertex layers as a linear RGBA16F 2D array.
Definition VegetationFieldGpu.cpp:128
Result< VegetationMotionGpuAtlas > uploadVegetationMotionAtlas(IResourceFactory &factory, const VegetationField &field, glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height, bool snapToTexel)
Bake and atomically upload all nine Motion layers as a linear RGBA16F 2D array.
Definition VegetationFieldGpu.cpp:122
Result< VegetationColorsGpuAtlas > uploadVegetationColorsAtlas(IResourceFactory &factory, const VegetationField &field, glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height, bool snapToTexel)
Bake and atomically upload all nine Colors layers as a linear RGBA16F 2D array. Ownership,...
Definition VegetationFieldGpu.cpp:116
Owning material parameter snapshot; texture pointers remain borrowed. Base color/metallic/roughness c...
Definition PbrSurface.h:218
Immutable GPU projection of nine layers from one vegetation field channel. The source field remains a...
Definition VegetationFieldGpu.h:23
uint64_t fieldRevision
Definition VegetationFieldGpu.h:25
Coherent detached projections for all four vegetation channels. Textures are factory-owned....
Definition VegetationFieldGpu.h:38
VegetationVertexGpuAtlas vertex
Definition VegetationFieldGpu.h:42
VegetationExtrasGpuAtlas extras
Definition VegetationFieldGpu.h:39
VegetationColorsGpuAtlas colors
Definition VegetationFieldGpu.h:40
VegetationMotionGpuAtlas motion
Definition VegetationFieldGpu.h:41
Runtime-owned global inputs shared by one coherent vegetation field binding. Time is explicit for det...
Definition VegetationFieldGpu.h:48
float globalBranch
Definition VegetationFieldGpu.h:54
float globalBending
Definition VegetationFieldGpu.h:54
bool enableMotion
Definition VegetationFieldGpu.h:57
Texture * motionNoise
Definition VegetationFieldGpu.h:49
float motionFadeDistance
Definition VegetationFieldGpu.h:55
std::array< float, 3 > worldOrigin
Definition VegetationFieldGpu.h:52
float cameraFadeMax
Definition VegetationFieldGpu.h:56
std::array< float, 2 > motionDirection
Definition VegetationFieldGpu.h:51
float fadeNoiseTiling
Definition VegetationFieldGpu.h:56
float globalFlutter
Definition VegetationFieldGpu.h:54
float cameraFadeMin
Definition VegetationFieldGpu.h:56