607
607

Reputation: 73

What's the difference between recording commands inside and outside the render pass?

What's the difference between recording commands inside and outside the render pass? When do I need to record commands inside the render pass? When do I need to record commands outside the render pass?

Upvotes: 2

Views: 244

Answers (1)

krOoze
krOoze

Reputation: 13306

The specification says if a command has to be inside, outside, or can be both. The information is in the "Render Pass Scope" entry in the "Command Properties" block.

Typically, mostly only state commands can be in both render pass scopes, and it shouldn't matter; those simply only set command buffer state. So there is no dilemma.

Upvotes: 3

Related Questions