v9.0 (2011)
Defines the port connection data type when creating a shader parameter definition of type custom (siShaderDataTypeCustom). When you call the SetAttribute method, pass siCustomTypeNameAttribute in the first parameter and one of these values in the second parameter.
StringModule.siMentalRayLightmapPortType // mrLmap StringModule.siMentalRayGeometryPortType // mrGeom StringModule.siMentalRayContourStorePortType // mrCntStr StringModule.siMentalRayContourContrastPortType // mrCntrCntrst StringModule.siMentalRayPhenomenonMaterialPortType // mrPhenMat StringModule.siHWShaderPortType // xgsRTCtx StringModule.siXGSRealTimePortType // xgsRTCtx |
Constant | Value | Description |
---|---|---|
siMentalRayLightmapPortType | mrLmap | Lightmap type. See the siShaderFamilyLightmap shader family. |
siMentalRayGeometryPortType | mrGeom | Geometry type. See the siShaderFamilyGeometry shader family. |
siMentalRayContourStorePortType | mrCntStr | Contour Store type. See the siShaderFamilyCntStore shader family. |
siMentalRayContourContrastPortType | mrCntrCntrst | Contour Contrast type. See the siShaderFamilyCntContrast shader family. |
siMentalRayPhenomenonMaterialPortType | mrPhenMat | Material Phenomenon type. See the siShaderFamilyPhenomMat shader family. |
siHWShaderPortType | xgsRTCtx | Hardware Shader port type. See the siShaderFamilyRTShader shader family. |
siXGSRealTimePortType | xgsRTCtx | Realtime Shader type. See the siShaderFamilyRTShader shader family. |