RSX Code Reference
    Preparing search index...
    • rsx
    • TextureResourceMetaData

    Class TextureResourceMetaData

    Resource meta-data for Texture resources.

    Hierarchy (View Summary)

    Index
    • get affixResourceUUID(): UUID

      The UUID of the resource that this instance depends on.

      Returns UUID

      The resource may be unavailable in the library.

    • set affixResourceUUID(value: UUID): void

      Parameters

      Returns void

    • get depth(): number

      Returns the depth of the texture (only applicable for 3D textures).

      Returns number

    • get description(): string

      The description of the Resource.

      Returns string

    • set description(value: string): void

      Parameters

      • value: string

      Returns void

    • get displayName(): string

      The name of the Resource to be displayed.

      Returns string

    • set displayName(value: string): void

      Parameters

      • value: string

      Returns void

    • get height(): number

      Returns the height of the texture.

      Returns number

    • get importOptions(): ImportOptions

      The import options.

      Returns ImportOptions

    • set importOptions(value: ImportOptions): void

      Parameters

      Returns void

    • get importSourceData(): SourceAssetData

      The source asset data, used to regenerate the imported asset.

      Returns SourceAssetData

    • get isColorspaceSRGB(): boolean

      Determines if the texture source data is sRGB colorspaced. If the texture format supports hardware sRGB conversion, the underlying data will be sRGB and convered to linear when sampled. Otherwise the data will be linearized on import.

      Returns boolean

    • get mipmapCount(): number

      Gets the number of mipmaps to be used for this texture. This number excludes the top level map (which is always assumed to be present).

      Returns number

    • get pathInSourceAsset(): FilePath

      The path in the source asset when it was imported into the library.

      Returns FilePath

    • get polyverseAssetID(): string

      The Polyverse Library ID, if imported via Polyverse.

      Returns string

    • get polyverseData(): JsonObject

      Polyverse specific data, set if imported via Polyverse.

      Returns JsonObject

    • get polyverseLibraryID(): string

      The Polyverse Library ID, if imported via Polyverse.

      Returns string

    • get sampleCount(): number

      Gets the number of samples used for multisampling (0 or 1 if multisampling is not used).

      Returns number

    • get sourcePath(): FilePath

      The absolute file path where the file was imported from the users file system.

      Returns FilePath

    • set sourcePath(value: FilePath): void

      Parameters

      Returns void

    • get width(): number

      Returns the width of the texture.

      Returns number

    • Sets the affaffixrix resource data key to the specified

      Parameters

      • key: string
      • value: number

      Returns void

    • Sets the affix resource data key to the specified string

      Parameters

      • key: string
      • value: string

      Returns void