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