Simplygon C++ API  8.3.35800.0
SimplygonSDK Namespace Reference

Classes

class  CountedPointer
 
class  IAggregationPipeline
 
class  IAggregationProcessor
 
class  IAggregationSettings
 
class  IAmbientOcclusionCaster
 
class  IAmbientOcclusionCasterSettings
 
class  IArray
 
class  IBinaryExporter
 
class  IBinaryImporter
 
class  IBoneSettings
 
class  IBoolArray
 
class  IBoolData
 
class  ICharArray
 
class  ICharData
 
class  IChartAggregator
 
class  IChunkedImageData
 
class  IColorCaster
 
class  IColorCasterSettings
 
class  IData
 
class  IDirectXRenderer
 
class  IDisplacementCaster
 
class  IDisplacementCasterSettings
 
class  IDoubleArray
 
class  IDoubleData
 
class  IFieldData
 
class  IFloatArray
 
class  IFloatData
 
class  IFoliageProcessor
 
class  IFoliageSettings
 
class  IGeometryData
 
class  IGeometryDataCollection
 
class  IGeometryValidator
 
class  IGraphicsExporter
 
class  IGraphicsImporter
 
class  IImageComparer
 
class  IImageData
 
class  IImageDataExporter
 
class  IImageDataImporter
 
class  IImpostorProcessor
 
class  IImpostorSettings
 
class  IIntArray
 
class  IIntData
 
class  ILongArray
 
class  ILongData
 
class  IMappingImage
 
class  IMappingImageMeshData
 
class  IMappingImageSettings
 
class  IMaterial
 
class  IMaterialCaster
 
class  IMaterialCasterSettings
 
class  IMaterialTable
 
class  IMatrix4x4
 
class  INormalCalculationSettings
 
class  INormalCaster
 
class  INormalCasterSettings
 
class  INormalRepairer
 
class  IObject
 
class  IObjectCollection
 
class  IOcclusionMeshProcessor
 
class  IOcclusionMeshSettings
 
class  IOpacityCaster
 
class  IOpacityCasterSettings
 
class  IPackedGeometryData
 
class  IParameterizer
 
class  IPartRemover
 
class  IPipeline
 
class  IPipelineSerializer
 
class  IPipelineSettings
 
class  IProcessingObject
 
class  IRealArray
 
class  IRealData
 
class  IRecommendedTextureSizeCalculator
 
class  IReductionPipeline
 
class  IReductionProcessor
 
class  IReductionSettings
 
class  IRemeshingPipeline
 
class  IRemeshingProcessor
 
class  IRemeshingProcessorV2
 
class  IRemeshingSettings
 
class  IRemeshingSettingsV2
 
class  IRepairSettings
 
class  IRhandleData
 
class  IRidArray
 
class  IRidData
 
class  IScene
 
class  ISceneBone
 
class  ISceneBoneTable
 
class  ISceneCamera
 
class  ISceneLodGroup
 
class  ISceneMesh
 
class  ISceneNode
 
class  ISceneNodeCollection
 
class  IScenePlane
 
class  ISelectionSet
 
class  ISelectionSetTable
 
class  ISettingsObject
 
class  IShaderGenerator
 
class  IShadingAddNode
 
class  IShadingClampNode
 
class  IShadingColorNode
 
class  IShadingCosNode
 
class  IShadingCross3Node
 
class  IShadingCustomNode
 
class  IShadingDivideNode
 
class  IShadingDot3Node
 
class  IShadingEqualNode
 
class  IShadingFilterNode
 
class  IShadingGreaterThanNode
 
class  IShadingInterpolateNode
 
class  IShadingLayeredBlendNode
 
class  IShadingLessThanNode
 
class  IShadingMaxNode
 
class  IShadingMinNode
 
class  IShadingMultiplyNode
 
class  IShadingNode
 
class  IShadingNormalize3Node
 
class  IShadingNotEqualNode
 
class  IShadingPowNode
 
class  IShadingSinNode
 
class  IShadingSqrtNode
 
class  IShadingStepNode
 
class  IShadingSubtractNode
 
class  IShadingSwizzlingNode
 
class  IShadingTextureNode
 
class  IShadingVertexColorNode
 
class  IShadowMeshProcessor
 
class  IShadowMeshSettings
 
class  IShortArray
 
class  IShortData
 
class  ISimplygonSDK
 
class  IString
 
class  IStringArray
 
class  ISurfaceMapper
 
class  ITable
 
class  ITangentCalculator
 
class  ITexture
 
class  ITextureTable
 
class  ITJunctionEliminator
 
class  ITransform3
 
class  IUnsignedCharArray
 
class  IUnsignedCharData
 
class  IUnsignedIntArray
 
class  IUnsignedIntData
 
class  IUnsignedLongArray
 
class  IUnsignedLongData
 
class  IUnsignedShortArray
 
class  IUnsignedShortData
 
class  IValueArray
 
class  IVertexColorBaker
 
class  IVisibilitySettings
 
class  IWavefrontExporter
 
class  IWavefrontImporter
 
class  IWelder
 
class  rdata
 
class  rerrorhandler
 
class  robserver
 
class  rstring
 

Typedefs

typedef float real
 
typedef void * rhandle
 
typedef int rid
 
typedef CountedPointer< IAggregationPipelinespAggregationPipeline
 
typedef CountedPointer< IAggregationProcessorspAggregationProcessor
 
typedef CountedPointer< IAggregationSettingsspAggregationSettings
 
typedef CountedPointer< IAmbientOcclusionCasterspAmbientOcclusionCaster
 
typedef CountedPointer< IAmbientOcclusionCasterSettingsspAmbientOcclusionCasterSettings
 
typedef CountedPointer< IArrayspArray
 
typedef CountedPointer< IBinaryExporterspBinaryExporter
 
typedef CountedPointer< IBinaryImporterspBinaryImporter
 
typedef CountedPointer< IBoneSettingsspBoneSettings
 
typedef CountedPointer< IBoolArrayspBoolArray
 
typedef rdata< IBoolDataspBoolData
 
typedef CountedPointer< ICharArrayspCharArray
 
typedef rdata< ICharDataspCharData
 
typedef CountedPointer< IChartAggregatorspChartAggregator
 
typedef CountedPointer< IChunkedImageDataspChunkedImageData
 
typedef CountedPointer< IColorCasterspColorCaster
 
typedef CountedPointer< IColorCasterSettingsspColorCasterSettings
 
typedef CountedPointer< IDirectXRendererspDirectXRenderer
 
typedef CountedPointer< IDisplacementCasterspDisplacementCaster
 
typedef CountedPointer< IDisplacementCasterSettingsspDisplacementCasterSettings
 
typedef CountedPointer< IDoubleArrayspDoubleArray
 
typedef rdata< IDoubleDataspDoubleData
 
typedef CountedPointer< IFieldDataspFieldData
 
typedef CountedPointer< IFloatArrayspFloatArray
 
typedef rdata< IFloatDataspFloatData
 
typedef CountedPointer< IFoliageProcessorspFoliageProcessor
 
typedef CountedPointer< IFoliageSettingsspFoliageSettings
 
typedef CountedPointer< IGeometryDataspGeometryData
 
typedef CountedPointer< IGeometryDataCollectionspGeometryDataCollection
 
typedef CountedPointer< IGeometryValidatorspGeometryValidator
 
typedef CountedPointer< IGraphicsExporterspGraphicsExporter
 
typedef CountedPointer< IGraphicsImporterspGraphicsImporter
 
typedef CountedPointer< IImageComparerspImageComparer
 
typedef CountedPointer< IImageDataspImageData
 
typedef CountedPointer< IImageDataExporterspImageDataExporter
 
typedef CountedPointer< IImageDataImporterspImageDataImporter
 
typedef CountedPointer< IImpostorProcessorspImpostorProcessor
 
typedef CountedPointer< IImpostorSettingsspImpostorSettings
 
typedef CountedPointer< IIntArrayspIntArray
 
typedef rdata< IIntDataspIntData
 
typedef CountedPointer< ILongArrayspLongArray
 
typedef rdata< ILongDataspLongData
 
typedef CountedPointer< IMappingImagespMappingImage
 
typedef CountedPointer< IMappingImageMeshDataspMappingImageMeshData
 
typedef CountedPointer< IMappingImageSettingsspMappingImageSettings
 
typedef CountedPointer< IMaterialspMaterial
 
typedef CountedPointer< IMaterialCasterspMaterialCaster
 
typedef CountedPointer< IMaterialCasterSettingsspMaterialCasterSettings
 
typedef CountedPointer< IMaterialTablespMaterialTable
 
typedef CountedPointer< IMatrix4x4spMatrix4x4
 
typedef CountedPointer< INormalCalculationSettingsspNormalCalculationSettings
 
typedef CountedPointer< INormalCasterspNormalCaster
 
typedef CountedPointer< INormalCasterSettingsspNormalCasterSettings
 
typedef CountedPointer< INormalRepairerspNormalRepairer
 
typedef CountedPointer< IObjectspObject
 
typedef CountedPointer< IObjectCollectionspObjectCollection
 
typedef CountedPointer< IOcclusionMeshProcessorspOcclusionMeshProcessor
 
typedef CountedPointer< IOcclusionMeshSettingsspOcclusionMeshSettings
 
typedef CountedPointer< IOpacityCasterspOpacityCaster
 
typedef CountedPointer< IOpacityCasterSettingsspOpacityCasterSettings
 
typedef CountedPointer< IPackedGeometryDataspPackedGeometryData
 
typedef CountedPointer< IParameterizerspParameterizer
 
typedef CountedPointer< IPartRemoverspPartRemover
 
typedef CountedPointer< IPipelinespPipeline
 
typedef CountedPointer< IPipelineSerializerspPipelineSerializer
 
typedef CountedPointer< IPipelineSettingsspPipelineSettings
 
typedef CountedPointer< IProcessingObjectspProcessingObject
 
typedef CountedPointer< IRealArrayspRealArray
 
typedef rdata< IRealDataspRealData
 
typedef CountedPointer< IRecommendedTextureSizeCalculatorspRecommendedTextureSizeCalculator
 
typedef CountedPointer< IReductionPipelinespReductionPipeline
 
typedef CountedPointer< IReductionProcessorspReductionProcessor
 
typedef CountedPointer< IReductionSettingsspReductionSettings
 
typedef CountedPointer< IRemeshingPipelinespRemeshingPipeline
 
typedef CountedPointer< IRemeshingProcessorspRemeshingProcessor
 
typedef CountedPointer< IRemeshingProcessorV2spRemeshingProcessorV2
 
typedef CountedPointer< IRemeshingSettingsspRemeshingSettings
 
typedef CountedPointer< IRemeshingSettingsV2spRemeshingSettingsV2
 
typedef CountedPointer< IRepairSettingsspRepairSettings
 
typedef rdata< IRhandleDataspRhandleData
 
typedef CountedPointer< IRidArrayspRidArray
 
typedef rdata< IRidDataspRidData
 
typedef CountedPointer< IScenespScene
 
typedef CountedPointer< ISceneBonespSceneBone
 
typedef CountedPointer< ISceneBoneTablespSceneBoneTable
 
typedef CountedPointer< ISceneCameraspSceneCamera
 
typedef CountedPointer< ISceneLodGroupspSceneLodGroup
 
typedef CountedPointer< ISceneMeshspSceneMesh
 
typedef CountedPointer< ISceneNodespSceneNode
 
typedef CountedPointer< ISceneNodeCollectionspSceneNodeCollection
 
typedef CountedPointer< IScenePlanespScenePlane
 
typedef CountedPointer< ISelectionSetspSelectionSet
 
typedef CountedPointer< ISelectionSetTablespSelectionSetTable
 
typedef CountedPointer< ISettingsObjectspSettingsObject
 
typedef CountedPointer< IShaderGeneratorspShaderGenerator
 
typedef CountedPointer< IShadingAddNodespShadingAddNode
 
typedef CountedPointer< IShadingClampNodespShadingClampNode
 
typedef CountedPointer< IShadingColorNodespShadingColorNode
 
typedef CountedPointer< IShadingCosNodespShadingCosNode
 
typedef CountedPointer< IShadingCross3NodespShadingCross3Node
 
typedef CountedPointer< IShadingCustomNodespShadingCustomNode
 
typedef CountedPointer< IShadingDivideNodespShadingDivideNode
 
typedef CountedPointer< IShadingDot3NodespShadingDot3Node
 
typedef CountedPointer< IShadingEqualNodespShadingEqualNode
 
typedef CountedPointer< IShadingFilterNodespShadingFilterNode
 
typedef CountedPointer< IShadingGreaterThanNodespShadingGreaterThanNode
 
typedef CountedPointer< IShadingInterpolateNodespShadingInterpolateNode
 
typedef CountedPointer< IShadingLayeredBlendNodespShadingLayeredBlendNode
 
typedef CountedPointer< IShadingLessThanNodespShadingLessThanNode
 
typedef CountedPointer< IShadingMaxNodespShadingMaxNode
 
typedef CountedPointer< IShadingMinNodespShadingMinNode
 
typedef CountedPointer< IShadingMultiplyNodespShadingMultiplyNode
 
typedef CountedPointer< IShadingNodespShadingNode
 
typedef CountedPointer< IShadingNormalize3NodespShadingNormalize3Node
 
typedef CountedPointer< IShadingNotEqualNodespShadingNotEqualNode
 
typedef CountedPointer< IShadingPowNodespShadingPowNode
 
typedef CountedPointer< IShadingSinNodespShadingSinNode
 
typedef CountedPointer< IShadingSqrtNodespShadingSqrtNode
 
typedef CountedPointer< IShadingStepNodespShadingStepNode
 
typedef CountedPointer< IShadingSubtractNodespShadingSubtractNode
 
typedef CountedPointer< IShadingSwizzlingNodespShadingSwizzlingNode
 
typedef CountedPointer< IShadingTextureNodespShadingTextureNode
 
typedef CountedPointer< IShadingVertexColorNodespShadingVertexColorNode
 
typedef CountedPointer< IShadowMeshProcessorspShadowMeshProcessor
 
typedef CountedPointer< IShadowMeshSettingsspShadowMeshSettings
 
typedef CountedPointer< IShortArrayspShortArray
 
typedef rdata< IShortDataspShortData
 
typedef CountedPointer< IStringArrayspStringArray
 
typedef CountedPointer< ISurfaceMapperspSurfaceMapper
 
typedef CountedPointer< ITablespTable
 
typedef CountedPointer< ITangentCalculatorspTangentCalculator
 
typedef CountedPointer< ITexturespTexture
 
typedef CountedPointer< ITextureTablespTextureTable
 
typedef CountedPointer< ITJunctionEliminatorspTJunctionEliminator
 
typedef CountedPointer< ITransform3spTransform3
 
typedef CountedPointer< IUnsignedCharArrayspUnsignedCharArray
 
typedef rdata< IUnsignedCharDataspUnsignedCharData
 
typedef CountedPointer< IUnsignedIntArrayspUnsignedIntArray
 
typedef rdata< IUnsignedIntDataspUnsignedIntData
 
typedef CountedPointer< IUnsignedLongArrayspUnsignedLongArray
 
typedef rdata< IUnsignedLongDataspUnsignedLongData
 
typedef CountedPointer< IUnsignedShortArrayspUnsignedShortArray
 
typedef rdata< IUnsignedShortDataspUnsignedShortData
 
typedef CountedPointer< IValueArrayspValueArray
 
typedef CountedPointer< IVertexColorBakerspVertexColorBaker
 
typedef CountedPointer< IVisibilitySettingsspVisibilitySettings
 
typedef CountedPointer< IWavefrontExporterspWavefrontExporter
 
typedef CountedPointer< IWavefrontImporterspWavefrontImporter
 
typedef CountedPointer< IWelderspWelder
 

Enumerations

enum  AtlasFillMode { SG_ATLASFILLMODE_INTERPOLATE = 0x00000000, SG_ATLASFILLMODE_NEARESTNEIGHBOR = 0x00000001, SG_ATLASFILLMODE_NONE = 0x00000002 }
 The fill mode determines what to do with the pixels that remain unfilled after both the casting and dilation has been performed. More...
 
enum  BaseTypes {
  TYPES_ID_BOOL = 1, TYPES_ID_CHAR = 2, TYPES_ID_UCHAR = 3, TYPES_ID_SHORT = 4,
  TYPES_ID_USHORT = 5, TYPES_ID_INT = 6, TYPES_ID_UINT = 7, TYPES_ID_LONG = 8,
  TYPES_ID_ULONG = 9, TYPES_ID_FLOAT = 10, TYPES_ID_DOUBLE = 11, TYPES_ID_REAL = 12,
  TYPES_ID_RID = 13, TYPES_ID_RCHAR = 14, TYPES_ID_RHANDLE = 15, TYPES_ID_STRING = 16,
  TYPES_ID_OBJECT = 17
}
 BaseTypes are ids of the base types used by data containers (arrays etc.) within Simplygon. More...
 
enum  BoneReductionTargets {
  SG_BONEREDUCTIONTARGET_BONECOUNT = 0x00000001, SG_BONEREDUCTIONTARGET_BONERATIO = 0x00000002, SG_BONEREDUCTIONTARGET_MAXDEVIATION = 0x00000004, SG_BONEREDUCTIONTARGET_ONSCREENSIZE = 0x00000008,
  SG_BONEREDUCTIONTARGET_ALL = 0x0000000F
}
 BoneReductionTargets are used to define which types of reduction targets the bone reducer will use. More...
 
enum  CameraType { SG_CAMERATYPE_PERSPECTIVE = 0x00000000, SG_CAMERATYPE_ORTHOGRAPHIC = 0x00000001, SG_CAMERATYPE_OMNIDIRECTIONAL = 0x00000002 }
 CameraType specifies the camera used when rendering/computing visibility. More...
 
enum  ChartAggregatorMode { SG_CHARTAGGREGATORMODE_TEXTURESIZEPROPORTIONS = 0x00000000, SG_CHARTAGGREGATORMODE_SURFACEAREA = 0x00000001, SG_CHARTAGGREGATORMODE_ORIGINALPIXELDENSITY = 0x00000002, SG_CHARTAGGREGATORMODE_UVSIZEPROPORTIONS = 0x00000003 }
 ChartAggregatorMode specifies in which manner the output UV chart size will depend on the input. More...
 
enum  ComputeVisibilityMode { SG_COMPUTE_VISIBILITY_MODE_DIRECTX = 0x00000000, SG_COMPUTE_VISIBILITY_MODE_SOFTWARE = 0x00000001 }
 ComputeVisibilityMode specifies which type of renderer to use when computing visibility. More...
 
enum  DataCreationPreferences { SG_DATACREATIONPREFERENCES_ONLY_USE_ORIGINAL_DATA = 0x00000000, SG_DATACREATIONPREFERENCES_PREFER_ORIGINAL_DATA = 0x00000001, SG_DATACREATIONPREFERENCES_PREFER_OPTIMIZED_RESULT = 0x00000002 }
 DataCreationPreferences specifies how big freedom Simplygon has when it comes to altering vertex/triangle data. Allowing more altered data means it will be easier to create good looking LODs, but without altered data it will be easier to keep the memory-usage in the LOD-chain more optimized. More...
 
enum  DitherPatterns { SG_DITHERPATTERNS_NO_DITHER = 0x00000000, SG_DITHERPATTERNS_FLOYDSTEINBERG = 0x00000001, SG_DITHERPATTERNS_JARVISJUDICENINKE = 0x00000002, SG_DITHERPATTERNS_SIERRA = 0x00000003 }
 DitherPatterns are used to set the dithering type to use when generating images. More...
 
enum  ErrorCodes {
  SG_ERROR_NOERROR = 0, SG_ERROR_NOLICENSE = -1, SG_ERROR_NOTINITIALIZED = -2, SG_ERROR_ALREADYINITIALIZED = -3,
  SG_ERROR_FILENOTFOUND = -4, SG_ERROR_INVALIDPARAM = -5, SG_ERROR_FAILEDTESTING = -6, SG_ERROR_WRONGVERSION = -7,
  SG_ERROR_LOADFAILED = -8, SG_ERROR_LICENSE_WRONGAPPLICATION = -9, SG_ERROR_LICENSE_WRONGPLATFORM = -10, SG_ERROR_LICENSE_WRONGVERSION = -11,
  SG_ERROR_FAILEDLOOKUP = -10001, SG_ERROR_FAILEDCONTACT = -10002, SG_ERROR_FAILEDSEND = -10003, SG_ERROR_FAILEDRCV = -10004,
  SG_ERROR_CORRUPTED = -10005, SG_ERROR_EXPIRED = -10006, SG_ERROR_INVALIDLICENSE = -10007, SG_ERROR_WRONGLICENSE = -10008,
  SG_ERROR_NONWCARD = -10009, SG_ERROR_DECODEFAILED = -10010, SG_ERROR_WRONGMACHINE = -10011, SG_ERROR_DECODEFAILED2 = -10012,
  SG_ERROR_DECODEFAILED3 = -10013, SG_ERROR_INVALIDLICENSE2 = -10014, SG_ERROR_EXPIRED2 = -10015, SG_ERROR_INVALID_LICENSE2 = -10016,
  SG_ERROR_WRONG_LICENSE2 = -10017, SG_ERROR_NO_NWCARD = -10018, SG_ERROR_DECODE_FAILED = -10019, SG_ERROR_WRONG_MACHINE2 = -10020,
  SG_ERROR_DECODEFAILED4 = -10021, SG_ERROR_DECODEFAILED5 = -10022, SG_ERROR_INVALIDLICENSE3 = -10023, SG_ERROR_INVALIDWINDOWSVERSION = -10024,
  SG_ERROR_LICENSE_BADREQUEST = -10400, SG_ERROR_LICENSE_UNKNOWNLICENSE = -10404, SG_ERROR_LICENSE_INACTIVE = -10410, SG_ERROR_LICENSE_NODECONFLICT = -10409,
  SG_ERROR_LICENSE_UPGRADEREQUIRED = -10426, SG_ERROR_LICENSE_BADREQUEST2 = -10501
}
 Error codes that are returned on initialization/finalization of the library. More...
 
enum  EventCodes { SG_EVENT_PROGRESS = 0x01000001, SG_EVENT_PROCESS_STARTED = 0x01000002, SG_EVENT_CUSTOM_NODE_EVALUATE = 0x00000001, SG_EVENT_CUSTOM_NODE_GENERATE_SHADER_CODE = 0x00000002 }
 EventCodes are used by the event system to specify what kind of event to listen for. More...
 
enum  FlipFacesAndNormals {
  SG_FLIPFACESANDNORMALS_NONE = 0x00000000, SG_FLIPFACESANDNORMALS_AUTOMATIC = 0x00000001, SG_FLIPFACESANDNORMALS_MAKEDOUBLESIDED = 0x00000002, SG_FLIPFACESANDNORMALS_INVERTFACES = 0x00000003,
  SG_FLIPFACESANDNORMALS_INVERTNORMALS = 0x00000004, SG_FLIPFACESANDNORMALS_INVERTFACESANDNORMALS = 0x00000005
}
 FlipFacesAndNormals specifies how faces and normals should be flipped. More...
 
enum  FoliageType { SG_FOLIAGETYPE_BILLBOARDS = 0x00000000, SG_FOLIAGETYPE_FLIPBOOK = 0x00000001 }
 FoliageType specifies the type of foliage in the foliage processor. More...
 
enum  GeometryValidationCodes {
  SG_VALIDATIONERROR_NOERROR = 0x00000000, SG_VALIDATIONERROR_NAN_FLOAT = 0x00000001, SG_VALIDATIONERROR_ILLEGAL_TRIANGLECOUNT = 0x00000002, SG_VALIDATIONERROR_ILLEGAL_VERTEXCOUNT = 0x00000004,
  SG_VALIDATIONERROR_ILLEGAL_INDICES = 0x00000008, SG_VALIDATIONERROR_ILLEGAL_TRIANGLE = 0x00000010, SG_VALIDATIONERROR_ILLEGAL_FIELD_ITEMCOUNT = 0x00000020, SG_VALIDATIONERROR_ILLEGAL_FIELD_TUPLECOUNT = 0x00000040,
  SG_VALIDATIONERROR_ILLEGAL_FIELD_TUPLESIZE = 0x00000080, SG_VALIDATIONERROR_ILLEGAL_FIELD_ITEMVALUE = 0x00000100, SG_VALIDATIONERROR_ZEROAREA_TRIANGLE = 0x00000200, SG_VALIDATIONERROR_ILLEGAL_BONETUPLESIZE = 0x00000400,
  SG_VALIDATIONERROR_MISSING_OBJECT = 0x00000800, SG_VALIDATIONERROR_ILLEGAL_BONE = 0x00001000, SG_VALIDATIONERROR_ZERO_LENGTH_NORMAL = 0x00002000, SG_VALIDATIONERROR_LARGE_FLOAT = 0x00004000,
  SG_VALIDATIONERROR_DENORMAL_FLOAT = 0x00008000, SG_VALIDATIONERROR_ILLEGAL_SCENE_NODE_GUID = 0x00010000
}
 GeometryValidationCodes are used by the Geometry Validation system to report errors in a setup geometry. More...
 
enum  ImageFileType {
  SG_IMAGEFILETYPE_UNSUPPORTED = -1, SG_IMAGEFILETYPE_BMP = 0, SG_IMAGEFILETYPE_DDS = 1, SG_IMAGEFILETYPE_GIF = 2,
  SG_IMAGEFILETYPE_JPEG = 3, SG_IMAGEFILETYPE_PNG = 4, SG_IMAGEFILETYPE_TGA = 5, SG_IMAGEFILETYPE_TIFF = 6,
  SG_IMAGEFILETYPE_PSD = 7
}
 ImageFileType specifies types of image files. More...
 
enum  MaterialType { SG_MATERIALTYPE_STANDARD = 0x00000000, SG_MATERIALTYPE_FLIPBOOK = 0x00000001, SG_MATERIALTYPE_BILLBOARDCLOUD = 0x00000002 }
 MaterialType specifies the type of material. Certain materials might use specialized shaders. More...
 
enum  OcclusionModes { SG_OCCLUSIONMODE_OCCLUDER = 0x00000000, SG_OCCLUSIONMODE_OCCLUDEE = 0x00000001, SG_OCCLUSIONMODE_STANDARD = 0x00000002 }
 This decides whether an occlusion mesh generated with the corresponding setting is larger or smaller than the input mesh. More...
 
enum  ProcessingMode { SG_MODE_FAST = 0x00000000, SG_MODE_ACCURATE = 0x00000001 }
 This is used to toggle between fast and accurate algorithms for different processing steps. More...
 
enum  ReductionHeuristics { SG_REDUCTIONHEURISTICS_FAST = 0x00000000, SG_REDUCTIONHEURISTICS_CONSISTENT = 0x00000001 }
 ReductionHeuristics decides how precise calculations Simplygon will do during the optimization of the Scene. More...
 
enum  ReductionTargets {
  SG_REDUCTIONTARGET_TRIANGLECOUNT = 0x00000001, SG_REDUCTIONTARGET_TRIANGLERATIO = 0x00000002, SG_REDUCTIONTARGET_MAXDEVIATION = 0x00000004, SG_REDUCTIONTARGET_ONSCREENSIZE = 0x00000008,
  SG_REDUCTIONTARGET_ALL = 0x0000000F
}
 ReductionTargets are used to define which types of reduction targets the reducer will use. More...
 
enum  RemeshingSurfaceTransferMode { SG_SURFACETRANSFER_FAST = 0x00000000, SG_SURFACETRANSFER_ACCURATE = 0x00000001 }
 This is used when fetching data from the original Scene to the Remeshed scene, for data such as textures, vertex colors and skinning. More...
 
enum  SettingValueType {
  SG_SETTINGVALUETYPE_INVALID = 0x00000000, SG_SETTINGVALUETYPE_BOOL = 0x00000001, SG_SETTINGVALUETYPE_INT = 0x00000002, SG_SETTINGVALUETYPE_UINT = 0x00000003,
  SG_SETTINGVALUETYPE_DOUBLE = 0x00000004, SG_SETTINGVALUETYPE_STRING = 0x00000005
}
 SettingValueType is used to denot which data type a setting expects. More...
 
enum  StopCondition { SG_STOPCONDITION_ANY = 0x00000000, SG_STOPCONDITION_ALL = 0x00000001 }
 StopCondition determines if the processing will stop when any or all of the set targets have been hit. More...
 
enum  TangentSpaceMethod { SG_TANGENTSPACEMETHOD_ORTHONORMAL = 0x00000000, SG_TANGENTSPACEMETHOD_3DSMAX = 0x00000001, SG_TANGENTSPACEMETHOD_ORTHONORMAL_LEFTHANDED = 0x00000002 }
 TangentSpaceMethod is used to specify which tangent space method is usedto generate tangent spaces when processing. Use SG_TANGENTSPACEMETHOD_ORTHONORMAL_LEFTHANDEDto generate tangents that are D3D compatible (left-handed coordinate system). More...
 
enum  TexcoordGeneratorType { SG_TEXCOORDGENERATORTYPE_PARAMETERIZER = 0x00000000, SG_TEXCOORDGENERATORTYPE_CHARTAGGREGATOR = 0x00000001, SG_TEXCOORDGENERATORTYPE_PARAMETERIZER_OLD = 0x00000002, SG_TEXCOORDGENERATORTYPE_PARAMETERIZER_8_1 = 0x00000000 }
 TexcoordGeneratorType specifies which method generates the texture coords. More...
 
enum  TextureBlendType {
  SG_TEXTUREBLEND_REPLACE = 0x00000000, SG_TEXTUREBLEND_ADD = 0x00000001, SG_TEXTUREBLEND_SUBTRACT = 0x00000002, SG_TEXTUREBLEND_MULTIPLY = 0x00000003,
  SG_TEXTUREBLEND_ALPHA = 0x00000004, SG_TEXTUREBLEND_PRE_MULTIPLIED_ALPHA = 0x00000005, SG_TEXTUREBLEND_OVER = 0x00000006, SG_TEXTUREBLEND_IN = 0x00000007,
  SG_TEXTUREBLEND_OUT = 0x00000008, SG_TEXTUREBLEND_ADD_W_ALPHA = 0x00000009, SG_TEXTUREBLEND_SUBTRACT_W_ALPHA = 0x0000000A, SG_TEXTUREBLEND_MULTIPLY_W_ALPHA = 0x0000000B
}
 TextureBlendType specifies which type of blend function to use to blend textures. The blend type function will be used while casting channels during material casting. More...
 
enum  TextureWrapMode { SG_TEXTUREWRAPMODE_WRAP = 0x00000000, SG_TEXTUREWRAPMODE_CLAMP = 0x00000001, SG_TEXTUREWRAPMODE_MIRROR = 0x00000002 }
 TextureWrapMode specifies which wrap mode will be used for the texture sampling in a specific texture node when casting. More...
 
enum  ValidationFrequency { SG_VALIDATIONFREQUENCY_NORMAL = 0x00000000, SG_VALIDATIONFREQUENCY_CORE = 0x00000001, SG_VALIDATIONFREQUENCY_ULTRA = 0x00000002 }
 Validation level is used to specify how often validation is done on geometries when debugging integrations. More...
 

Functions

template<class T >
CountedPointer< T > Cast (IObject *ptr)
 
const char * GetHeaderVersion ()
 
const char * GetInterfaceVersionHash ()
 
template<class T >
CountedPointer< T > SafeCast (IObject *ptr)
 
template<class T >
CountedPointer< T > UnsafeCast (IObject *ptr)
 

Variables

const real REAL_MAX = 3.402823466e+38F
 
const real REAL_MIN = 1.175494351e-38F
 
static const char * SG_IMAGEDATA_FORMAT_L = "L"
 The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. L is a grayscale light. More...
 
static const char * SG_IMAGEDATA_FORMAT_RGB = "RGB"
 The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. RGB is 3-component red, green, blue. More...
 
static const char * SG_IMAGEDATA_FORMAT_RGBA = "RGBA"
 The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. RGBA is 4-component red, green, blue, alpha. More...
 
static const char * SG_MATERIAL_CHANNEL_AMBIENT = "Ambient"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_BASECOLOR = "Basecolor"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_DIFFUSE = "Diffuse"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_DISPLACEMENT = "Displacement"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_EMISSIVE = "Emissive"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_GROUPIDS = "GroupIds"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_METALNESS = "Metalness"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_NORMALS = "Normals"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_OCCLUSION = "Occlusion"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_OPACITY = "Opacity"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_ROUGHNESS = "Roughness"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_SHININESS = "Shininess"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const char * SG_MATERIAL_CHANNEL_SPECULAR = "Specular"
 The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon. More...
 
static const unsigned int SG_MAXIMUM_CHART_AGGREGATOR_OUTPUT_MATERIAL_COUNT = 1024
 The maximum number of output materials that the chart aggregator supports. More...
 
static const float SG_MAXIMUM_IMPORTANCE_VALUE = (float)1000
 The maximum value allowed for any of the reduction importance multipliers/values. More...
 
static const unsigned int SG_MAXIMUM_MAPPING_IMAGE_INPUT_MATERIAL_COUNT = 1024
 The maximum number of input materials that the mapping image caster supports. More...
 
static const unsigned int SG_MAXIMUM_MAPPING_IMAGE_OUTPUT_MATERIAL_COUNT = 1024
 The maximum number of output materials that the mapping image caster supports. More...
 
static const unsigned int SG_MAXIMUM_PARAMETERIZER_OUTPUT_MATERIAL_COUNT = 1024
 The maximum number of output materials that the parameterizer supports. More...
 
static const unsigned int SG_NUM_SUPPORTED_BONES_PER_VERTEX = 16
 The maximum number of bones that can be references by one vertex within Simplygon. More...
 
static const unsigned int SG_NUM_SUPPORTED_COLOR_CHANNELS = 256
 The maximum number of color channels supported within Simplygon. More...
 
static const unsigned int SG_NUM_SUPPORTED_CUSTOM_NODE_INPUTS = 16
 The maximum number of inputs that can be connected to any custom node within Simplygon. More...
 
static const unsigned int SG_NUM_SUPPORTED_MAPPING_LAYERS = 32
 The maximum number of mapping layers that are supported internally by Simplygon. More...
 
static const unsigned int SG_NUM_SUPPORTED_TEXTURE_CHANNELS = 256
 The maximum number of texture channels supported within Simplygon. More...
 
static const unsigned int SG_SUPPORTED_CUSTOM_NODE_SHADER_CODE_SIZE = 2048
 The maximum size of shader output that can be generated by a custom node within Simplygon. More...
 

Typedef Documentation

◆ real

typedef float SimplygonSDK::real

real represents generic floating point values, depending on API floating point precision version, reals are either typedef:ed as floats or doubles

Definition at line 171 of file SimplygonSDK.h.

◆ rhandle

typedef void* SimplygonSDK::rhandle

rhandle are used to represent opaque handles returned from and used by the API

Definition at line 155 of file SimplygonSDK.h.

◆ rid

typedef int SimplygonSDK::rid

rid represents ids within the API

Definition at line 165 of file SimplygonSDK.h.

◆ spAggregationPipeline

a CounterPointer smart pointer to an IAggregationPipeline

Definition at line 22056 of file SimplygonSDK.h.

◆ spAggregationProcessor

a CounterPointer smart pointer to an IAggregationProcessor

Definition at line 18206 of file SimplygonSDK.h.

◆ spAggregationSettings

a CounterPointer smart pointer to an IAggregationSettings

Definition at line 18371 of file SimplygonSDK.h.

◆ spAmbientOcclusionCaster

a CounterPointer smart pointer to an IAmbientOcclusionCaster

Definition at line 19162 of file SimplygonSDK.h.

◆ spAmbientOcclusionCasterSettings

◆ spArray

a CounterPointer smart pointer to an IArray

Definition at line 2071 of file SimplygonSDK.h.

◆ spBinaryExporter

a CounterPointer smart pointer to an IBinaryExporter

Definition at line 8856 of file SimplygonSDK.h.

◆ spBinaryImporter

a CounterPointer smart pointer to an IBinaryImporter

Definition at line 8798 of file SimplygonSDK.h.

◆ spBoneSettings

a CounterPointer smart pointer to an IBoneSettings

Definition at line 11181 of file SimplygonSDK.h.

◆ spBoolArray

a CounterPointer smart pointer to an IBoolArray

Definition at line 2473 of file SimplygonSDK.h.

◆ spBoolData

spBoolData is the alias for rdata<IBoolData,bool> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 582 of file SimplygonSDK.h.

◆ spCharArray

a CounterPointer smart pointer to an ICharArray

Definition at line 2623 of file SimplygonSDK.h.

◆ spCharData

spCharData is the alias for rdata<ICharData,char> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 617 of file SimplygonSDK.h.

◆ spChartAggregator

a CounterPointer smart pointer to an IChartAggregator

Definition at line 18772 of file SimplygonSDK.h.

◆ spChunkedImageData

a CounterPointer smart pointer to an IChunkedImageData

Definition at line 4519 of file SimplygonSDK.h.

◆ spColorCaster

a CounterPointer smart pointer to an IColorCaster

Definition at line 9607 of file SimplygonSDK.h.

◆ spColorCasterSettings

a CounterPointer smart pointer to an IColorCasterSettings

Definition at line 9710 of file SimplygonSDK.h.

◆ spDirectXRenderer

a CounterPointer smart pointer to an IDirectXRenderer

Definition at line 4623 of file SimplygonSDK.h.

◆ spDisplacementCaster

a CounterPointer smart pointer to an IDisplacementCaster

Definition at line 10493 of file SimplygonSDK.h.

◆ spDisplacementCasterSettings

◆ spDoubleArray

a CounterPointer smart pointer to an IDoubleArray

Definition at line 2773 of file SimplygonSDK.h.

◆ spDoubleData

spDoubleData is the alias for rdata<IDoubleData,double> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 932 of file SimplygonSDK.h.

◆ spFieldData

a CounterPointer smart pointer to an IFieldData

Definition at line 5032 of file SimplygonSDK.h.

◆ spFloatArray

a CounterPointer smart pointer to an IFloatArray

Definition at line 2923 of file SimplygonSDK.h.

◆ spFloatData

spFloatData is the alias for rdata<IFloatData,float> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 897 of file SimplygonSDK.h.

◆ spFoliageProcessor

a CounterPointer smart pointer to an IFoliageProcessor

Definition at line 20104 of file SimplygonSDK.h.

◆ spFoliageSettings

a CounterPointer smart pointer to an IFoliageSettings

Definition at line 20429 of file SimplygonSDK.h.

◆ spGeometryData

a CounterPointer smart pointer to an IGeometryData

Definition at line 6068 of file SimplygonSDK.h.

◆ spGeometryDataCollection

a CounterPointer smart pointer to an IGeometryDataCollection

Definition at line 8370 of file SimplygonSDK.h.

◆ spGeometryValidator

a CounterPointer smart pointer to an IGeometryValidator

Definition at line 8985 of file SimplygonSDK.h.

◆ spGraphicsExporter

a CounterPointer smart pointer to an IGraphicsExporter

Definition at line 8671 of file SimplygonSDK.h.

◆ spGraphicsImporter

a CounterPointer smart pointer to an IGraphicsImporter

Definition at line 8461 of file SimplygonSDK.h.

◆ spImageComparer

a CounterPointer smart pointer to an IImageComparer

Definition at line 20777 of file SimplygonSDK.h.

◆ spImageData

a CounterPointer smart pointer to an IImageData

Definition at line 6839 of file SimplygonSDK.h.

◆ spImageDataExporter

a CounterPointer smart pointer to an IImageDataExporter

Definition at line 19017 of file SimplygonSDK.h.

◆ spImageDataImporter

a CounterPointer smart pointer to an IImageDataImporter

Definition at line 15841 of file SimplygonSDK.h.

◆ spImpostorProcessor

a CounterPointer smart pointer to an IImpostorProcessor

Definition at line 19386 of file SimplygonSDK.h.

◆ spImpostorSettings

a CounterPointer smart pointer to an IImpostorSettings

Definition at line 19521 of file SimplygonSDK.h.

◆ spIntArray

a CounterPointer smart pointer to an IIntArray

Definition at line 3073 of file SimplygonSDK.h.

◆ spIntData

spIntData is the alias for rdata<IIntData,int> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 757 of file SimplygonSDK.h.

◆ spLongArray

a CounterPointer smart pointer to an ILongArray

Definition at line 3223 of file SimplygonSDK.h.

◆ spLongData

spLongData is the alias for rdata<ILongData,long> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 827 of file SimplygonSDK.h.

◆ spMappingImage

a CounterPointer smart pointer to an IMappingImage

Definition at line 7728 of file SimplygonSDK.h.

◆ spMappingImageMeshData

a CounterPointer smart pointer to an IMappingImageMeshData

Definition at line 15933 of file SimplygonSDK.h.

◆ spMappingImageSettings

a CounterPointer smart pointer to an IMappingImageSettings

Definition at line 12754 of file SimplygonSDK.h.

◆ spMaterial

a CounterPointer smart pointer to an IMaterial

Definition at line 7151 of file SimplygonSDK.h.

◆ spMaterialCaster

a CounterPointer smart pointer to an IMaterialCaster

Definition at line 9315 of file SimplygonSDK.h.

◆ spMaterialCasterSettings

a CounterPointer smart pointer to an IMaterialCasterSettings

Definition at line 9475 of file SimplygonSDK.h.

◆ spMaterialTable

a CounterPointer smart pointer to an IMaterialTable

Definition at line 7293 of file SimplygonSDK.h.

◆ spMatrix4x4

a CounterPointer smart pointer to an IMatrix4x4

Definition at line 7463 of file SimplygonSDK.h.

◆ spNormalCalculationSettings

◆ spNormalCaster

a CounterPointer smart pointer to an INormalCaster

Definition at line 9996 of file SimplygonSDK.h.

◆ spNormalCasterSettings

a CounterPointer smart pointer to an INormalCasterSettings

Definition at line 10102 of file SimplygonSDK.h.

◆ spNormalRepairer

a CounterPointer smart pointer to an INormalRepairer

Definition at line 10371 of file SimplygonSDK.h.

◆ spObject

a CounterPointer smart pointer to an IObject

Definition at line 1800 of file SimplygonSDK.h.

◆ spObjectCollection

a CounterPointer smart pointer to an IObjectCollection

Definition at line 8268 of file SimplygonSDK.h.

◆ spOcclusionMeshProcessor

a CounterPointer smart pointer to an IOcclusionMeshProcessor

Definition at line 19818 of file SimplygonSDK.h.

◆ spOcclusionMeshSettings

a CounterPointer smart pointer to an IOcclusionMeshSettings

Definition at line 19999 of file SimplygonSDK.h.

◆ spOpacityCaster

a CounterPointer smart pointer to an IOpacityCaster

Definition at line 9801 of file SimplygonSDK.h.

◆ spOpacityCasterSettings

a CounterPointer smart pointer to an IOpacityCasterSettings

Definition at line 9873 of file SimplygonSDK.h.

◆ spPackedGeometryData

a CounterPointer smart pointer to an IPackedGeometryData

Definition at line 6612 of file SimplygonSDK.h.

◆ spParameterizer

a CounterPointer smart pointer to an IParameterizer

Definition at line 8106 of file SimplygonSDK.h.

◆ spPartRemover

a CounterPointer smart pointer to an IPartRemover

Definition at line 21028 of file SimplygonSDK.h.

◆ spPipeline

a CounterPointer smart pointer to an IPipeline

Definition at line 21694 of file SimplygonSDK.h.

◆ spPipelineSerializer

a CounterPointer smart pointer to an IPipelineSerializer

Definition at line 21763 of file SimplygonSDK.h.

◆ spPipelineSettings

a CounterPointer smart pointer to an IPipelineSettings

Definition at line 22128 of file SimplygonSDK.h.

◆ spProcessingObject

a CounterPointer smart pointer to an IProcessingObject

Definition at line 7804 of file SimplygonSDK.h.

◆ spRealArray

a CounterPointer smart pointer to an IRealArray

Definition at line 3373 of file SimplygonSDK.h.

◆ spRealData

spRealData is the alias for rdata<IRealData,real> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 967 of file SimplygonSDK.h.

◆ spRecommendedTextureSizeCalculator

◆ spReductionPipeline

a CounterPointer smart pointer to an IReductionPipeline

Definition at line 21873 of file SimplygonSDK.h.

◆ spReductionProcessor

a CounterPointer smart pointer to an IReductionProcessor

Definition at line 13165 of file SimplygonSDK.h.

◆ spReductionSettings

a CounterPointer smart pointer to an IReductionSettings

Definition at line 11895 of file SimplygonSDK.h.

◆ spRemeshingPipeline

a CounterPointer smart pointer to an IRemeshingPipeline

Definition at line 21968 of file SimplygonSDK.h.

◆ spRemeshingProcessor

a CounterPointer smart pointer to an IRemeshingProcessor

Definition at line 13865 of file SimplygonSDK.h.

◆ spRemeshingProcessorV2

a CounterPointer smart pointer to an IRemeshingProcessorV2

Definition at line 13987 of file SimplygonSDK.h.

◆ spRemeshingSettings

a CounterPointer smart pointer to an IRemeshingSettings

Definition at line 13553 of file SimplygonSDK.h.

◆ spRemeshingSettingsV2

a CounterPointer smart pointer to an IRemeshingSettingsV2

Definition at line 13723 of file SimplygonSDK.h.

◆ spRepairSettings

a CounterPointer smart pointer to an IRepairSettings

Definition at line 10908 of file SimplygonSDK.h.

◆ spRhandleData

spRhandleData is the alias for rdata<IRhandleData,rhandle> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 1037 of file SimplygonSDK.h.

◆ spRidArray

a CounterPointer smart pointer to an IRidArray

Definition at line 3523 of file SimplygonSDK.h.

◆ spRidData

spRidData is the alias for rdata<IRidData,rid> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 1002 of file SimplygonSDK.h.

◆ spScene

a CounterPointer smart pointer to an IScene

Definition at line 14308 of file SimplygonSDK.h.

◆ spSceneBone

a CounterPointer smart pointer to an ISceneBone

Definition at line 14889 of file SimplygonSDK.h.

◆ spSceneBoneTable

a CounterPointer smart pointer to an ISceneBoneTable

Definition at line 14991 of file SimplygonSDK.h.

◆ spSceneCamera

a CounterPointer smart pointer to an ISceneCamera

Definition at line 15259 of file SimplygonSDK.h.

◆ spSceneLodGroup

a CounterPointer smart pointer to an ISceneLodGroup

Definition at line 14812 of file SimplygonSDK.h.

◆ spSceneMesh

a CounterPointer smart pointer to an ISceneMesh

Definition at line 14741 of file SimplygonSDK.h.

◆ spSceneNode

a CounterPointer smart pointer to an ISceneNode

Definition at line 14571 of file SimplygonSDK.h.

◆ spSceneNodeCollection

a CounterPointer smart pointer to an ISceneNodeCollection

Definition at line 14673 of file SimplygonSDK.h.

◆ spScenePlane

a CounterPointer smart pointer to an IScenePlane

Definition at line 15074 of file SimplygonSDK.h.

◆ spSelectionSet

a CounterPointer smart pointer to an ISelectionSet

Definition at line 15345 of file SimplygonSDK.h.

◆ spSelectionSetTable

a CounterPointer smart pointer to an ISelectionSetTable

Definition at line 15448 of file SimplygonSDK.h.

◆ spSettingsObject

a CounterPointer smart pointer to an ISettingsObject

Definition at line 9056 of file SimplygonSDK.h.

◆ spShaderGenerator

a CounterPointer smart pointer to an IShaderGenerator

Definition at line 18102 of file SimplygonSDK.h.

◆ spShadingAddNode

a CounterPointer smart pointer to an IShadingAddNode

Definition at line 16528 of file SimplygonSDK.h.

◆ spShadingClampNode

a CounterPointer smart pointer to an IShadingClampNode

Definition at line 16808 of file SimplygonSDK.h.

◆ spShadingColorNode

a CounterPointer smart pointer to an IShadingColorNode

Definition at line 16472 of file SimplygonSDK.h.

◆ spShadingCosNode

a CounterPointer smart pointer to an IShadingCosNode

Definition at line 17665 of file SimplygonSDK.h.

◆ spShadingCross3Node

a CounterPointer smart pointer to an IShadingCross3Node

Definition at line 17610 of file SimplygonSDK.h.

◆ spShadingCustomNode

a CounterPointer smart pointer to an IShadingCustomNode

Definition at line 17306 of file SimplygonSDK.h.

◆ spShadingDivideNode

a CounterPointer smart pointer to an IShadingDivideNode

Definition at line 16752 of file SimplygonSDK.h.

◆ spShadingDot3Node

a CounterPointer smart pointer to an IShadingDot3Node

Definition at line 17555 of file SimplygonSDK.h.

◆ spShadingEqualNode

a CounterPointer smart pointer to an IShadingEqualNode

Definition at line 17034 of file SimplygonSDK.h.

◆ spShadingFilterNode

a CounterPointer smart pointer to an IShadingFilterNode

Definition at line 16118 of file SimplygonSDK.h.

◆ spShadingGreaterThanNode

a CounterPointer smart pointer to an IShadingGreaterThanNode

Definition at line 17777 of file SimplygonSDK.h.

◆ spShadingInterpolateNode

a CounterPointer smart pointer to an IShadingInterpolateNode

Definition at line 17234 of file SimplygonSDK.h.

◆ spShadingLayeredBlendNode

a CounterPointer smart pointer to an IShadingLayeredBlendNode

Definition at line 17389 of file SimplygonSDK.h.

◆ spShadingLessThanNode

a CounterPointer smart pointer to an IShadingLessThanNode

Definition at line 17834 of file SimplygonSDK.h.

◆ spShadingMaxNode

a CounterPointer smart pointer to an IShadingMaxNode

Definition at line 16864 of file SimplygonSDK.h.

◆ spShadingMinNode

a CounterPointer smart pointer to an IShadingMinNode

Definition at line 16920 of file SimplygonSDK.h.

◆ spShadingMultiplyNode

a CounterPointer smart pointer to an IShadingMultiplyNode

Definition at line 16640 of file SimplygonSDK.h.

◆ spShadingNode

a CounterPointer smart pointer to an IShadingNode

Definition at line 16039 of file SimplygonSDK.h.

◆ spShadingNormalize3Node

a CounterPointer smart pointer to an IShadingNormalize3Node

Definition at line 17444 of file SimplygonSDK.h.

◆ spShadingNotEqualNode

a CounterPointer smart pointer to an IShadingNotEqualNode

Definition at line 17091 of file SimplygonSDK.h.

◆ spShadingPowNode

a CounterPointer smart pointer to an IShadingPowNode

Definition at line 16696 of file SimplygonSDK.h.

◆ spShadingSinNode

a CounterPointer smart pointer to an IShadingSinNode

Definition at line 17720 of file SimplygonSDK.h.

◆ spShadingSqrtNode

a CounterPointer smart pointer to an IShadingSqrtNode

Definition at line 17500 of file SimplygonSDK.h.

◆ spShadingStepNode

a CounterPointer smart pointer to an IShadingStepNode

Definition at line 16977 of file SimplygonSDK.h.

◆ spShadingSubtractNode

a CounterPointer smart pointer to an IShadingSubtractNode

Definition at line 16584 of file SimplygonSDK.h.

◆ spShadingSwizzlingNode

a CounterPointer smart pointer to an IShadingSwizzlingNode

Definition at line 16408 of file SimplygonSDK.h.

◆ spShadingTextureNode

a CounterPointer smart pointer to an IShadingTextureNode

Definition at line 16292 of file SimplygonSDK.h.

◆ spShadingVertexColorNode

a CounterPointer smart pointer to an IShadingVertexColorNode

Definition at line 17177 of file SimplygonSDK.h.

◆ spShadowMeshProcessor

a CounterPointer smart pointer to an IShadowMeshProcessor

Definition at line 20513 of file SimplygonSDK.h.

◆ spShadowMeshSettings

a CounterPointer smart pointer to an IShadowMeshSettings

Definition at line 20598 of file SimplygonSDK.h.

◆ spShortArray

a CounterPointer smart pointer to an IShortArray

Definition at line 3673 of file SimplygonSDK.h.

◆ spShortData

spShortData is the alias for rdata<IShortData,short> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 687 of file SimplygonSDK.h.

◆ spStringArray

a CounterPointer smart pointer to an IStringArray

Definition at line 2323 of file SimplygonSDK.h.

◆ spSurfaceMapper

a CounterPointer smart pointer to an ISurfaceMapper

Definition at line 19733 of file SimplygonSDK.h.

◆ spTable

a CounterPointer smart pointer to an ITable

Definition at line 6962 of file SimplygonSDK.h.

◆ spTangentCalculator

a CounterPointer smart pointer to an ITangentCalculator

Definition at line 10703 of file SimplygonSDK.h.

◆ spTexture

a CounterPointer smart pointer to an ITexture

Definition at line 15540 of file SimplygonSDK.h.

◆ spTextureTable

a CounterPointer smart pointer to an ITextureTable

Definition at line 15667 of file SimplygonSDK.h.

◆ spTJunctionEliminator

a CounterPointer smart pointer to an ITJunctionEliminator

Definition at line 21461 of file SimplygonSDK.h.

◆ spTransform3

a CounterPointer smart pointer to an ITransform3

Definition at line 7615 of file SimplygonSDK.h.

◆ spUnsignedCharArray

a CounterPointer smart pointer to an IUnsignedCharArray

Definition at line 3823 of file SimplygonSDK.h.

◆ spUnsignedCharData

spUnsignedCharData is the alias for rdata<IUnsignedCharData,unsigned char> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 652 of file SimplygonSDK.h.

◆ spUnsignedIntArray

a CounterPointer smart pointer to an IUnsignedIntArray

Definition at line 3973 of file SimplygonSDK.h.

◆ spUnsignedIntData

spUnsignedIntData is the alias for rdata<IUnsignedIntData,unsigned int> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 792 of file SimplygonSDK.h.

◆ spUnsignedLongArray

a CounterPointer smart pointer to an IUnsignedLongArray

Definition at line 4123 of file SimplygonSDK.h.

◆ spUnsignedLongData

spUnsignedLongData is the alias for rdata<IUnsignedLongData,unsigned long> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 862 of file SimplygonSDK.h.

◆ spUnsignedShortArray

a CounterPointer smart pointer to an IUnsignedShortArray

Definition at line 4273 of file SimplygonSDK.h.

◆ spUnsignedShortData

spUnsignedShortData is the alias for rdata<IUnsignedShortData,unsigned short> The IData class is used to represent data that is created by the API objects, and returned to the caller. The data arrays are created in the same address space as the caller application, and the data can be accessed directly. For ease of use, it is recommended to never use the IData interface directly, but instead through an sp[...]Data (e.g. spBoolData, spRidData etc) object, which inherits from a CountedPointer of IData, and that also adds help code and conversions. The rdata class is used to retrieve array data from the interface. Use this rather than the IData objects, as this is based on a CountedPointer of the interface and adds help methods.

Definition at line 722 of file SimplygonSDK.h.

◆ spValueArray

a CounterPointer smart pointer to an IValueArray

Definition at line 2238 of file SimplygonSDK.h.

◆ spVertexColorBaker

a CounterPointer smart pointer to an IVertexColorBaker

Definition at line 18932 of file SimplygonSDK.h.

◆ spVisibilitySettings

a CounterPointer smart pointer to an IVisibilitySettings

Definition at line 13023 of file SimplygonSDK.h.

◆ spWavefrontExporter

a CounterPointer smart pointer to an IWavefrontExporter

Definition at line 8740 of file SimplygonSDK.h.

◆ spWavefrontImporter

a CounterPointer smart pointer to an IWavefrontImporter

Definition at line 8568 of file SimplygonSDK.h.

◆ spWelder

a CounterPointer smart pointer to an IWelder

Definition at line 21314 of file SimplygonSDK.h.

Enumeration Type Documentation

◆ AtlasFillMode

The fill mode determines what to do with the pixels that remain unfilled after both the casting and dilation has been performed.

Enumerator
SG_ATLASFILLMODE_INTERPOLATE 

linearly interpolate the closest samples

SG_ATLASFILLMODE_NEARESTNEIGHBOR 

use the closest available pixel value without interpolation

SG_ATLASFILLMODE_NONE 

Do not fill remaining pixels.

Definition at line 1339 of file SimplygonSDK.h.

◆ BaseTypes

BaseTypes are ids of the base types used by data containers (arrays etc.) within Simplygon.

Enumerator
TYPES_ID_BOOL 
TYPES_ID_CHAR 
TYPES_ID_UCHAR 
TYPES_ID_SHORT 
TYPES_ID_USHORT 
TYPES_ID_INT 
TYPES_ID_UINT 
TYPES_ID_LONG 
TYPES_ID_ULONG 
TYPES_ID_FLOAT 
TYPES_ID_DOUBLE 
TYPES_ID_REAL 
TYPES_ID_RID 
TYPES_ID_RCHAR 
TYPES_ID_RHANDLE 
TYPES_ID_STRING 
TYPES_ID_OBJECT 

Definition at line 1041 of file SimplygonSDK.h.

◆ BoneReductionTargets

BoneReductionTargets are used to define which types of reduction targets the bone reducer will use.

Enumerator
SG_BONEREDUCTIONTARGET_BONECOUNT 
SG_BONEREDUCTIONTARGET_BONERATIO 
SG_BONEREDUCTIONTARGET_MAXDEVIATION 
SG_BONEREDUCTIONTARGET_ONSCREENSIZE 
SG_BONEREDUCTIONTARGET_ALL 

Definition at line 1352 of file SimplygonSDK.h.

◆ CameraType

CameraType specifies the camera used when rendering/computing visibility.

Enumerator
SG_CAMERATYPE_PERSPECTIVE 

Perspective cameras have a field of view.

SG_CAMERATYPE_ORTHOGRAPHIC 

Orthographic cameras have a size.

SG_CAMERATYPE_OMNIDIRECTIONAL 

Omnidirectional cameras view all directions.

Definition at line 1574 of file SimplygonSDK.h.

◆ ChartAggregatorMode

ChartAggregatorMode specifies in which manner the output UV chart size will depend on the input.

Enumerator
SG_CHARTAGGREGATORMODE_TEXTURESIZEPROPORTIONS 

Aggregated UV charts will be scaled to keep their relative pixel density relative to all other UV charts. The user can still set the size of the output texture maps.

SG_CHARTAGGREGATORMODE_SURFACEAREA 

Aggregated UV charts will have their size set based on its actual geometrical size.

SG_CHARTAGGREGATORMODE_ORIGINALPIXELDENSITY 

The combined atlas will be resized to fit each chart so that all charts retain the same amount of pixels as they originally had. This will override any manually set texture size.

SG_CHARTAGGREGATORMODE_UVSIZEPROPORTIONS 

Aggregated UV charts will have their size set based on its original UV size, disregarding the size of the texture they are used in.

Definition at line 1526 of file SimplygonSDK.h.

◆ ComputeVisibilityMode

ComputeVisibilityMode specifies which type of renderer to use when computing visibility.

Enumerator
SG_COMPUTE_VISIBILITY_MODE_DIRECTX 

Use DirectX when computing visibility.

SG_COMPUTE_VISIBILITY_MODE_SOFTWARE 

Use a software renderer when computing visibility.

Definition at line 1587 of file SimplygonSDK.h.

◆ DataCreationPreferences

DataCreationPreferences specifies how big freedom Simplygon has when it comes to altering vertex/triangle data. Allowing more altered data means it will be easier to create good looking LODs, but without altered data it will be easier to keep the memory-usage in the LOD-chain more optimized.

Enumerator
SG_DATACREATIONPREFERENCES_ONLY_USE_ORIGINAL_DATA 

Vertex and Corner data such as coordinates and normals will be completely re-used from the original Scene.

SG_DATACREATIONPREFERENCES_PREFER_ORIGINAL_DATA 

Vertex coordinates will remaining as they were in the original Scene, but corner normals might be changed if Simplygon decided it will look better.

SG_DATACREATIONPREFERENCES_PREFER_OPTIMIZED_RESULT 

Both vertex coordinates and corner normals will be altered to make the optimized Scene look as good as possible.

Definition at line 1306 of file SimplygonSDK.h.

◆ DitherPatterns

DitherPatterns are used to set the dithering type to use when generating images.

Enumerator
SG_DITHERPATTERNS_NO_DITHER 

Use no dithering.

SG_DITHERPATTERNS_FLOYDSTEINBERG 

Use Floys-Steinberg dithering.

SG_DITHERPATTERNS_JARVISJUDICENINKE 

Use Jarvis, Judice, and Ninke dithering.

SG_DITHERPATTERNS_SIERRA 

Use Sierra-3 (three row) dithering.

Definition at line 1371 of file SimplygonSDK.h.

◆ ErrorCodes

Error codes that are returned on initialization/finalization of the library.

Enumerator
SG_ERROR_NOERROR 

no error

SG_ERROR_NOLICENSE 

no license was found (or licence expired)

SG_ERROR_NOTINITIALIZED 

the SDK is not initialized, or no process object has been loaded/created

SG_ERROR_ALREADYINITIALIZED 

the SDK is already initialized

SG_ERROR_FILENOTFOUND 

the specified file was not found

SG_ERROR_INVALIDPARAM 

an invalid parameter was passed to the method

SG_ERROR_FAILEDTESTING 

the reduction failed post-testing

SG_ERROR_WRONGVERSION 

the Simplygon DLL and header file interface versions do not match

SG_ERROR_LOADFAILED 

the Simplygon DLL failed loading, probably because of a missing dependency

SG_ERROR_LICENSE_WRONGAPPLICATION 

the license is not made for this application of Simplygon

SG_ERROR_LICENSE_WRONGPLATFORM 

the license is not made for this platform of Simplygon

SG_ERROR_LICENSE_WRONGVERSION 

the license is not made for this version of Simplygon

SG_ERROR_FAILEDLOOKUP 

cannot reach the licensing server, cant look up server, check DNS

SG_ERROR_FAILEDCONTACT 

cannot contact the licensing server, check firewall/proxy server

SG_ERROR_FAILEDSEND 

Failed to connect to the license server. Please check that your internet connection is working and outgoing connections to license.simplygon.com port 443 are not blocked by a firewall or proxy.

SG_ERROR_FAILEDRCV 

cannot receive data from the licensing server, check firewall/proxy server

SG_ERROR_CORRUPTED 

data from licensing server is corrupted, try again, check connection

SG_ERROR_EXPIRED 

the license has expired

SG_ERROR_INVALIDLICENSE 

the license data is corrupted, please reinstall the license key

SG_ERROR_WRONGLICENSE 

the license is not for this product, please contact licensing, and replace license key

SG_ERROR_NONWCARD 

no network card was found on the machine

SG_ERROR_DECODEFAILED 

could not decode license, it is corrupted

SG_ERROR_WRONGMACHINE 

the license is locked to another machine

SG_ERROR_DECODEFAILED2 

could not decode license, it is corrupted

SG_ERROR_DECODEFAILED3 

could not decode license, it is corrupted

SG_ERROR_INVALIDLICENSE2 

the license is invalid, please contact licensing

SG_ERROR_EXPIRED2 

the license has expired

SG_ERROR_INVALID_LICENSE2 

the license data is corrupted, please reinstall the license key

SG_ERROR_WRONG_LICENSE2 

the license is not for this product, please contact licensing, and replace license key

SG_ERROR_NO_NWCARD 

no network card was found on the machine

SG_ERROR_DECODE_FAILED 

could not decode license, it is corrupted

SG_ERROR_WRONG_MACHINE2 

the license is locked to another machine

SG_ERROR_DECODEFAILED4 

could not decode license, it is corrupted

SG_ERROR_DECODEFAILED5 

could not decode license, it is corrupted

SG_ERROR_INVALIDLICENSE3 

the license is invalid, please contact licensing

SG_ERROR_INVALIDWINDOWSVERSION 

your license requires latest Windows 10 version

SG_ERROR_LICENSE_BADREQUEST 

Bad license request. Please reach out to Simpl.nosp@m.ygon.nosp@m.Suppo.nosp@m.rt@m.nosp@m.icros.nosp@m.oft..nosp@m.com for support.

SG_ERROR_LICENSE_UNKNOWNLICENSE 

You are using an unknown license key. Please verify so you typed in the license key correctly and try again.

SG_ERROR_LICENSE_INACTIVE 

You are using an inactive license key. Please reach out to Simpl.nosp@m.ygon.nosp@m.Sales.nosp@m.@mic.nosp@m.rosof.nosp@m.t.co.nosp@m.m for support.

SG_ERROR_LICENSE_NODECONFLICT 

You have reached the maximum number of nodes for your license. After 48 hours of not using Simplygon on a machine the license will be released and can be installed on another machine.

SG_ERROR_LICENSE_UPGRADEREQUIRED 

The license key you are using requires you to update to the latest version before you can use Simplygon.

SG_ERROR_LICENSE_BADREQUEST2 

Bad license request. Please reach out to Simpl.nosp@m.ygon.nosp@m.Suppo.nosp@m.rt@m.nosp@m.icros.nosp@m.oft..nosp@m.com for support.

Definition at line 1079 of file SimplygonSDK.h.

◆ EventCodes

EventCodes are used by the event system to specify what kind of event to listen for.

Enumerator
SG_EVENT_PROGRESS 

updates the current progress, in percent

SG_EVENT_PROCESS_STARTED 

The evaluate event is triggered from the custom shading node.

SG_EVENT_CUSTOM_NODE_EVALUATE 

The evaluate event is triggered from the custom shading node.

SG_EVENT_CUSTOM_NODE_GENERATE_SHADER_CODE 

The generate shader code event is triggered from the custom shading node.

Definition at line 1063 of file SimplygonSDK.h.

◆ FlipFacesAndNormals

FlipFacesAndNormals specifies how faces and normals should be flipped.

Enumerator
SG_FLIPFACESANDNORMALS_NONE 

Don't flip.

SG_FLIPFACESANDNORMALS_AUTOMATIC 

Automatically detect and fix backfaces per part.

SG_FLIPFACESANDNORMALS_MAKEDOUBLESIDED 

Append inverted winded triangles with inverted normals to the geometry.

SG_FLIPFACESANDNORMALS_INVERTFACES 

Invert the winding of the triangles.

SG_FLIPFACESANDNORMALS_INVERTNORMALS 

Invert the vertex normals.

SG_FLIPFACESANDNORMALS_INVERTFACESANDNORMALS 

Invert winding of all triangles and vertex normals.

Definition at line 1542 of file SimplygonSDK.h.

◆ FoliageType

FoliageType specifies the type of foliage in the foliage processor.

Enumerator
SG_FOLIAGETYPE_BILLBOARDS 

Generates a set of billboards that represents the scene.

SG_FOLIAGETYPE_FLIPBOOK 

Renders the scene from a number of views and generates an atlas with the images.

Definition at line 1564 of file SimplygonSDK.h.

◆ GeometryValidationCodes

GeometryValidationCodes are used by the Geometry Validation system to report errors in a setup geometry.

Enumerator
SG_VALIDATIONERROR_NOERROR 

no error

SG_VALIDATIONERROR_NAN_FLOAT 

a float is not a number

SG_VALIDATIONERROR_ILLEGAL_TRIANGLECOUNT 

the triangle count is illegal (probably 0)

SG_VALIDATIONERROR_ILLEGAL_VERTEXCOUNT 

the vertex count is illegal (probably 0)

SG_VALIDATIONERROR_ILLEGAL_INDICES 

the vertex indices are illegal

SG_VALIDATIONERROR_ILLEGAL_TRIANGLE 

a found triangle has illegal index setup

SG_VALIDATIONERROR_ILLEGAL_FIELD_ITEMCOUNT 

a field has illegal number of items

SG_VALIDATIONERROR_ILLEGAL_FIELD_TUPLECOUNT 

a field has illegal number of tuples

SG_VALIDATIONERROR_ILLEGAL_FIELD_TUPLESIZE 

a field has illegal size of tuples

SG_VALIDATIONERROR_ILLEGAL_FIELD_ITEMVALUE 

a field has illegal values (probably an index out of bounds)

SG_VALIDATIONERROR_ZEROAREA_TRIANGLE 

a found triangle has no area

SG_VALIDATIONERROR_ILLEGAL_BONETUPLESIZE 

the skinning field has illegal values (probably an index out of bounds)

SG_VALIDATIONERROR_MISSING_OBJECT 

there is a missing object in the scene/geometry that should never be missing

SG_VALIDATIONERROR_ILLEGAL_BONE 

a found bone is illegal within the scene

SG_VALIDATIONERROR_ZERO_LENGTH_NORMAL 

a normal has zero length

SG_VALIDATIONERROR_LARGE_FLOAT 

a float is too large for reliable arithmetic

SG_VALIDATIONERROR_DENORMAL_FLOAT 

a float is too small and denormal

SG_VALIDATIONERROR_ILLEGAL_SCENE_NODE_GUID 

a node has an illegal GUID

Definition at line 1209 of file SimplygonSDK.h.

◆ ImageFileType

ImageFileType specifies types of image files.

Enumerator
SG_IMAGEFILETYPE_UNSUPPORTED 

and unknown or unsupported file type

SG_IMAGEFILETYPE_BMP 
SG_IMAGEFILETYPE_DDS 
SG_IMAGEFILETYPE_GIF 
SG_IMAGEFILETYPE_JPEG 
SG_IMAGEFILETYPE_PNG 
SG_IMAGEFILETYPE_TGA 
SG_IMAGEFILETYPE_TIFF 
SG_IMAGEFILETYPE_PSD 

Definition at line 1479 of file SimplygonSDK.h.

◆ MaterialType

MaterialType specifies the type of material. Certain materials might use specialized shaders.

Enumerator
SG_MATERIALTYPE_STANDARD 

Use the standard shader.

SG_MATERIALTYPE_FLIPBOOK 

Use the flipbook shader.

SG_MATERIALTYPE_BILLBOARDCLOUD 

Use the billboard cloud shader.

Definition at line 1597 of file SimplygonSDK.h.

◆ OcclusionModes

This decides whether an occlusion mesh generated with the corresponding setting is larger or smaller than the input mesh.

Enumerator
SG_OCCLUSIONMODE_OCCLUDER 

The output mesh will be an occluder, ie. always smaller than the input mesh.

SG_OCCLUSIONMODE_OCCLUDEE 

The output mesh will be an occludee, ie. always larger than the input mesh.

SG_OCCLUSIONMODE_STANDARD 

The output mesh will be the same size as the input, ie. appropriate for things like off-screen shadows.

Definition at line 1387 of file SimplygonSDK.h.

◆ ProcessingMode

This is used to toggle between fast and accurate algorithms for different processing steps.

Enumerator
SG_MODE_FAST 

Faster but with less precise calculations.

SG_MODE_ACCURATE 

Slower and more accurate.

Definition at line 1329 of file SimplygonSDK.h.

◆ ReductionHeuristics

ReductionHeuristics decides how precise calculations Simplygon will do during the optimization of the Scene.

Enumerator
SG_REDUCTIONHEURISTICS_FAST 

Faster but with less precise calculations.

SG_REDUCTIONHEURISTICS_CONSISTENT 

Slower but more accurate.

Definition at line 1296 of file SimplygonSDK.h.

◆ ReductionTargets

ReductionTargets are used to define which types of reduction targets the reducer will use.

Enumerator
SG_REDUCTIONTARGET_TRIANGLECOUNT 
SG_REDUCTIONTARGET_TRIANGLERATIO 
SG_REDUCTIONTARGET_MAXDEVIATION 
SG_REDUCTIONTARGET_ONSCREENSIZE 
SG_REDUCTIONTARGET_ALL 

Definition at line 1267 of file SimplygonSDK.h.

◆ RemeshingSurfaceTransferMode

This is used when fetching data from the original Scene to the Remeshed scene, for data such as textures, vertex colors and skinning.

Enumerator
SG_SURFACETRANSFER_FAST 

Faster but with less precise calculations.

SG_SURFACETRANSFER_ACCURATE 

Slower and more accurate.

Definition at line 1319 of file SimplygonSDK.h.

◆ SettingValueType

SettingValueType is used to denot which data type a setting expects.

Enumerator
SG_SETTINGVALUETYPE_INVALID 

Invalid settings value type.

SG_SETTINGVALUETYPE_BOOL 

Bool settings type.

SG_SETTINGVALUETYPE_INT 

Int settings type.

SG_SETTINGVALUETYPE_UINT 

Unsigned int settings type.

SG_SETTINGVALUETYPE_DOUBLE 

Double floating point settings type.

SG_SETTINGVALUETYPE_STRING 

String settings type.

Definition at line 1610 of file SimplygonSDK.h.

◆ StopCondition

StopCondition determines if the processing will stop when any or all of the set targets have been hit.

Enumerator
SG_STOPCONDITION_ANY 

Simplygon will stop as soon as one of the reduction targets has been fulfilled.

SG_STOPCONDITION_ALL 

Simplygon will continue processing until all of the reduction targets have been fulfilled.

Definition at line 1286 of file SimplygonSDK.h.

◆ TangentSpaceMethod

TangentSpaceMethod is used to specify which tangent space method is usedto generate tangent spaces when processing. Use SG_TANGENTSPACEMETHOD_ORTHONORMAL_LEFTHANDEDto generate tangents that are D3D compatible (left-handed coordinate system).

Enumerator
SG_TANGENTSPACEMETHOD_ORTHONORMAL 

Standard method, creates an orthonormal tangent space (right-handed)

SG_TANGENTSPACEMETHOD_3DSMAX 

3dsMax compatible method, creates tangent space that is compatible with the 3dsMax renderer

SG_TANGENTSPACEMETHOD_ORTHONORMAL_LEFTHANDED 

Creates an orthonormal tangent space (left-handed, D3D compatible)

Definition at line 1400 of file SimplygonSDK.h.

◆ TexcoordGeneratorType

TexcoordGeneratorType specifies which method generates the texture coords.

Enumerator
SG_TEXCOORDGENERATORTYPE_PARAMETERIZER 

Texture coordinates are generated from scratch based on the geometry.

SG_TEXCOORDGENERATORTYPE_CHARTAGGREGATOR 

Texture coordinates are generated based on the original texture coordinates.

SG_TEXCOORDGENERATORTYPE_PARAMETERIZER_OLD 

Texture coordinates are generated from scratch based on the geometry.

SG_TEXCOORDGENERATORTYPE_PARAMETERIZER_8_1 

Texture coordinates are generated from scratch based on the geometry.

Definition at line 1510 of file SimplygonSDK.h.

◆ TextureBlendType

TextureBlendType specifies which type of blend function to use to blend textures. The blend type function will be used while casting channels during material casting.

Enumerator
SG_TEXTUREBLEND_REPLACE 
SG_TEXTUREBLEND_ADD 
SG_TEXTUREBLEND_SUBTRACT 
SG_TEXTUREBLEND_MULTIPLY 
SG_TEXTUREBLEND_ALPHA 
SG_TEXTUREBLEND_PRE_MULTIPLIED_ALPHA 
SG_TEXTUREBLEND_OVER 
SG_TEXTUREBLEND_IN 
SG_TEXTUREBLEND_OUT 
SG_TEXTUREBLEND_ADD_W_ALPHA 
SG_TEXTUREBLEND_SUBTRACT_W_ALPHA 
SG_TEXTUREBLEND_MULTIPLY_W_ALPHA 

Definition at line 1426 of file SimplygonSDK.h.

◆ TextureWrapMode

TextureWrapMode specifies which wrap mode will be used for the texture sampling in a specific texture node when casting.

Enumerator
SG_TEXTUREWRAPMODE_WRAP 
SG_TEXTUREWRAPMODE_CLAMP 
SG_TEXTUREWRAPMODE_MIRROR 

Definition at line 1466 of file SimplygonSDK.h.

◆ ValidationFrequency

Validation level is used to specify how often validation is done on geometries when debugging integrations.

Enumerator
SG_VALIDATIONFREQUENCY_NORMAL 

Normal level, validation will hardly be noticeable at all.

SG_VALIDATIONFREQUENCY_CORE 

Core debugging level, validation will be carried out before each processing step, and increase processing times significantly.

SG_VALIDATIONFREQUENCY_ULTRA 

Ultra level, validation will be carried out very often, multiple times per processing step. This will increase processing times with orders of magnitudes.

Definition at line 1413 of file SimplygonSDK.h.

Function Documentation

◆ Cast()

template<class T >
CountedPointer<T> SimplygonSDK::Cast ( IObject ptr)

Cast casts a pointer to an API object into a pointer to another API class type. The cast is only made if the object is of the type it is cast into, else NULL is returned.

Parameters
ptris the pointer that is to be cast
Returns
a counted pointer of the template T cast type

Definition at line 23337 of file SimplygonSDK.h.

◆ GetHeaderVersion()

const char* SimplygonSDK::GetHeaderVersion ( )
inline

Returns the SDK version number of the header file as a string. This may not match the .dll, because headers and .dll files that have the same interface will work properly.

Returns
the API version string

Definition at line 23355 of file SimplygonSDK.h.

◆ GetInterfaceVersionHash()

const char* SimplygonSDK::GetInterfaceVersionHash ( )
inline

Returns the API interface version hash as a string

Returns
the API interface version hash

Definition at line 23346 of file SimplygonSDK.h.

◆ SafeCast()

template<class T >
CountedPointer<T> SimplygonSDK::SafeCast ( IObject ptr)

SafeCast casts a pointer to an API object into a pointer to another API class type. The cast is only made if the object is of the type it is cast into, else NULL is returned.

Parameters
ptris the pointer that is to be cast
Returns
a counted pointer of the template T cast type

Definition at line 23315 of file SimplygonSDK.h.

◆ UnsafeCast()

template<class T >
CountedPointer<T> SimplygonSDK::UnsafeCast ( IObject ptr)

UnsafeCast casts a pointer to an API object into a pointer to another API class type. The pointer is cast using static_cast, and is done regardless of if the object is actually of the type it is cast into

Parameters
ptris the pointer that is to be cast
Returns
a counted pointer of the template T cast type

Definition at line 23326 of file SimplygonSDK.h.

Variable Documentation

◆ REAL_MAX

const real SimplygonSDK::REAL_MAX = 3.402823466e+38F

Definition at line 174 of file SimplygonSDK.h.

◆ REAL_MIN

const real SimplygonSDK::REAL_MIN = 1.175494351e-38F

Definition at line 173 of file SimplygonSDK.h.

◆ SG_IMAGEDATA_FORMAT_L

const char* SimplygonSDK::SG_IMAGEDATA_FORMAT_L = "L"
static

The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. L is a grayscale light.

Definition at line 1671 of file SimplygonSDK.h.

◆ SG_IMAGEDATA_FORMAT_RGB

const char* SimplygonSDK::SG_IMAGEDATA_FORMAT_RGB = "RGB"
static

The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. RGB is 3-component red, green, blue.

Definition at line 1674 of file SimplygonSDK.h.

◆ SG_IMAGEDATA_FORMAT_RGBA

const char* SimplygonSDK::SG_IMAGEDATA_FORMAT_RGBA = "RGBA"
static

The SG_IMAGEDATA_FORMAT_[...] defines the default names of standard image formats in Simplygon. RGBA is 4-component red, green, blue, alpha.

Definition at line 1677 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_AMBIENT

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_AMBIENT = "Ambient"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1632 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_BASECOLOR

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_BASECOLOR = "Basecolor"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1659 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_DIFFUSE

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_DIFFUSE = "Diffuse"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1635 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_DISPLACEMENT

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_DISPLACEMENT = "Displacement"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1656 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_EMISSIVE

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_EMISSIVE = "Emissive"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1647 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_GROUPIDS

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_GROUPIDS = "GroupIds"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1653 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_METALNESS

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_METALNESS = "Metalness"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1665 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_NORMALS

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_NORMALS = "Normals"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1650 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_OCCLUSION

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_OCCLUSION = "Occlusion"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1668 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_OPACITY

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_OPACITY = "Opacity"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1644 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_ROUGHNESS

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_ROUGHNESS = "Roughness"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1662 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_SHININESS

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_SHININESS = "Shininess"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1641 of file SimplygonSDK.h.

◆ SG_MATERIAL_CHANNEL_SPECULAR

const char* SimplygonSDK::SG_MATERIAL_CHANNEL_SPECULAR = "Specular"
static

The SG_MATERIAL_CHANNEL_[...] defines the default names of standard material textures in Simplygon.

Definition at line 1638 of file SimplygonSDK.h.

◆ SG_MAXIMUM_CHART_AGGREGATOR_OUTPUT_MATERIAL_COUNT

const unsigned int SimplygonSDK::SG_MAXIMUM_CHART_AGGREGATOR_OUTPUT_MATERIAL_COUNT = 1024
static

The maximum number of output materials that the chart aggregator supports.

Definition at line 1710 of file SimplygonSDK.h.

◆ SG_MAXIMUM_IMPORTANCE_VALUE

const float SimplygonSDK::SG_MAXIMUM_IMPORTANCE_VALUE = (float)1000
static

The maximum value allowed for any of the reduction importance multipliers/values.

Definition at line 1698 of file SimplygonSDK.h.

◆ SG_MAXIMUM_MAPPING_IMAGE_INPUT_MATERIAL_COUNT

const unsigned int SimplygonSDK::SG_MAXIMUM_MAPPING_IMAGE_INPUT_MATERIAL_COUNT = 1024
static

The maximum number of input materials that the mapping image caster supports.

Definition at line 1701 of file SimplygonSDK.h.

◆ SG_MAXIMUM_MAPPING_IMAGE_OUTPUT_MATERIAL_COUNT

const unsigned int SimplygonSDK::SG_MAXIMUM_MAPPING_IMAGE_OUTPUT_MATERIAL_COUNT = 1024
static

The maximum number of output materials that the mapping image caster supports.

Definition at line 1704 of file SimplygonSDK.h.

◆ SG_MAXIMUM_PARAMETERIZER_OUTPUT_MATERIAL_COUNT

const unsigned int SimplygonSDK::SG_MAXIMUM_PARAMETERIZER_OUTPUT_MATERIAL_COUNT = 1024
static

The maximum number of output materials that the parameterizer supports.

Definition at line 1707 of file SimplygonSDK.h.

◆ SG_NUM_SUPPORTED_BONES_PER_VERTEX

const unsigned int SimplygonSDK::SG_NUM_SUPPORTED_BONES_PER_VERTEX = 16
static

The maximum number of bones that can be references by one vertex within Simplygon.

Definition at line 1686 of file SimplygonSDK.h.

◆ SG_NUM_SUPPORTED_COLOR_CHANNELS

const unsigned int SimplygonSDK::SG_NUM_SUPPORTED_COLOR_CHANNELS = 256
static

The maximum number of color channels supported within Simplygon.

Definition at line 1683 of file SimplygonSDK.h.

◆ SG_NUM_SUPPORTED_CUSTOM_NODE_INPUTS

const unsigned int SimplygonSDK::SG_NUM_SUPPORTED_CUSTOM_NODE_INPUTS = 16
static

The maximum number of inputs that can be connected to any custom node within Simplygon.

Definition at line 1692 of file SimplygonSDK.h.

◆ SG_NUM_SUPPORTED_MAPPING_LAYERS

const unsigned int SimplygonSDK::SG_NUM_SUPPORTED_MAPPING_LAYERS = 32
static

The maximum number of mapping layers that are supported internally by Simplygon.

Definition at line 1689 of file SimplygonSDK.h.

◆ SG_NUM_SUPPORTED_TEXTURE_CHANNELS

const unsigned int SimplygonSDK::SG_NUM_SUPPORTED_TEXTURE_CHANNELS = 256
static

The maximum number of texture channels supported within Simplygon.

Definition at line 1680 of file SimplygonSDK.h.

◆ SG_SUPPORTED_CUSTOM_NODE_SHADER_CODE_SIZE

const unsigned int SimplygonSDK::SG_SUPPORTED_CUSTOM_NODE_SHADER_CODE_SIZE = 2048
static

The maximum size of shader output that can be generated by a custom node within Simplygon.

Definition at line 1695 of file SimplygonSDK.h.