载入中...
搜索中...
未找到
Shader.h
浏览该文件的文档.
Move-only, checked operation results for the common layer.
void setSpirv(std::vector< uint32_t > vert, std::vector< uint32_t > frag)
Definition Shader.h:139
Shader()
Shader & operator=(const Shader &)=delete
const std::vector< uint32_t > & fragmentSpirv() const
Definition Shader.h:137
void setXray(bool x)
X-ray mesh shader. When true, drawMeshShader renders this mesh a second pass over the already-lit sce...
Definition Shader.h:72
const MeshShaderRasterState & meshRasterState() const noexcept
Read the committed raster snapshot; render-thread affinity matches the owning Graphics.
Definition Shader.h:82
Shader(const Shader &)=delete
const std::vector< uint32_t > & vertexSpirv() const
Definition Shader.h:136
Texture * meshTexture(std::size_t slot) const
Return the borrowed texture assigned to a custom-mesh slot, or null.
Definition Shader.h:132
~Shader()
const float * pushConstantData() const
Definition Shader.h:105
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Graphics
Value snapshot of custom mesh rasterization state, independent of blending/culling.
Definition MeshShaderRasterState.h:13