Skip to content

Commit

Permalink
Sorted caps.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Jun 28, 2024
1 parent a476c5b commit 2529e1a
Show file tree
Hide file tree
Showing 7 changed files with 183 additions and 182 deletions.
86 changes: 43 additions & 43 deletions bindings/bf/bgfx.bf
Original file line number Diff line number Diff line change
Expand Up @@ -1036,136 +1036,136 @@ public static class bgfx
/// </summary>
DrawIndirect = 0x0000000000000010,

/// <summary>
/// Draw indirect with indirect count is supported.
/// </summary>
DrawIndirectCount = 0x0000000000000020,

/// <summary>
/// Fragment depth is available in fragment shader.
/// </summary>
FragmentDepth = 0x0000000000000020,
FragmentDepth = 0x0000000000000040,

/// <summary>
/// Fragment ordering is available in fragment shader.
/// </summary>
FragmentOrdering = 0x0000000000000040,
FragmentOrdering = 0x0000000000000080,

/// <summary>
/// Graphics debugger is present.
/// </summary>
GraphicsDebugger = 0x0000000000000080,
GraphicsDebugger = 0x0000000000000100,

/// <summary>
/// HDR10 rendering is supported.
/// </summary>
Hdr10 = 0x0000000000000100,
Hdr10 = 0x0000000000000200,

/// <summary>
/// HiDPI rendering is supported.
/// </summary>
Hidpi = 0x0000000000000200,
Hidpi = 0x0000000000000400,

/// <summary>
/// Image Read/Write is supported.
/// </summary>
ImageRw = 0x0000000000000400,
ImageRw = 0x0000000000000800,

/// <summary>
/// 32-bit indices are supported.
/// </summary>
Index32 = 0x0000000000000800,
Index32 = 0x0000000000001000,

/// <summary>
/// Instancing is supported.
/// </summary>
Instancing = 0x0000000000001000,
Instancing = 0x0000000000002000,

/// <summary>
/// Occlusion query is supported.
/// </summary>
OcclusionQuery = 0x0000000000002000,
OcclusionQuery = 0x0000000000004000,

/// <summary>
/// Renderer is on separate thread.
/// </summary>
RendererMultithreaded = 0x0000000000004000,

/// <summary>
/// Multiple windows are supported.
/// PrimitiveID is available in fragment shader.
/// </summary>
SwapChain = 0x0000000000008000,
PrimitiveId = 0x0000000000008000,

/// <summary>
/// 2D texture array is supported.
/// Renderer is on separate thread.
/// </summary>
Texture2dArray = 0x0000000000010000,
RendererMultithreaded = 0x0000000000010000,

/// <summary>
/// 3D textures are supported.
/// Multiple windows are supported.
/// </summary>
Texture3d = 0x0000000000020000,
SwapChain = 0x0000000000020000,

/// <summary>
/// Texture blit is supported.
/// </summary>
TextureBlit = 0x0000000000040000,

/// <summary>
/// Transparent back buffer supported.
/// </summary>
TransparentBackbuffer = 0x0000000000080000,
TextureCompareReserved = 0x0000000000100000,

/// <summary>
/// Texture compare less equal mode is supported.
/// </summary>
TextureCompareLequal = 0x0000000000200000,
TextureCompareLequal = 0x0000000000080000,
TextureCompareReserved = 0x0000000000100000,

/// <summary>
/// Cubemap texture array is supported.
/// </summary>
TextureCubeArray = 0x0000000000400000,
TextureCubeArray = 0x0000000000200000,

/// <summary>
/// CPU direct access to GPU texture memory.
/// </summary>
TextureDirectAccess = 0x0000000000800000,
TextureDirectAccess = 0x0000000000400000,

/// <summary>
/// Read-back texture is supported.
/// </summary>
TextureReadBack = 0x0000000001000000,
TextureReadBack = 0x0000000000800000,

/// <summary>
/// Vertex attribute half-float is supported.
/// 2D texture array is supported.
/// </summary>
VertexAttribHalf = 0x0000000002000000,
Texture2dArray = 0x0000000001000000,

/// <summary>
/// Vertex attribute 10_10_10_2 is supported.
/// 3D textures are supported.
/// </summary>
VertexAttribUint10 = 0x0000000004000000,
Texture3d = 0x0000000002000000,

/// <summary>
/// Rendering with VertexID only is supported.
/// Transparent back buffer supported.
/// </summary>
VertexId = 0x0000000008000000,
TransparentBackbuffer = 0x0000000004000000,

/// <summary>
/// PrimitiveID is available in fragment shader.
/// Vertex attribute half-float is supported.
/// </summary>
PrimitiveId = 0x0000000010000000,
VertexAttribHalf = 0x0000000008000000,

/// <summary>
/// Viewport layer is available in vertex shader.
/// Vertex attribute 10_10_10_2 is supported.
/// </summary>
ViewportLayerArray = 0x0000000020000000,
VertexAttribUint10 = 0x0000000010000000,

/// <summary>
/// Draw indirect with indirect count is supported.
/// Rendering with VertexID only is supported.
/// </summary>
VertexId = 0x0000000020000000,

/// <summary>
/// Viewport layer is available in vertex shader.
/// </summary>
DrawIndirectCount = 0x0000000040000000,
ViewportLayerArray = 0x0000000040000000,

/// <summary>
/// All texture compare modes are supported.
/// </summary>
TextureCompareAll = 0x0000000000300000,
TextureCompareAll = 0x0000000000180000,
}

[AllowDuplicates]
Expand Down
86 changes: 43 additions & 43 deletions bindings/cs/bgfx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,136 +1035,136 @@ public enum CapsFlags : ulong
/// </summary>
DrawIndirect = 0x0000000000000010,

/// <summary>
/// Draw indirect with indirect count is supported.
/// </summary>
DrawIndirectCount = 0x0000000000000020,

/// <summary>
/// Fragment depth is available in fragment shader.
/// </summary>
FragmentDepth = 0x0000000000000020,
FragmentDepth = 0x0000000000000040,

/// <summary>
/// Fragment ordering is available in fragment shader.
/// </summary>
FragmentOrdering = 0x0000000000000040,
FragmentOrdering = 0x0000000000000080,

/// <summary>
/// Graphics debugger is present.
/// </summary>
GraphicsDebugger = 0x0000000000000080,
GraphicsDebugger = 0x0000000000000100,

/// <summary>
/// HDR10 rendering is supported.
/// </summary>
Hdr10 = 0x0000000000000100,
Hdr10 = 0x0000000000000200,

/// <summary>
/// HiDPI rendering is supported.
/// </summary>
Hidpi = 0x0000000000000200,
Hidpi = 0x0000000000000400,

/// <summary>
/// Image Read/Write is supported.
/// </summary>
ImageRw = 0x0000000000000400,
ImageRw = 0x0000000000000800,

/// <summary>
/// 32-bit indices are supported.
/// </summary>
Index32 = 0x0000000000000800,
Index32 = 0x0000000000001000,

/// <summary>
/// Instancing is supported.
/// </summary>
Instancing = 0x0000000000001000,
Instancing = 0x0000000000002000,

/// <summary>
/// Occlusion query is supported.
/// </summary>
OcclusionQuery = 0x0000000000002000,
OcclusionQuery = 0x0000000000004000,

/// <summary>
/// Renderer is on separate thread.
/// </summary>
RendererMultithreaded = 0x0000000000004000,

/// <summary>
/// Multiple windows are supported.
/// PrimitiveID is available in fragment shader.
/// </summary>
SwapChain = 0x0000000000008000,
PrimitiveId = 0x0000000000008000,

/// <summary>
/// 2D texture array is supported.
/// Renderer is on separate thread.
/// </summary>
Texture2dArray = 0x0000000000010000,
RendererMultithreaded = 0x0000000000010000,

/// <summary>
/// 3D textures are supported.
/// Multiple windows are supported.
/// </summary>
Texture3d = 0x0000000000020000,
SwapChain = 0x0000000000020000,

/// <summary>
/// Texture blit is supported.
/// </summary>
TextureBlit = 0x0000000000040000,

/// <summary>
/// Transparent back buffer supported.
/// </summary>
TransparentBackbuffer = 0x0000000000080000,
TextureCompareReserved = 0x0000000000100000,

/// <summary>
/// Texture compare less equal mode is supported.
/// </summary>
TextureCompareLequal = 0x0000000000200000,
TextureCompareLequal = 0x0000000000080000,
TextureCompareReserved = 0x0000000000100000,

/// <summary>
/// Cubemap texture array is supported.
/// </summary>
TextureCubeArray = 0x0000000000400000,
TextureCubeArray = 0x0000000000200000,

/// <summary>
/// CPU direct access to GPU texture memory.
/// </summary>
TextureDirectAccess = 0x0000000000800000,
TextureDirectAccess = 0x0000000000400000,

/// <summary>
/// Read-back texture is supported.
/// </summary>
TextureReadBack = 0x0000000001000000,
TextureReadBack = 0x0000000000800000,

/// <summary>
/// Vertex attribute half-float is supported.
/// 2D texture array is supported.
/// </summary>
VertexAttribHalf = 0x0000000002000000,
Texture2dArray = 0x0000000001000000,

/// <summary>
/// Vertex attribute 10_10_10_2 is supported.
/// 3D textures are supported.
/// </summary>
VertexAttribUint10 = 0x0000000004000000,
Texture3d = 0x0000000002000000,

/// <summary>
/// Rendering with VertexID only is supported.
/// Transparent back buffer supported.
/// </summary>
VertexId = 0x0000000008000000,
TransparentBackbuffer = 0x0000000004000000,

/// <summary>
/// PrimitiveID is available in fragment shader.
/// Vertex attribute half-float is supported.
/// </summary>
PrimitiveId = 0x0000000010000000,
VertexAttribHalf = 0x0000000008000000,

/// <summary>
/// Viewport layer is available in vertex shader.
/// Vertex attribute 10_10_10_2 is supported.
/// </summary>
ViewportLayerArray = 0x0000000020000000,
VertexAttribUint10 = 0x0000000010000000,

/// <summary>
/// Draw indirect with indirect count is supported.
/// Rendering with VertexID only is supported.
/// </summary>
VertexId = 0x0000000020000000,

/// <summary>
/// Viewport layer is available in vertex shader.
/// </summary>
DrawIndirectCount = 0x0000000040000000,
ViewportLayerArray = 0x0000000040000000,

/// <summary>
/// All texture compare modes are supported.
/// </summary>
TextureCompareAll = 0x0000000000300000,
TextureCompareAll = 0x0000000000180000,
}

[Flags]
Expand Down
Loading

0 comments on commit 2529e1a

Please sign in to comment.