Namespace TriLibCore.Utils
Classes
ArrayUtils
Provides utility methods for manipulating arrays and byte-based streams.
AutodeskInteractiveMaterialsHelper
Provides helper methods to configure an AssetLoaderOptions instance with the AutodeskInteractiveStandardMaterialMapper, ensuring correct interpretation and rendering of Autodesk Interactive materials.
Base64Decoder
Provides functionality to decode data from a Base64-encoded source one byte at a time.
BigEndianBinaryReader
Provides methods for reading primitive data types as big-endian values from a stream.
ColorUtils
Provides utility methods for color calculations, including conversions from specular properties to glossiness or metallic values. These methods are useful when adapting material properties between different shading models or pipelines.
CustomDataHelper
Represents a class used to handle TriLib CustomData parameter as a Type/Object Dictionary.
Dispatcher
Represents a system for dispatching Actions to execute on the Main Thread.
FileUtils
Represents a series of file utility methods.
FlagUtils
Provides utility methods for working with integer-based flags.
GltfMaterialsHelper
Provides helper methods for configuring AssetLoaderOptions to use the glTF2StandardMaterialMapper, ensuring that glTF 2.0 materials are applied correctly during model loading.
GraphicsSettingsUtils
Represents a series of graphic settings utility methods.
HashUtils
Represents a series of Hash generation utility methods.
JsonParser
Parses a JSON document from a binary stream. This implementation utilizes a BinaryReader and offers functionality for tokenizing and constructing JSON objects, arrays, and values.
ListUtils
Represents a series of Lists utility methods.
MaterialsHelper
Provides helper methods for configuring AssetLoaderOptions to use different Material Mappers.
MathUtils
Represents a series of math utility methods.
ProcessUtils
Provides utility methods for gathering process-related information and formatting memory sizes.
RenderPipelineUtils
Represents a series of Render Pipeline utility methods.
RightHandToLeftHandConverter
Represents methods to convert from a right-hand to a left-hand coordinate system.
StringComparer
Represents a class used to match Strings using various parameters.
TextureComparators
Provides methods for comparing and hashing ITexture instances.
TextureUtils
Provides a series of utility methods for handling Unity UnityEngine.Texture objects, including creation, manipulation, channel extraction, and conversion of textures.
ThreadUtils
Provides utility methods for creating and managing threads (or tasks) in TriLib, offering asynchronous execution, error handling, cancellation, and progress reporting.
Structs
JsonParser.JsonValue
Represents a JSON value in the parsed data, including its children (for objects/arrays) and its position/length in the underlying stream.
JsonParser.JsonValue.JsonByteEnumerator
Enumerates the bytes of a JsonParser.JsonValue from the underlying stream.
JsonParser.JsonValue.JsonCharEnumerator
Enumerates the characters of a JsonParser.JsonValue from the underlying stream.
JsonParser.JsonValue.JsonKeyValueEnumerator
Enumerates key-value pairs for this JsonParser.JsonValue if it was parsed with key creation enabled.
JsonParser.JsonValue.JsonValueEnumerator
Enumerates the direct child JsonParser.JsonValue objects of this instance.
Enums
JsonParser.JsonValueType
Specifies the recognized JSON value types.