Zdexby TheHolyOneZ
36,909 classes
Class

Texture2DAtlas

: Object
UnityEngine.Rendering.Texture2DAtlas, Unity.RenderPipelines.Core.Runtime 0x0048 (72 B) inherited 0x0010 Unity.RenderPipelines.Core.Runtime.dll
0x00x0048

Members 15

OffsetSizeNameTypeFlagsDefault
—0x04kGPUTexInvalidintStatic+2 flags1065353216
—0x04kGPUTexValidMip0intStatic+2 flags1065353216
—0x04kGPUTexValidMipAllintStatic+2 flags1065353216
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 33

SignatureFlagsNativeParams
int get_maxMipLevelPadding()PublicStatic+1 flags0x04
RTHandle get_AtlasTexture()Public+1 flags0x08
void .ctor(int width, int height, const GraphicsFormat& format, const FilterMode& filterMode, bool powerOfTwoPadding, const string& name, bool useMipMap)Public+1 flags0x08
void Release()Public0x00
void ResetAllocator()Public0x00
void ClearTarget(CommandBuffer cmd)Public0x08
int GetTextureMipmapCount(int width, int height)1 flags0x04
bool Is2D(Texture texture)1 flags0x08
bool IsSingleChannelBlit(Texture source, Texture destination)1 flags0x08
void Blit2DTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, const BlitType& blitType)Private0x10
void MarkGPUTextureValid(int instanceId, bool mipAreValid)1 flags0x04
void MarkGPUTextureInvalid(int instanceId)1 flags0x04
void BlitTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public+2 flags0x10
void BlitOctahedralTexture(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, const Vector4& sourceScaleOffset, bool blitMips, int overrideInstanceID)Public+2 flags0x10
void BlitCubeTexture2D(CommandBuffer cmd, const Vector4& scaleOffset, Texture texture, bool blitMips, int overrideInstanceID)Public+2 flags0x10
bool AllocateTexture(CommandBuffer cmd, ref Vector4& scaleOffset, Texture texture, int width, int height, int overrideInstanceID)Public+2 flags0x10
bool AllocateTextureWithoutBlit(Texture texture, int width, int height, ref Vector4& scaleOffset)Public0x10
bool AllocateTextureWithoutBlit(int instanceId, int width, int height, ref Vector4& scaleOffset)Public+2 flags0x10
int GetTextureHash(Texture textureA, Texture textureB)1 flags0x08
int GetTextureID(Texture texture)Public0x08
int GetTextureID(Texture textureA, Texture textureB)Public0x08
bool IsCached(ref Vector4& scaleOffset, Texture textureA, Texture textureB)Public0x10
bool IsCached(ref Vector4& scaleOffset, Texture texture)Public0x10
bool IsCached(ref Vector4& scaleOffset, int id)Public0x10
Vector2Int GetCachedTextureSize(int id)1 flags0x08
bool NeedsUpdate(Texture texture, bool needMips)Public+2 flags0x08
bool NeedsUpdate(int id, int updateCount, bool needMips)Public+2 flags0x04
bool NeedsUpdate(Texture textureA, Texture textureB, bool needMips)Public+2 flags0x08
bool AddTexture(CommandBuffer cmd, ref Vector4& scaleOffset, Texture texture)Public+2 flags0x10
bool UpdateTexture(CommandBuffer cmd, Texture oldTexture, Texture newTexture, ref Vector4& scaleOffset, const Vector4& sourceScaleOffset, bool updateIfNeeded, bool blitMips)Public+2 flags0x10
bool UpdateTexture(CommandBuffer cmd, Texture texture, ref Vector4& scaleOffset, bool updateIfNeeded, bool blitMips)Public+2 flags0x10
bool EnsureTextureSlot(ref bool& isUploadNeeded, ref Vector4& scaleBias, int key, int width, int height)1 flags0x10
void .cctor()PrivateStatic+1 flags0x00

Subclasses 1

Used by 1

types with a member, parameter or interface of this type