|
@@ -1307,9 +1307,9 @@ namespace bgfx
|
|
|
/// @param[in] _handle Texture handle.
|
|
/// @param[in] _handle Texture handle.
|
|
|
/// @param[in] _flags Texture sampling mode. Default value UINT32_MAX uses
|
|
/// @param[in] _flags Texture sampling mode. Default value UINT32_MAX uses
|
|
|
/// texture sampling settings from the texture.
|
|
/// texture sampling settings from the texture.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @attention C99 equivalent is `bgfx_set_texture`.
|
|
/// @attention C99 equivalent is `bgfx_set_texture`.
|
|
@@ -2517,9 +2517,9 @@ namespace bgfx
|
|
|
/// @param[in] _mem DDS, KTX or PVR texture data.
|
|
/// @param[in] _mem DDS, KTX or PVR texture data.
|
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @param[in] _skip Skip top level mips when parsing texture.
|
|
/// @param[in] _skip Skip top level mips when parsing texture.
|
|
@@ -2545,9 +2545,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
@@ -2577,9 +2577,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @attention C99 equivalent is `bgfx_create_texture_2d_scaled`.
|
|
/// @attention C99 equivalent is `bgfx_create_texture_2d_scaled`.
|
|
@@ -2601,9 +2601,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
@@ -2630,9 +2630,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _flags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. If
|
|
@@ -2815,9 +2815,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _textureFlags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _textureFlags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @returns Handle to frame buffer object.
|
|
/// @returns Handle to frame buffer object.
|
|
@@ -2839,9 +2839,9 @@ namespace bgfx
|
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
/// @param[in] _format Texture format. See: `TextureFormat::Enum`.
|
|
|
/// @param[in] _textureFlags Default texture sampling mode is linear, and wrap mode
|
|
/// @param[in] _textureFlags Default texture sampling mode is linear, and wrap mode
|
|
|
/// is repeat.
|
|
/// is repeat.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @returns Handle to frame buffer object.
|
|
/// @returns Handle to frame buffer object.
|
|
@@ -3637,9 +3637,9 @@ namespace bgfx
|
|
|
/// @param[in] _handle Texture handle.
|
|
/// @param[in] _handle Texture handle.
|
|
|
/// @param[in] _flags Texture sampling mode. Default value UINT32_MAX uses
|
|
/// @param[in] _flags Texture sampling mode. Default value UINT32_MAX uses
|
|
|
/// texture sampling settings from the texture.
|
|
/// texture sampling settings from the texture.
|
|
|
- /// - `BGFX_TEXTURE_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP]` - Mirror or clamp to edge wrap
|
|
|
/// mode.
|
|
/// mode.
|
|
|
- /// - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
|
|
|
|
+ /// - `BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
|
|
|
/// sampling.
|
|
/// sampling.
|
|
|
///
|
|
///
|
|
|
/// @attention C99 equivalent is `bgfx_set_texture`.
|
|
/// @attention C99 equivalent is `bgfx_set_texture`.
|