25 lines
434 B
Plaintext
25 lines
434 B
Plaintext
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 /api/render/to-unity(RequestToUnity) returns (response);
|
|
// 读图像
|
|
@handler ReadImagesHandler
|
|
get /api/render/read-images(RequestReadImages) returns (response);
|
|
} |