maxon::material::EXPORT Namespace Reference

Namespaces

 CONFIG
 

Enumerations

enum class  TextureSupport {
  NONE ,
  TEXTUREBUFFER ,
  IMAGEREFERENCE ,
  SUBSTANCEREFERENCE ,
  ALL
}
 
enum class  TextureResize {
  ALWAYS ,
  OFF ,
  DONT_ENLARGE
}
 

Functions

enum maxon::material::EXPORT::TextureSupport MAXON_ENUM_FLAGS (TextureSupport)
 
enum maxon::material::EXPORT::TextureResize MAXON_ENUM_LIST (TextureResize)
 

Enumeration Type Documentation

◆ TextureSupport

enum TextureSupport
strong
Enumerator
NONE 

Indicates support for no kind of data in MaterialExchangeData::_textures.

TEXTUREBUFFER 

Indicates that data of type TextureBuffer can be consumed by the caller.

IMAGEREFERENCE 

Indicates that data of type ImageReference can be consumed by the caller.

SUBSTANCEREFERENCE 

Indicates that data of type SubstanceReference can be consumed by the caller.

ALL 

◆ TextureResize

enum TextureResize
strong

Enum used to specify the scaling policy for baking or exporting textures

ALSO DEFINED IN nodespace.framework\source\maxon\previewimageprovider.h

Enumerator
ALWAYS 

Legacy behaviour. Textures should be up- and downscaled to the requested texture dimensions.

OFF 

Textures should be passed with their native resolution.

DONT_ENLARGE 

Textures should only be downscaled to the requested texture dimensions.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum maxon::material::EXPORT::TextureSupport maxon::material::EXPORT::MAXON_ENUM_FLAGS ( TextureSupport  )

◆ MAXON_ENUM_LIST()

enum maxon::material::EXPORT::TextureResize maxon::material::EXPORT::MAXON_ENUM_LIST ( TextureResize  )