Enum bgfx.CapsFormatFlags
Namespace: Bgfx
Syntax
[Flags]
public enum CapsFormatFlags : ushort
Fields
| Name | Description | Value |
|---|---|---|
| TextureNone | Texture format is not supported. |
0 |
| Texture2d | Texture format is supported. |
1 |
| Texture2dSrgb | Texture as sRGB format is supported. |
2 |
| Texture2dEmulated | Texture format is emulated. |
4 |
| Texture3d | Texture format is supported. |
8 |
| Texture3dSrgb | Texture as sRGB format is supported. |
16 |
| Texture3dEmulated | Texture format is emulated. |
32 |
| TextureCube | Texture format is supported. |
64 |
| TextureCubeSrgb | Texture as sRGB format is supported. |
128 |
| TextureCubeEmulated | Texture format is emulated. |
256 |
| TextureVertex | Texture format can be used from vertex shader. |
512 |
| TextureImage | Texture format can be used as image from compute shader. |
1024 |
| TextureFramebuffer | Texture format can be used as frame buffer. |
2048 |
| TextureFramebufferMsaa | Texture format can be used as MSAA frame buffer. |
4096 |
| TextureMsaa | Texture can be sampled as MSAA. |
8192 |
| TextureMipAutogen | Texture format supports auto-generated mips. |
16384 |