mirror of
https://github.com/lisk77/comet.git
synced 2025-12-12 17:18:50 +00:00
feat: added multiple render passes to the Renderer2D but only one render pass right now works so quite work in progress
This commit is contained in:
parent
4d4c6aad90
commit
391673ac09
2 changed files with 311 additions and 60 deletions
|
|
@ -8,6 +8,7 @@ pub enum RenderPassType {
|
|||
User
|
||||
}
|
||||
|
||||
|
||||
pub struct RenderPassInfo {
|
||||
pass_name: String,
|
||||
pass_type: RenderPassType,
|
||||
|
|
@ -26,7 +27,7 @@ impl RenderPassInfo {
|
|||
pass_name: String,
|
||||
texture_group_layout: &BindGroupLayout,
|
||||
texture: &Texture,
|
||||
shader: ShaderModule,
|
||||
shader: &ShaderModule,
|
||||
vertex_data: Vec<Vertex>,
|
||||
index_data: Vec<u16>,
|
||||
pipeline_layout: &PipelineLayout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue