Skip to main content

rlmesh_spaces/
render.rs

1#[derive(Debug, Clone, PartialEq, Eq, Default)]
2pub struct BinaryPayload {
3    pub data: Vec<u8>,
4}
5
6#[derive(Debug, Clone, PartialEq, Eq, Default)]
7pub struct RenderFrame {
8    pub png_frame: Vec<u8>,
9}
10
11#[derive(Debug, Clone, PartialEq, Eq, Default)]
12pub struct RenderRequest {
13    pub env_index: Option<usize>,
14    pub timeout_ms: i64,
15}
16
17#[derive(Debug, Clone, PartialEq, Default)]
18pub struct RenderResult {
19    pub frame: Option<RenderFrame>,
20}