载入中...
搜索中...
未找到
TextureSampler.h
浏览该文件的文档.
83 if (name == "none" || name == "None" || name == "NONE" || name.empty()) return MipmapMode::Disabled;
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Nearest
MipmapMode
Mipmap filter; Disabled turns off mip sampling (maxLod clamped to 0).
Definition TextureSampler.h:17
@ Nearest
@ Disabled
int mipmapCountForSize(int width, int height)
Full mip chain count for a 2D image (including base level).
Definition TextureSampler.h:127
Options for Graphics::newTexture / newCubemap. When generateMipmaps is true and sampler....
Definition TextureSampler.h:110
bool generateMipmaps
Definition TextureSampler.h:112
static TextureCreateInfo withMipmaps(bool aniso=true, float maxAniso=16.f)
With mipmaps.
Definition TextureSampler.h:118
Sampler state for a Texture (filter, wrap, mip LOD, anisotropy). Defaults match historical engine beh...
Definition TextureSampler.h:27
static TextureSampler anisotropic(float maxAniso=16.f)
Trilinear + anisotropic filtering (capped by device limits at bind time).
Definition TextureSampler.h:69
float maxAnisotropy
1 = off; values >1 enable anisotropic filtering when the device supports it.
Definition TextureSampler.h:35
static TextureSampler linearMipmap()
Trilinear (linear + linear mips). Caller should create the texture with generateMipmaps.
Definition TextureSampler.h:60
float maxLod
Inclusive upper LOD clamp. Large values mean "use all available mips".
Definition TextureSampler.h:39