XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTextureAssetProfileConfig Class Reference

Texture asset transformation settings. Profile dimensions are baked into native target definitions. More...

#include <TextureAssetProfile.h>

Inheritance diagram for xiiTextureAssetProfileConfig:
[legend]

Public Member Functions

xiiResult GetRenderTargetResolution (xiiTexture2DResolution::Enum mode, float fScale, xiiUInt32 &out_uiResolution) const
 Fixed resolutions ignore scale; profile resolutions retain the old 8-pixel quantization and 8..4096 limits.
xiiUInt64 GetTransformHash () const
Public Member Functions inherited from xiiProfileConfigData
 xiiProfileConfigData ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
virtual void SaveRuntimeData (xiiChunkStreamWriter &ref_stream) const
virtual void LoadRuntimeData (xiiChunkStreamReader &ref_stream)
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Public Attributes

xiiUInt16 m_uiMaxResolution = 1024 * 16
xiiUInt16 m_uiRenderTargetResolution1 = 256
xiiUInt16 m_uiRenderTargetResolution2 = 512

Additional Inherited Members

Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Detailed Description

Texture asset transformation settings. Profile dimensions are baked into native target definitions.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/SharedPluginAssets/TextureAsset/TextureAssetProfile.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/SharedPluginAssets/TextureAsset/TextureAssetProfile.cpp