テクスチャフォーマット
More...
#include <TextureFormat.hpp>
◆ TextureFormat() [1/2]
SIV3D_NODISCARD_CXX20 s3d::TextureFormat::TextureFormat |
( |
| ) |
|
|
default |
◆ TextureFormat() [2/2]
constexpr SIV3D_NODISCARD_CXX20 s3d::TextureFormat::TextureFormat |
( |
TexturePixelFormat |
value | ) |
|
|
constexprnoexcept |
◆ DXGIFormat()
int32 s3d::TextureFormat::DXGIFormat |
( |
| ) |
const |
|
noexcept |
◆ GLFormat()
int32 s3d::TextureFormat::GLFormat |
( |
| ) |
const |
|
noexcept |
◆ GLInternalFormat()
int32 s3d::TextureFormat::GLInternalFormat |
( |
| ) |
const |
|
noexcept |
◆ GLType()
int32 s3d::TextureFormat::GLType |
( |
| ) |
const |
|
noexcept |
◆ isSRGB()
bool s3d::TextureFormat::isSRGB |
( |
| ) |
const |
|
noexcept |
◆ name()
フォーマットの名前を返します(例: R8G8B8A8_Unorm)
- Returns
- フォーマットの名前
◆ num_channels()
uint32 s3d::TextureFormat::num_channels |
( |
| ) |
const |
|
noexcept |
チャンネル数を返します。
- Returns
- チャンネル数
◆ pixelSize()
uint32 s3d::TextureFormat::pixelSize |
( |
| ) |
const |
|
noexcept |
1 ピクセル当たりのサイズ(バイト)を返します。
- Returns
- 1 ピクセル当たりのサイズ(バイト)
◆ value()
◆ WGPUFormat()
int32 s3d::TextureFormat::WGPUFormat |
( |
| ) |
const |
|
noexcept |
◆ operator!=
◆ operator<
◆ operator<=
◆ operator==
◆ operator>
◆ operator>=
◆ R10G10B10A2_Unorm
constexpr TexturePixelFormat s3d::TextureFormat::R10G10B10A2_Unorm = TexturePixelFormat::R10G10B10A2_Unorm |
|
staticconstexpr |
◆ R11G11B10_UFloat
constexpr TexturePixelFormat s3d::TextureFormat::R11G11B10_UFloat = TexturePixelFormat::R11G11B10_UFloat |
|
staticconstexpr |
◆ R16G16_Float
constexpr TexturePixelFormat s3d::TextureFormat::R16G16_Float = TexturePixelFormat::R16G16_Float |
|
staticconstexpr |
◆ R16G16B16A16_Float
constexpr TexturePixelFormat s3d::TextureFormat::R16G16B16A16_Float = TexturePixelFormat::R16G16B16A16_Float |
|
staticconstexpr |
◆ R32_Float
constexpr TexturePixelFormat s3d::TextureFormat::R32_Float = TexturePixelFormat::R32_Float |
|
staticconstexpr |
◆ R32G32_Float
constexpr TexturePixelFormat s3d::TextureFormat::R32G32_Float = TexturePixelFormat::R32G32_Float |
|
staticconstexpr |
◆ R32G32B32A32_Float
constexpr TexturePixelFormat s3d::TextureFormat::R32G32B32A32_Float = TexturePixelFormat::R32G32B32A32_Float |
|
staticconstexpr |
◆ R8G8B8A8_Unorm
constexpr TexturePixelFormat s3d::TextureFormat::R8G8B8A8_Unorm = TexturePixelFormat::R8G8B8A8_Unorm |
|
staticconstexpr |
◆ R8G8B8A8_Unorm_SRGB
constexpr TexturePixelFormat s3d::TextureFormat::R8G8B8A8_Unorm_SRGB = TexturePixelFormat::R8G8B8A8_Unorm_SRGB |
|
staticconstexpr |
◆ Unknown
The documentation for this class was generated from the following file: