Skip to content

Commit

Permalink
BlitBuffer to render
Browse files Browse the repository at this point in the history
  • Loading branch information
gadirom committed Jul 27, 2022
1 parent 70089e6 commit 056718b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/MetalBuilder/MetalBuilderRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ public final class MetalBuilderRenderer{
addTextures(newTexs: [blitTextureComponent.inTexture, blitTextureComponent.outTexture])
passes.append(BlitTexturePass(blitTextureComponent))
}
if let blitBufferComponent = component as? BlitBuffer{
// try createBuffers(buffers: [blitBufferComponent.inBuffer!,
// blitBufferComponent.outBuffer!])
passes.append(BlitBufferPass(blitBufferComponent))
}
}
//setup passes
for pass in passes{
Expand Down

0 comments on commit 056718b

Please sign in to comment.