1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 12:47:45 +00:00

Expose ShaderStage enum

This commit is contained in:
Joshua Goins 2024-05-18 11:45:31 -04:00
parent e5caab2e64
commit d700f81af9

View file

@ -9,7 +9,8 @@ use binrw::BinRead;
#[binread] #[binread]
#[derive(Debug)] #[derive(Debug)]
enum ShaderStage { #[repr(C)]
pub enum ShaderStage {
#[br(magic = 0u8)] #[br(magic = 0u8)]
Vertex, Vertex,
#[br(magic = 1u8)] #[br(magic = 1u8)]