TODO: render/ 相关模块

This commit is contained in:
eson
2023-06-29 18:04:59 +08:00
parent 8ba8a67dfb
commit 9b56d7ba51
19 changed files with 597 additions and 83 deletions

25
server_api/render.api Normal file
View File

@@ -0,0 +1,25 @@
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
get /render/to-unity (RequestToUnity) returns (response);
// 读图像
@handler ReadImagesHandler
get /render/read-images (RequestReadImages) returns (response);
}