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:
parent
e5caab2e64
commit
d700f81af9
1 changed files with 2 additions and 1 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue