reset depth stencil state for render pass (#3230)

This commit is contained in:
yousifd
2025-02-17 22:54:17 +03:00
committed by GitHub
parent 4bb60dceb8
commit 53a6ca5a99
3 changed files with 22 additions and 0 deletions

View File

@@ -42,6 +42,13 @@ public:
void endEncoding();
/// Resets the states and bindings of the render pass to deal
/// with situations where they are changed by calling the
/// underlying rendering API directly. Currently this happens
/// when a user changes one of these states or bindings
/// in a custom layer
void resetState();
void addDebugSignpost(const char* name) override;
void bindVertex(const BufferResource&, std::size_t offset, std::size_t index, std::size_t size = 0);