bgfx_is_texture_valid

Validate texture parameters.

  1. bool bgfx_is_texture_valid(ushort _depth, bool _cubeMap, ushort _numLayers, bgfx_texture_format_t _format, ulong _flags)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bool
    bgfx_is_texture_valid
  2. da_bgfx_is_texture_valid bgfx_is_texture_valid;

Parameters

_depth ushort

Depth dimension of volume texture.

_cubeMap bool

Indicates that texture contains cubemap.

_numLayers ushort

Number of layers in texture array.

_format bgfx_texture_format_t

Texture format. See: TextureFormat::Enum.

_flags ulong

Texture flags. See BGFX_TEXTURE_*.

Meta