载入中...
搜索中...
未找到
Material.h
浏览该文件的文档.
92 [[nodiscard]] Result<void> setFoliageTranslucency(float red, float green, float blue, float intensity,
110 [[nodiscard]] Result<void> setFoliageWind(Texture* motionTexture, Texture* noiseTexture, float directionX,
190 [[nodiscard]] eve::Result<void> enableVirtualTexture(const VirtualTextureStreamingConfig& config);
196 [[nodiscard]] eve::Result<std::uint32_t> addVirtualTextureLayer(const VirtualTextureBlendLayer& layer);
211 [[nodiscard]] eve::Result<void> setVirtualTexture(Texture* albedoAtlas, Texture* normalAtlas, Texture* pageTable,
Move-only, checked operation results for the common layer.
Definition Graphics.h:134
Packages shading method + surface parameters into one attachable asset.
Definition Material.h:38
void setNormalTexture(Texture *texture)
Set the borrowed material texture. @ownership Graphics factory owns the resource. @lifetime Keep aliv...
Definition Material.h:172
void setAlbedoTexture(Texture *texture)
Set the borrowed material texture. @ownership Graphics factory owns the resource. @lifetime Keep aliv...
Definition Material.h:123
bool hasPbrSurface() const
Whether full PBR texture/extension rendering is requested.
Definition Material.h:67
Texture * getAlbedoTexture() const
Get the borrowed material texture. @ownership Graphics factory owns the resource. @lifetime Keep aliv...
Definition Material.h:128
Material & operator=(const Material &)=delete
PbrSurface pbrSurface() const
Return an owning parameter snapshot; texture resources remain borrowed.
Definition Material.h:61
Texture * getNormalTexture() const
Get the borrowed material texture. @ownership Graphics factory owns the resource. @lifetime Keep aliv...
Definition Material.h:177
void setCameraFacing(bool enabled)
Keep a bottom-anchored card facing the active camera around world Y during GPU-driven draws.
Definition Material.h:346
bool getCameraFacing() const
Return whether GPU-driven card vertices use cylindrical camera-facing orientation.
Definition Material.h:348
MaterialVirtualTextureMode virtualTextureMode() const
Return the active virtual-texture sampling mode.
Definition Material.h:218
Shader * getShader() const
Return the borrowed shader, or nullptr when the built-in path is active. @lifetime The pointer remain...
Definition Material.h:230
Material(const Material &)=delete
float getAlbedoUvRotation() const
Current base-color UV rotation in radians.
Definition Material.h:166
void setShader(Shader *shader)
Set an optional Mesh3D / hair shader; nullptr selects the built-in shading path.
Definition Material.h:227
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:15
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
MaterialVirtualTextureMode
Selects conventional or atlas/page-table material sampling.
Definition Material.h:24
@ AtlasPageTable
@ Conventional
@ Graphics
One mesh + material slot on a multi-part model (Assimp mesh / body region). When Material* is null,...
Definition Material.h:404
Owning material parameter snapshot; texture pointers remain borrowed. Base color/metallic/roughness c...
Definition PbrSurface.h:240
One immutable source layer copied into a VirtualTextureBlend.
Definition VirtualTextureBlend.h:25
Runtime streaming budgets over a VirtualTextureBlend producer.
Definition VirtualTextureStreaming.h:35