载入中...
搜索中...
未找到
TextureSampler.h 文件参考
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <string>

浏览源代码.

struct  eve::graphics::TextureSampler
 Sampler state for a Texture (filter, wrap, mip LOD, anisotropy). Defaults match historical engine behaviour: linear, clamp, no mips, no aniso. 更多...
 
struct  eve::graphics::TextureCreateInfo
 Options for Graphics::newTexture / newCubemap. When generateMipmaps is true and sampler.mipmap is Disabled, mipmap mode becomes Linear. 更多...
 

命名空间

namespace  eve
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 

枚举

enum class  eve::graphics::FilterMode { eve::graphics::Nearest , eve::graphics::Linear }
 Mag/min filter for texture sampling. 更多...
 
enum class  eve::graphics::MipmapMode { eve::graphics::Disabled , eve::graphics::Nearest , eve::graphics::Linear }
 Mipmap filter; Disabled turns off mip sampling (maxLod clamped to 0). 更多...
 

函数

int eve::graphics::mipmapCountForSize (int width, int height)
 Full mip chain count for a 2D image (including base level).