mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Minor work
This commit is contained in:
parent
140d25ab97
commit
18020a6d88
6
src/device/dynamic_state.rs
Normal file
6
src/device/dynamic_state.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use dynamic_state;
|
||||
|
||||
|
||||
pub struct DynamicStateObjects {
|
||||
|
||||
}
|
24
src/dynamic_state.rs
Normal file
24
src/dynamic_state.rs
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
|
||||
pub enum FillMode {
|
||||
Solid,
|
||||
Wireframe,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
|
||||
pub enum CullMode {
|
||||
None,
|
||||
Front,
|
||||
Back,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
|
||||
pub struct RasterizerState {
|
||||
pub fill_mode: FillMode,
|
||||
pub cull_mode: CullMode,
|
||||
pub front_face: TODO,
|
||||
pub depth_bias: i32,
|
||||
pub depth_bias_clamp: f32,
|
||||
pub slope_scaled_depth_bias: f32,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user