remotia-core 0.1.2

Core components of remotia, an open source framework for the development of remote rendering software in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
pub struct RemVSPFrameHeader {
    pub frame_fragments_count: u16,
    pub fragment_size: u16,
    pub capture_timestamp: u128
}

#[derive(Serialize, Deserialize, Debug)]
pub struct RemVSPFrameFragment {
    pub frame_header: RemVSPFrameHeader,
    pub fragment_id: u16,
    pub data: Vec<u8>
}