• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DDSLoader
    • DDSImage
    • DDSImage.DDSHeader
    • DDSImage.DDSPixelFormat
    • DDSImage.HeaderFlags
    • DDSImage.PixelFormatFlags
    • DDSUnityExtensions
    • FourCC
  • LLBML
    • BallApi
    • CharacterApi
    • GraphicUtils
    • InputApi
    • LLBMLPlugin
    • LoadingInfo
    • LoadingScreen
    • PluginInfos
    • ProgressApi
    • ScreenApi
    • StateApi
  • LLBML.Audio
    • AudioAsset
    • AudioCache
    • AudioInfo
    • AudioUtils
  • LLBML.External
    • IntHelpers
    • Murmur3
  • LLBML.GameEvents
    • GameEvents
    • GameStateEvents
    • LobbyEventArgs
    • LobbyEvents
    • LobbyReadyArgs
    • MenuEvents
    • OnLobbyEnteredHandler
    • OnLobbyReadyHandler
    • OnMainMenuEnteredArgs
    • OnMainMenuEnteredHandler
    • OnMainMenuFirstEnteredHandler
    • OnPlayerJoinArgs
    • OnPlayerJoinHandler
    • OnStateChangeArgs
    • OnStateChangeHandler
    • OnUnlinkFromPlayerArgs
    • OnUnlinkFromPlayerHandler
    • OnUserCharacterPickArgs
    • OnUserCharacterPickHandler
    • OnUserSkinClickArgs
    • OnUserSkinClickHandler
  • LLBML.Graphic
    • Draw
    • Draw.Alignment
  • LLBML.Math
    • BinaryUtils
    • Boundsf
    • Floatf
    • Vector2f
    • Vector2i
  • LLBML.Messages
    • CustomMessage
    • MessageActions
    • MessageApi
    • MessageApi.OnReceiveMessageHandler
    • MessageEventArgs
  • LLBML.Networking
    • Channel
    • EnvelopeApi
    • EnvelopeApi.OnReceiveEnvelopeHandler
    • EnvelopeEventArgs
    • EP2PSend
    • EP2PSend.Enum
    • EP2PSend.Enum_Mapping
    • NetworkApi
    • Transaction
    • TransactionCode
    • TransactionState
  • LLBML.Players
    • Player
    • PlayerStatus
    • PlayerStatus.Enum
    • PlayerStatus.Enum_Mappings
    • Team
    • Team.Enum
    • Team.Enum_Mappings
  • LLBML.Settings
    • GameSettings
  • LLBML.States
    • GameState
    • GameState.Enum
    • GameState.Enum_Mapping
    • GameStates
    • GameStatesGameUtils
    • GameStatesLobbyUtils
    • PlayerLobbyState
  • LLBML.Texture
    • TextureUtils
  • LLBML.UI
    • Dialogs
  • LLBML.Utils
    • ArrayExtension
    • BepInRef
    • ControlledRandom
    • DebugUtils
    • EnumWrapper<T>
    • GenericCache<K, T>
    • GenericUtils
    • Hash<T>
    • IByteable
    • ModDependenciesUtils
    • ModdingFolder
    • PatchUtils
    • StringUtils

Class DDSImage

Inheritance
System.Object
DDSImage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DDSLoader
Assembly: LLBModdingLib.dll
Syntax
public class DDSImage

Constructors

DDSImage(Byte[])

Declaration
public DDSImage(byte[] rawData)
Parameters
Type Name Description
System.Byte[] rawData

Properties

Depth

Declaration
public int Depth { get; }
Property Value
Type Description
System.Int32

HasDepth

Declaration
public bool HasDepth { get; }
Property Value
Type Description
System.Boolean

HasFourCC

Declaration
public bool HasFourCC { get; }
Property Value
Type Description
System.Boolean

HasHeight

Declaration
public bool HasHeight { get; }
Property Value
Type Description
System.Boolean

HasWidth

Declaration
public bool HasWidth { get; }
Property Value
Type Description
System.Boolean

Header

Declaration
public DDSImage.DDSHeader Header { get; }
Property Value
Type Description
DDSImage.DDSHeader

headerFlags

Declaration
public DDSImage.HeaderFlags headerFlags { get; }
Property Value
Type Description
DDSImage.HeaderFlags

Height

Declaration
public int Height { get; }
Property Value
Type Description
System.Int32

IsUncompressedRGB

Declaration
public bool IsUncompressedRGB { get; }
Property Value
Type Description
System.Boolean

IsValid

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean

MipMapCount

Declaration
public int MipMapCount { get; }
Property Value
Type Description
System.Int32

Width

Declaration
public int Width { get; }
Property Value
Type Description
System.Int32

Methods

GetPixelFormatFourCC()

Declaration
public FourCC GetPixelFormatFourCC()
Returns
Type Description
FourCC

GetRGBData(Byte[])

Declaration
public void GetRGBData(byte[] rgbData)
Parameters
Type Name Description
System.Byte[] rgbData

GetTextureData()

Declaration
public byte[] GetTextureData()
Returns
Type Description
System.Byte[]

Extension Methods

DDSUnityExtensions.GetTextureFormat(DDSImage)
In This Article
Back to top Generated by DocFX