Module ptex_sys::ffi

source ·
Expand description

cxx FFI bindings to the Ptex C++ API. The ffi module provides raw access to the underlying C++ APIs.

Structs§

  • 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.
  • File-handle and memory cache for reading ptex files.
  • Interface for reading data from a ptex file
  • Interface for writing data to a ptex file.
  • 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.

Functions§