Crate ptex

source ·

Structs§

  • File-handle and memory cache for reading ptex files
  • Query the size in bytes for each DataType.
  • Return the value of “1.0” for the specified DataType (1.0 (float), 255.0 (8bit), …).
  • Pixel resolution of a given texture. The resolution is stored in log form: ulog2 = log2(ures), vlog2 = log2(vres)). Note: negative ulog2 or vlog2 values are reserved for internal use.
  • Interface for reading data from a ptex file
  • Interface for writing data to a ptex file.
  • A 16-bit floating point type implementing the IEEE 754-2008 standard binary16 a.k.a “half” format.

Enums§

  • The main Error type returns either error Messages or FileIO errors.

Type Aliases§

  • How to handle mesh border when filtering.
  • Type of data stored in texture file.
  • How to handle transformation across edges when filtering.
  • Edge IDs used in adjacency data in the Ptex::FaceInfo struct. Edge ID usage for triangle meshes is TBD.
  • Information about a face, as stored in the Ptex file header.
  • Type of base mesh for which the textures are defined. A mesh can be triangle-based (with triangular textures) or quad-based (with rectangular textures). */
  • Type of meta data entry.