mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup dicard flags.
This commit is contained in:
@@ -565,7 +565,7 @@ public static partial class bgfx
|
||||
/// <summary>
|
||||
/// Discard every rendering states
|
||||
/// </summary>
|
||||
All = 0x0000001f,
|
||||
All = 0x000000ff,
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
||||
@@ -199,7 +199,7 @@ enum ubyte BGFX_DISCARD_VERTEX_STREAMS = 0x02; /// Discard only Vertex Streams
|
||||
enum ubyte BGFX_DISCARD_TEXTURE_SAMPLERS = 0x04; /// Discard only texture samplers
|
||||
enum ubyte BGFX_DISCARD_COMPUTE = 0x08; /// Discard only Compute shader related state
|
||||
enum ubyte BGFX_DISCARD_STATE = 0x10; /// Discard only state
|
||||
enum ubyte BGFX_DISCARD_ALL = 0x1f; /// Discard every rendering states
|
||||
enum ubyte BGFX_DISCARD_ALL = 0xff; /// Discard every rendering states
|
||||
|
||||
enum uint BGFX_DEBUG_NONE = 0x00000000; /// No debug.
|
||||
enum uint BGFX_DEBUG_WIREFRAME = 0x00000001; /// Enable wireframe for all primitives.
|
||||
|
||||
Reference in New Issue
Block a user