Minor alteration to clarify that BGFX_DISCARD_STATE also discards uniforms (#2464)

Signed-off-by: Samuel Hellawell <sshellawell@gmail.com>
This commit is contained in:
Sam
2021-04-10 05:51:03 +01:00
committed by GitHub
parent 900afe7644
commit 49fb72842a
5 changed files with 5 additions and 6 deletions

View File

@@ -206,7 +206,7 @@ flag.Discard { bits = 8, const, desc = "Discard flags" }
.Bindings (0x01) --- Discard texture sampler and buffer bindings.
.IndexBuffer (0x02) --- Discard index buffer.
.InstanceData (0x04) --- Discard instance data.
.State (0x08) --- Discard state.
.State (0x08) --- Discard state and uniform bindings.
.Transform (0x10) --- Discard transform.
.VertexStreams (0x20) --- Discard vertex streams.
.All (0xff) --- Discard all states.