Checks whether a texture with the given parameters would be considered valid.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static bool IsValid(
int depth,
bool isCube,
int arrayLayers,
TextureFormat format,
TextureFlags flags = TextureFlags.None
)
Parameters
- depth Int32
- The depth of the texture.
- isCube Boolean
- true if the texture contains a cubemap.
- arrayLayers Int32
- Number of layers in texture array.
- format TextureFormat
- The format of the texture data.
- flags TextureFlags (Optional)
- Flags that control texture behavior.
Return Value
Boolean
See Also