mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
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:
@@ -554,7 +554,7 @@ public static class bgfx
|
||||
InstanceData = 0x00000004,
|
||||
|
||||
/// <summary>
|
||||
/// Discard state.
|
||||
/// Discard state and uniform bindings.
|
||||
/// </summary>
|
||||
State = 0x00000008,
|
||||
|
||||
|
||||
@@ -553,7 +553,7 @@ public static partial class bgfx
|
||||
InstanceData = 0x00000004,
|
||||
|
||||
/// <summary>
|
||||
/// Discard state.
|
||||
/// Discard state and uniform bindings.
|
||||
/// </summary>
|
||||
State = 0x00000008,
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@ enum ubyte BGFX_DISCARD_NONE = 0x00; /// Preserve everything.
|
||||
enum ubyte BGFX_DISCARD_BINDINGS = 0x01; /// Discard texture sampler and buffer bindings.
|
||||
enum ubyte BGFX_DISCARD_INDEX_BUFFER = 0x02; /// Discard index buffer.
|
||||
enum ubyte BGFX_DISCARD_INSTANCE_DATA = 0x04; /// Discard instance data.
|
||||
enum ubyte BGFX_DISCARD_STATE = 0x08; /// Discard state.
|
||||
enum ubyte BGFX_DISCARD_STATE = 0x08; /// Discard state and uniform bindings.
|
||||
enum ubyte BGFX_DISCARD_TRANSFORM = 0x10; /// Discard transform.
|
||||
enum ubyte BGFX_DISCARD_VERTEX_STREAMS = 0x20; /// Discard vertex streams.
|
||||
enum ubyte BGFX_DISCARD_ALL = 0xff; /// Discard all states.
|
||||
@@ -1062,4 +1062,3 @@ struct bgfx_uniform_handle_t { ushort idx; }
|
||||
struct bgfx_vertex_buffer_handle_t { ushort idx; }
|
||||
|
||||
struct bgfx_vertex_layout_handle_t { ushort idx; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user