Zdexby TheHolyOneZ
49,743 classes
Class

PowerOfTwoTextureAtlas

: Texture2DAtlas : Object
UnityEngine.Rendering.PowerOfTwoTextureAtlas, Unity.RenderPipelines.Core.Runtime 0x0058 (88 B) inherited 0x0048 Unity.RenderPipelines.Core.Runtime.dll
0x00x0058

Members 3

OffsetSizeNameTypeFlagsDefault
0x04m_MipPaddingintPrivate+1 flags—
—0x04k_MipmapFactorApproxfloatPrivateStatic+1 flags1068121457
0x004C0x04padding / unreflected
0x08m_RequestedTexturesDictionary<System.Int32Private—
Inherited from Texture2DAtlas 15
OffsetSizeNameTypeFlagsDefault
—0x04kGPUTexInvalidintStatic+2 flags0
—0x04kGPUTexValidMip0intStatic+2 flags0
—0x04kGPUTexValidMipAllintStatic+2 flags0
0x08m_AtlasTextureRTHandle1 flags—
0x04m_Widthint1 flags—
0x04m_Heightint1 flags—
0x04m_FormatGraphicsFormat1 flags—
0x01m_UseMipMapsbool1 flags—
0x01m_IsAtlasTextureOwnerboolPrivate—
0x00260x02padding / unreflected
0x08m_AtlasAllocatorAtlasAllocatorPrivate—
0x08m_AllocationCacheDictionary<System.Int32Private—
0x08m_IsGPUTextureUpToDateDictionary<System.Int32Private—
0x08m_TextureHashesDictionary<System.Int32Private—
0x10fullScaleOffsetVector4PrivateStatic+1 flags—
0x04s_MaxMipLevelPaddingintPrivateStatic+1 flags—

Functions 21

SignatureFlagsNativeParams
void .ctor(int size, int mipPadding, const GraphicsFormat& format, const FilterMode& filterMode, const string& name, bool useMipMap)Public+1 flags0x08
int get_mipPadding()Public+1 flags0x04
int GetTexturePadding()Private0x04
Vector4 GetPayloadScaleOffset(Texture texture, ref Vector4& scaleOffset)Public0x10
Vector4 GetPayloadScaleOffset(ref Vector2& textureSize, ref Vector2& paddingSize, ref Vector4& scaleOffset)PublicStatic0x10
void Blit2DTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, const BlitType& blitType)Private0x10
void BlitTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public+1 flags0x10
void BlitTextureMultiply(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public0x10
void BlitOctahedralTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public+1 flags0x10
void BlitOctahedralTextureMultiply(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public0x10
void TextureSizeToPowerOfTwo(Texture texture, ref int& width, ref int& height)Private0x08
Vector2 GetPowerOfTwoTextureSize(Texture texture)Private0x08
bool AllocateTexture(CommandBuffer cmd, ref Vector4& scaleOffset, Texture texture, int width, int height, int overrideInstanceID)Public+1 flags0x10
void ResetRequestedTexture()Public0x00
bool ReserveSpace(Texture texture)Public0x08
bool ReserveSpace(Texture texture, int width, int height)Public0x08
bool ReserveSpace(Texture textureA, Texture textureB, int width, int height)Public0x08
bool ReserveSpace(int id, int width, int height)Public0x04
bool RelayoutEntries()Public0x01
long GetApproxCacheSizeInByte(int nbElement, int resolution, bool hasMipmap, const GraphicsFormat& format)PublicStatic0x08
int GetMaxCacheSizeForWeightInByte(int weight, bool hasMipmap, const GraphicsFormat& format)PublicStatic0x04