TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Model.Texture.Encode

Short Name:
  • class Model.Texture.Encode
Derived From:
Fields:

Encodes a texture from the given image.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required source Image
# != null
 

The source image from which to create a texture.

required format Texture.Format    

The texture format to use if the image file does not specify one. Set to null to choose a texture format from the pixel format automatically.

optional srgb bool  
true

Create sRGB compressed texture?