2023-06-29 10:04:59 +00:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
info (
|
|
|
|
title: "渲染"// TODO: add title
|
|
|
|
desc: // TODO: add description
|
|
|
|
author: ""
|
|
|
|
email: ""
|
|
|
|
)
|
|
|
|
|
|
|
|
import "basic.api"
|
|
|
|
|
|
|
|
type RequestToUnity {
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestReadImages {
|
|
|
|
}
|
|
|
|
|
|
|
|
service render {
|
|
|
|
// 发送数据到unity渲染
|
|
|
|
@handler ToUnityHandler
|
2023-07-21 07:20:18 +00:00
|
|
|
get /api/render/to-unity(RequestToUnity) returns (response);
|
2023-06-29 10:04:59 +00:00
|
|
|
// 读图像
|
|
|
|
@handler ReadImagesHandler
|
2023-07-21 07:20:18 +00:00
|
|
|
get /api/render/read-images(RequestReadImages) returns (response);
|
2023-06-29 10:04:59 +00:00
|
|
|
}
|