OROCHI
 
Loading...
Searching...
No Matches
GxResTexture::GxTextureInformation Struct Reference

テクスチャヘッダー情報構造体 More...

#include <GxResTexture.h>

Inheritance diagram for GxResTexture::GxTextureInformation:
Collaboration diagram for GxResTexture::GxTextureInformation:

Public Member Functions

初期化
 GxTextureInformation (void)
 コンストラクタ
 
 ~GxTextureInformation (void)
 デストラクタ
 
アクセサ
constexpr u32 getWidth (void) const
 幅取得
 
constexpr u32 getHeight (void) const
 高さ取得
 
constexpr u32 getDepth (void) const
 深さ取得
 
constexpr RENDER_TEXTURE_TYPE getTextureType (void) const
 テクスチャタイプ取得
 
constexpr u32 getArrayLevel (void) const
 配列レベル取得
 
constexpr u32 getMipmapLevel (void) const
 ミップマップレベル取得
 
constexpr u32 getOriginalMipmapLevel (void) const
 オリジナルミップマップレベル取得
 
constexpr RENDER_ATTRIBUTE getAttribute (void) const
 描画属性取得
 
constexpr RENDER_FORMAT getPixelFormat (void) const
 ピクセルフォーマット取得
 
constexpr u32 getOriginalWidth (void) const
 オリジナル幅取得
 
constexpr u32 getOriginalHeight (void) const
 オリジナル高さ取得
 
constexpr void getWidthProperty (void *const pValue) const
 幅取得
 
constexpr void getHeightProperty (void *const pValue) const
 高さ取得
 
constexpr void getMipmapLevelProperty (void *const pValue) const
 ミップマップレベル取得
 
constexpr void getOriginalWidthProperty (void *const pValue) const
 オリジナル幅取得
 
constexpr void getOriginalHeightProperty (void *const pValue) const
 オリジナル高さ取得
 
constexpr void getOriginalMipmapLevelProperty (void *const pValue) const
 オリジナルミップマップレベル取得
 
void getPixelFormatProperty (void *const pValue) const
 ピクセルフォーマット取得
 

Public Attributes

メンバ変数
u32 _width: 16
 
 
u32 _height: 16
 高さ
 
u32 _attribute: 32
 属性(RENDER_ATTRIBUTE)
 
RENDER_TEXTURE_TYPE _textureType: 4
 テクスチャタイプ
 
u32 _depthOrArrayCount: 4
 テクスチャ配列数(CUBEの場合は6枚, 3Dテクスチャの場合は深度)
 
u32 _mipmapLevel: 4
 ミップマップレベル
 
RENDER_FORMAT _pixelFormat: 8
 ピクセルフォーマット
 
u32 _originalMipmapLevel: 4
 オリジナルのミップマップレベル (リダクションされていない場合のミップマップ段数)
 
u32 _isNoResFinalized: 1
 描画リソースとして loadFromFile() で作成されたか
 
u32 _reserved: 7
 予約領域
 

Static Public Attributes

定義
static constexpr u32 ARRAY_LEVEL_2D = GxMath::VALUE_1
 2Dテクスチャ配列数
 
static constexpr u32 ARRAY_LEVEL_3D = GxMath::VALUE_1
 2Dテクスチャ配列数
 
static constexpr u32 ARRAY_LEVEL_CUBE = 6
 キューブマップテクスチャ配列数 (CUBE → 6面)
 
static constexpr u32 MIPMAP_LEVEL_MIN = GxMath::VALUE_1
 ミップマップ段数最低値
 
static constexpr u32 MIPMAP_LEVEL_MAX = GxMath::VALUE_16
 ミップマップ段数最高値
 

Additional Inherited Members

- Static Public Member Functions inherited from GxStructBase
static GxRtti__getStaticRtti (void)
 

Detailed Description

テクスチャヘッダー情報構造体

Member Function Documentation

◆ getPixelFormatProperty()

void GxResTexture::GxTextureInformation::getPixelFormatProperty ( void *const pValue) const

ピクセルフォーマット取得

Parameters
pValue[out] 値出力先

The documentation for this struct was generated from the following files: