1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 11:47:46 +00:00

Expose the default subview keys

This commit is contained in:
Joshua Goins 2024-04-27 12:36:31 -04:00
parent 499081beb2
commit f54e128bba

View file

@ -193,8 +193,8 @@ pub struct ShaderPackage {
#[br(count = material_key_count)] #[br(count = material_key_count)]
pub material_keys: Vec<Key>, pub material_keys: Vec<Key>,
sub_view_key1_default: u32, pub sub_view_key1_default: u32,
sub_view_key2_default: u32, pub sub_view_key2_default: u32,
#[br(args { count: node_count as usize, inner: NodeBinReadArgs { system_key_count, scene_key_count, material_key_count, subview_key_count: 2 }})] #[br(args { count: node_count as usize, inner: NodeBinReadArgs { system_key_count, scene_key_count, material_key_count, subview_key_count: 2 }})]
nodes: Vec<Node>, nodes: Vec<Node>,