diff --git a/include/bgfx/bgfx.h b/include/bgfx/bgfx.h index 47e5b1b01..ebabce7cd 100644 --- a/include/bgfx/bgfx.h +++ b/include/bgfx/bgfx.h @@ -2515,8 +2515,8 @@ namespace bgfx /// Create texture from memory buffer. /// /// @param[in] _mem DDS, KTX or PVR texture data. - /// @param[in] _flags Default texture sampling mode is linear, and wrap mode - /// is repeat. + /// @param[in] _flags Texture creation (see `BGFX_TEXTURE_*`.), and sampler (see `BGFX_SAMPLER_*`) + /// flags. Default texture sampling mode is linear, and wrap mode is repeat. /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap /// mode. /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic @@ -2543,8 +2543,8 @@ namespace bgfx /// @param[in] _numLayers Number of layers in texture array. Must be 1 if caps /// `BGFX_CAPS_TEXTURE_2D_ARRAY` flag is not set. /// @param[in] _format Texture format. See: `TextureFormat::Enum`. - /// @param[in] _flags Default texture sampling mode is linear, and wrap mode - /// is repeat. + /// @param[in] _flags Texture creation (see `BGFX_TEXTURE_*`.), and sampler (see `BGFX_SAMPLER_*`) + /// flags. Default texture sampling mode is linear, and wrap mode is repeat. /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap /// mode. /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic @@ -2575,8 +2575,8 @@ namespace bgfx /// @param[in] _numLayers Number of layers in texture array. Must be 1 if caps /// `BGFX_CAPS_TEXTURE_2D_ARRAY` flag is not set. /// @param[in] _format Texture format. See: `TextureFormat::Enum`. - /// @param[in] _flags Default texture sampling mode is linear, and wrap mode - /// is repeat. + /// @param[in] _flags Texture creation (see `BGFX_TEXTURE_*`.), and sampler (see `BGFX_SAMPLER_*`) + /// flags. Default texture sampling mode is linear, and wrap mode is repeat. /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap /// mode. /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic @@ -2599,8 +2599,8 @@ namespace bgfx /// @param[in] _depth Depth. /// @param[in] _hasMips Indicates that texture contains full mip-map chain. /// @param[in] _format Texture format. See: `TextureFormat::Enum`. - /// @param[in] _flags Default texture sampling mode is linear, and wrap mode - /// is repeat. + /// @param[in] _flags Texture creation (see `BGFX_TEXTURE_*`.), and sampler (see `BGFX_SAMPLER_*`) + /// flags. Default texture sampling mode is linear, and wrap mode is repeat. /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap /// mode. /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic @@ -2628,8 +2628,8 @@ namespace bgfx /// @param[in] _numLayers Number of layers in texture array. Must be 1 if caps /// `BGFX_CAPS_TEXTURE_CUBE_ARRAY` flag is not set. /// @param[in] _format Texture format. See: `TextureFormat::Enum`. - /// @param[in] _flags Default texture sampling mode is linear, and wrap mode - /// is repeat. + /// @param[in] _flags Texture creation (see `BGFX_TEXTURE_*`.), and sampler (see `BGFX_SAMPLER_*`) + /// flags. Default texture sampling mode is linear, and wrap mode is repeat. /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap /// mode. /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic diff --git a/include/bgfx/defines.h b/include/bgfx/defines.h index daac30329..f7a7695bd 100644 --- a/include/bgfx/defines.h +++ b/include/bgfx/defines.h @@ -337,7 +337,7 @@ /// Texture creation flags. #define BGFX_TEXTURE_NONE UINT64_C(0x0000000000000000) //!< #define BGFX_TEXTURE_MSAA_SAMPLE UINT64_C(0x0000000800000000) //!< Texture will be used for MSAA sampling. -#define BGFX_TEXTURE_RT UINT64_C(0x0000001000000000) //!< +#define BGFX_TEXTURE_RT UINT64_C(0x0000001000000000) //!< Render target no MSAA. #define BGFX_TEXTURE_RT_MSAA_X2 UINT64_C(0x0000002000000000) //!< Render target MSAAx2 mode. #define BGFX_TEXTURE_RT_MSAA_X4 UINT64_C(0x0000003000000000) //!< Render target MSAAx4 mode. #define BGFX_TEXTURE_RT_MSAA_X8 UINT64_C(0x0000004000000000) //!< Render target MSAAx8 mode.