{
    "name": "sprite",
    "category": "builtin",
    "version": "1.0",
    "description": "标准2D精灵渲染Shader",
    "uniforms": {
        "u_viewProjection": { "type": "mat4", "description": "视图投影矩阵" },
        "u_model": { "type": "mat4", "description": "模型矩阵" },
        "u_opacity": { "type": "float", "default": 1.0, "description": "透明度" }
    },
    "samplers": {
        "u_texture": { "binding": 0, "description": "纹理采样器" }
    },
    "backends": {
        "opengl": {
            "vertex": "backends/opengl/builtin/sprite.vert",
            "fragment": "backends/opengl/builtin/sprite.frag"
        },
        "vulkan": {
            "vertex": "backends/vulkan/builtin/sprite.vert.spv",
            "fragment": "backends/vulkan/builtin/sprite.frag.spv"
        }
    }
}
