Skip to content

Graphics callbacks simplification#25

Merged
mark-beiline merged 1 commit into
devfrom
mark/gfx-callbacks-refactor
Apr 18, 2023
Merged

Graphics callbacks simplification#25
mark-beiline merged 1 commit into
devfrom
mark/gfx-callbacks-refactor

Conversation

@mark-beiline
Copy link
Copy Markdown
Collaborator

Scott suggested a better way to run graphics tasks at the start or end of the frame.

Outside SRPs, we can use Graphics.ExecuteCommandBuffer (unlike the other Graphics.* methods, it doesn't stall the main thread and only enqueues the commands for the render thread) instead of ScriptableRenderContext.ExecuteCommandBuffer.

@mark-beiline mark-beiline changed the title Graphics callbacks refactor Graphics callbacks simplification Apr 12, 2023
@mark-beiline mark-beiline merged commit 482b791 into dev Apr 18, 2023
@mark-beiline mark-beiline deleted the mark/gfx-callbacks-refactor branch April 18, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants