Status PEXGetEnumTypeInfo(
Display *display,
Drawable drawable,
unsigned long count,
int *enum_types,
unsigned long item_mask,
unsigned long **info_count_return,
PEXEnumTypeDesc **enum_info_return
)
Zero if unsuccessful; non-zero otherwise.
Invoke PEXGetEnumTypeInfo to get the supported values for each enumerated type.
For each specified enumerated type you request, this function returns a descriptor made up of an index field and a mnemonic field. The index field contains the numeric value of the supported type, and the mnemonic field contains a string describing the type. These fields contain values valid for all drawables having the same root window, depth and visual ID as the specified drawable.
Use the item_mask argument to specify the type of data you want returned in each enumerated type descriptor. PEXlib defines the following item_mask values:
PEXlib allocates memory for the returned array of counts and for the return value array of enumerated type descriptors. Invoke the PEXFreeEnumInfo function to deallocate this memory. (SeeFreeing Memory Allocated by PEXlib functions.)
The following are the standard enumerated type index, mnemonic pairs which this function may return for each standard enumerated type.
Note: A convenience function is provided for determining if an alpha blend function is supported by the implementation, given a source blend factor and a destination blend factor pair. See PEXQueryAlphaBlend. The list of 42 enum type values listed below correspond directly to the entries in Alpha Blend Functions.
PEXAlphaBlendNone PEXETMAlphaBlendNone PEXAlphaBlendSimple PEXETMAlphaBlendSimple PEXAlphaBlendFunction2 PEXETMAlphaBlendFunction2 PEXAlphaBlendFunction3 PEXETMAlphaBlendFunction3 PEXAlphaBlendFunction4 PEXETMAlphaBlendFunction4 PEXAlphaBlendFunction5 PEXETMAlphaBlendFunction5 PEXAlphaBlendFunction6 PEXETMAlphaBlendFunction6 PEXAlphaBlendFunction7 PEXETMAlphaBlendFunction7 PEXAlphaBlendFunction8 PEXETMAlphaBlendFunction8 PEXAlphaBlendFunction9 PEXETMAlphaBlendFunction9 PEXAlphaBlendFunction10 PEXETMAlphaBlendFunction10 PEXAlphaBlendFunction11 PEXETMAlphaBlendFunction11 PEXAlphaBlendFunction12 PEXETMAlphaBlendFunction12 PEXAlphaBlendFunction13 PEXETMAlphaBlendFunction13 PEXAlphaBlendFunction14 PEXETMAlphaBlendFunction14 PEXAlphaBlendFunction15 PEXETMAlphaBlendFunction15 PEXAlphaBlendFunction16 PEXETMAlphaBlendFunction16 PEXAlphaBlendFunction17 PEXETMAlphaBlendFunction17 PEXAlphaBlendFunction18 PEXETMAlphaBlendFunction18 PEXAlphaBlendFunction19 PEXETMAlphaBlendFunction19 PEXAlphaBlendFunction20 PEXETMAlphaBlendFunction20 PEXAlphaBlendFunction21 PEXETMAlphaBlendFunction21 PEXAlphaBlendFunction22 PEXETMAlphaBlendFunction22 PEXAlphaBlendFunction23 PEXETMAlphaBlendFunction23 PEXAlphaBlendFunction24 PEXETMAlphaBlendFunction24 PEXAlphaBlendFunction25 PEXETMAlphaBlendFunction25 PEXAlphaBlendFunction26 PEXETMAlphaBlendFunction26 PEXAlphaBlendFunction27 PEXETMAlphaBlendFunction27 PEXAlphaBlendFunction28 PEXETMAlphaBlendFunction28 PEXAlphaBlendFunction29 PEXETMAlphaBlendFunction29 PEXAlphaBlendFunction30 PEXETMAlphaBlendFunction30 PEXAlphaBlendFunction31 PEXETMAlphaBlendFunction31 PEXAlphaBlendFunction32 PEXETMAlphaBlendFunction32 PEXAlphaBlendFunction33 PEXETMAlphaBlendFunction33 PEXAlphaBlendFunction34 PEXETMAlphaBlendFunction34 PEXAlphaBlendFunction35 PEXETMAlphaBlendFunction35 PEXAlphaBlendFunction36 PEXETMAlphaBlendFunction36 PEXAlphaBlendFunction37 PEXETMAlphaBlendFunction37 PEXAlphaBlendFunction38 PEXETMAlphaBlendFunction38 PEXAlphaBlendFunction39 PEXETMAlphaBlendFunction39 PEXAlphaBlendFunction40 PEXETMAlphaBlendFunction40 PEXAlphaBlendFunction41 PEXETMAlphaBlendFunction41
PEXATextNotConnected PEXETMATextNotConnected
PEXATextConnected PEXETMATextConnected
PEXColorApproxRGB PEXETMColorApproxRGB
PEXColorApproxCIE PEXETMColorApproxCIE
PEXColorApproxHSV PEXETMColorApproxHSV
PEXColorApproxHLS PEXETMColorApproxHLS
PEXColorApproxYIQ PEXETMColorApproxYIQ
PEXColorSpace PEXETMColorSpace
PEXColorRange PEXETMColorRange
PEXColorTypeIndexed PEXETMColorTypeIndexed
PEXColorTypeRGB PEXETMColorTypeRGB
PEXColorTypeCIE PEXETMColorTypeCIE
PEXColorTypeHSV PEXETMColorTypeHSV
PEXColorTypeHLS PEXETMColorTypeHLS
PEXColorTypeRGB8 PEXETMColorTypeRGB8
PEXColorTypeRGB16 PEXETMColorTypeRGB16
PEXColorTypeRGBA PEXETMColorTypeRGBA (new for 5.2)
PEXColorTypeRGBA8 PEXETMColorTypeRGBA8 (new for 5.2)
PEXColorTypeRGBA16 PEXETMColorTypeRGBA16 (new for 5.2)
PEXApproxImpDep implementation-dependent string
PEXApproxConstantBetweenKnots PEXETMApproxConstantBetweenKnots
PEXApproxWCChordalSize PEXETMApproxWCChordalSize
PEXApproxNPCChordalSize PEXETMApproxNPCChordalSize
PEXApproxDCChordalSize PEXETMApproxDCChordalSize
PEXCurveApproxWCChordalDev PEXETMCurveApproxWCChordalDev
PEXCurveApproxNPCChordalDev PEXETMCurveApproxNPCChordalDev
PEXCurveApproxDCChordalDev PEXETMCurveApproxDCChordalDev
PEXApproxWCRelative PEXETMApproxWCRelative
PEXApproxNPCRelative PEXETMApproxNPCRelative
PEXApproxDCRelative PEXETMApproxDCRelative
PEXDataMapNone PEXETMDataMapNone
PEXDataMapColor PEXETMDataMapColor
PEXVisualizeEach PEXETMVisualizeEach
PEXVisualizeEasy PEXETMVisualizeEasy
PEXVisualizeNone PEXETMVisualizeNone
PEXSimulateSome PEXETMSimulateSome
PEXVisualizeWhenever PEXETMVisualizeWhenever
PEXEchoDestructiveColor PEXETMEchoDestructiveColor
PEXEchoNonDestructiveColor PEXETMEchoNonDestructiveColor
PEXEchoXORColor PEXETMEchoXORColor
PEXEscapeSetEchoColor PEXETMEscapeSetEchoColor
PEXIEEE_754_32 PEXETMIEEE_754_32
PEXDEC_F_Floating PEXETMDEC_F_Floating
PEXIEEE_754_64 PEXETMIEEE_754_64
PEXDEC_D_Floating PEXETMDEC_D_Floating
PEXHatchStyle45Degrees PEXETMHatchStyle45Degrees (new for 5.2)
PEXHatchStyle135Degrees PEXETMHatchStyle135Degrees (new for 5.2)
PEXHighlightColor PEXETMHighlightColor
PEXHLHSRIDDisable PEXETMHLHSRIDDisable
PEXHLHSRIDEnable PEXETMHLHSRIDEnable
PEXHLHSRIDEnableTestOnly PEXETMHLHSRIDEnableTestOnly
PEXHLHSROff PEXETMHLHSROff
PEXHLHSRZBuffer PEXETMHLHSRZBuffer
PEXHLHSRPainters PEXETMHLHSRPainters
PEXHLHSRScanline PEXETMHLHSRScanline
PEXHLHSRHiddenLineOnly PEXETMHLHSRHiddenLineOnly
PEXHLHSRZBufferID PEXETMHLHSRZBufferID
PEXInteriorStyleHollow PEXETMInteriorStyleHollow
PEXInteriorStyleSolid PEXETMInteriorStyleSolid
PEXInteriorStylePattern PEXETMInteriorStylePattern
PEXInteriorStyleHatch PEXETMInteriorStyleHatch
PEXInteriorStyleEmpty PEXETMInteriorStyleEmpty
PEXInteriorStyleTexture PEXETMInteriorStyleTexture (new for 5.2)
PEXLightAmbient PEXETMLightAmbient
PEXLightWCVector PEXETMLightWCVector
PEXLightWCPoint PEXETMLightWCPoint
PEXLightWCSpot PEXETMLightWCSpot
PEXLineCapButt PEXETMLineCapButt
PEXLineCapRound PEXETMLineCapRound
PEXLineCapProject PEXETMLineCapProject
PEXLineJoinImpDep implementation-dependent string
PEXLineJoinRound PEXETMLineJoinRound
PEXLineJoinMiter PEXETMLineJoinMiter
PEXLineJoinBevel PEXETMLineJoinBevel
PEXLineTypeSolid PEXETMLineTypeSolid
PEXLineTypeDashed PEXETMLineTypeDashed
PEXLineTypeDotted PEXETMLineTypeDotted
PEXLineTypeDashDot PEXETMLineTypeDashDot
PEXLineTypeCenterLine PEXETMLineTypeCenterLine (new for 5.2)
PEXLineTypePhantom PEXETMLineTypePhantom (new for 5.2)
PEXMarkerGlyphStroke PEXETMMarkerGlyphStroke
PEXMarkerDot PEXETMMarkerDot
PEXMarkerCross PEXETMMarkerCross
PEXMarkerAsterisk PEXETMMarkerAsterisk
PEXMarkerCircle PEXETMMarkerCircle
PEXMarkerX PEXETMMarkerX
PEXModelClipReplace PEXETMModelClipReplace
PEXModelClipIntersection PEXETMModelClipIntersection
PEXPSCNone PEXETMPSCNone
PEXPSCImpDep implementation-dependent string
PEXPSCIsoCurves PEXETMPSCIsoCurves
PEXPSCMCLevelCurves PEXETMPSCMCLevelCurves
PEXPSCWCLevelCurves PEXETMPSCWCLevelCurves
PEXPickAllAll PEXETMPickAllAll
PEXPickAllVisible PEXETMPickAllVisible
PEXPickDeviceDCHitBox PEXETMPickDeviceDCHitBox
PEXPickDeviceNPCHitVolume PEXETMPickDeviceNPCHitVolume
PEXPickLast PEXETMPickLast
PEXPickClosestZ PEXETMPickClosestZ
PEXPickVisibleAny PEXETMPickVisibleAny
PEXPickVisibleClosest PEXETMPickVisibleClosest
PEXPolylineInterpNone PEXETMPolylineInterpNone
PEXPolylineInterpColor PEXETMPolylineInterpColor
PEXPrimitiveAABlendImpDep PEXETMPrimitiveAABlendImpDep
PEXPrimitiveAABlendSimpleAlpha PEXETMPrimitiveAABlendSimpleAlpha
PEXEchoPrimitive PEXETMEchoPrimitive
PEXEchoStructure PEXETMEchoStructure
PEXEchoNetwork PEXETMEchoNetwork
PEXReflectionNone PEXETMReflectionNone
PEXReflectionAmbient PEXETMReflectionAmbient
PEXReflectionDiffuse PEXETMReflectionDiffuse
PEXReflectionSpecular PEXETMReflectionSpecular
PEXRMNone PEXETMRMNone (new for 5.2)
PEXRMAmbient PEXETMRMAmbient (new for 5.2)
PEXRMAmbientDiffuse PEXETMRMAmbientDiffuse (new for 5.2)
PEXRMAmbientDiffuseSpecular PEXETMRMAmbientDiffuseSpecular (new for 5.2)
PEXRenderingColorModelImpDep implementation-dependent string
PEXRenderingColorModelRGB PEXETMRenderingColorModelRGB
PEXRenderingColorModelCIE PEXETMRenderingColorModelCIE
PEXRenderingColorModelHSV PEXETMRenderingColorModelHSV
PEXRenderingColorModelHLS PEXETMRenderingColorModelHLS
PEXTexelResourcesWindow PEXETMTexelResourcesWindow
PEXTexelResourcesPixmap PEXETMTexelResourcesPixmap
PEXTexelResourcesBuffer PEXETMTexelResourcesBuffer
PEXTexelResourcesPhotomap PEXETMTexelResourcesPhotomap
PEXApproxImpDep implementation-dependent string
PEXApproxConstantBetweenKnots PEXETMApproxConstantBetweenKnots
PEXApproxWCChordalSize PEXETMApproxWCChordalSize
PEXApproxNPCChordalSize PEXETMApproxNPCChordalSize
PEXApproxDCChordalSize PEXETMApproxDCChordalSize
PEXSurfaceApproxWCPlanarDev PEXETMSurfaceApproxWCPlanarDev
PEXSurfaceApproxNPCPlanarDev PEXETMSurfaceApproxNPCPlanarDev
PEXSurfaceApproxDCPlanarDev PEXETMSurfaceApproxDCPlanarDev
PEXApproxWCRelative PEXETMApproxWCRelative
PEXApproxNPCRelative PEXETMApproxNPCRelative
PEXApproxDCRelative PEXETMApproxDCRelative
PEXSurfaceEdgeSolid PEXETMSurfaceEdgeSolid
PEXSurfaceEdgeDashed PEXETMSurfaceEdgeDashed
PEXSurfaceEdgeDotted PEXETMSurfaceEdgeDotted
PEXSurfaceEdgeDashDot PEXETMSurfaceEdgeDashDot
PEXSurfaceInterpNone PEXETMSurfaceInterpNone
PEXSurfaceInterpColor PEXETMSurfaceInterpColor
PEXSurfaceInterpDotProduct PEXETMSurfaceInterpDotProduct
PEXSurfaceInterpNormal PEXETMSurfaceInterpNormal
PEXTMBoundaryClampExplicitDiscontinue PEXETMTMBoundaryClampExplicitDiscontinue
PEXTMBoundaryClampExplicitColor PEXETMTMBoundaryClampExplicitColor
PEXTMBoundaryClampExplicit PEXETMTMBoundaryClampExplicit
PEXTMBoundaryClampBorder PEXETMTMBoundaryClampBorder
PEXTMBoundaryWrap PEXETMTMBoundaryWrap
PEXTMBoundaryMirror PEXETMTMBoundaryMirror
PEXTMCompReplace PEXETMTMCompReplace
PEXTMCompModulate PEXETMTMCompModulate
PEXTMCompBlendEnvColor PEXETMTMCompBlendEnvColor
PEXTMCompDecal PEXETMTMCompDecal
PEXTMCompDecalBackground PEXETMTMCompDecalBackground
PEXTMDimension1D PEXETMTMDimension1D
PEXTMDimension2D PEXETMTMDimension2D
PEXTMDimension3D PEXETMTMDimension3D
PEXTMParamVertexMCCoord PEXETMTMParamVertexMCCoord
PEXTMParamVertexWCCoord PEXETMTMParamVertexWCCoord
PEXTMParamVertexMCNormal PEXETMTMParamVertexMCNormal
PEXTMParamVertexWCNormal PEXETMTMParamVertexWCNormal
PEXTMParamNURBUV PEXETMTMParamNURBUV
PEXTMParamFloatData PEXETMTMParamFloatData
PEXTMParamReflectionSphereVRC PEXETMTMParamReflectionSphereVRC
PEXTMParamReflectionSphereWC PEXETMTMParamReflectionSphereWC
PEXTMPerspectiveCorrectionNone PEXETMTMPerspectiveCorrectionNone
PEXTMPerspectiveCorrectionVertex PEXETMTMPerspectiveCorrectionVertex
PEXTMPerspectiveCorrectionPixel PEXETMTMPerspectiveCorrectionPixel
PEXTMRenderingControlPreLight PEXETMTMRenderingControlPreLight
PEXTMRenderingControlPostLight PEXETMTMRenderingControlPostLight
PEXTMResourceHintsNone PEXETMResourceHintsNone
PEXTMResourceHintsSpeed PEXETMResourceHintsSpeed
PEXTMResourceHintsSpace PEXETMResourceHintsSpace
PEXTMSampleFrequencyPixel PEXETMTMSampleFrequencyPixel
PEXTMSampleFrequencyInterpDep PEXETMTMSampleFrequencyInterpDep
PEXTMSampleSingleBase PEXETMTMSampleSingleBase
PEXTMSampleWeightedBase PEXETMTMSampleWeightedBase
PEXTMSampleSingleInMipmap PEXETMTMSampleSingleInMipmap
PEXTMSampleWeightedInMipmap PEXETMTMSampleWeightedInMipmap
PEXTMSampleSingleBetweenMipmaps PEXETMTMSampleSingleBetweenMipmaps
PEXTMSampleWeightedBetweenMipmaps PEXETMTMSampleWeightedBetweenMipmaps
PEXTMTexelTypeLum PEXETMTMTexelTypeLum
PEXTMTexelTypeLum8 PEXETMTMTexelTypeLum8
PEXTMTexelTypeLum16 PEXETMTMTexelTypeLum16
PEXTMTexelTypeLumA PEXETMTMTexelTypeLumA
PEXTMTexelTypeLumA8 PEXETMTMTexel TypeLumA8
PEXTMTexelTypeLumA16 PEXETMTMTexelTypeLumA16
PEXTMTexelTypeRGB PEXETMTMTexelTypeRGB
PEXTMTexelTypeRGB8 PEXETMTMTexelTypeRGB8
PEXTMTexelTypeRGB16 PEXETMTMTexelTypeRGB16
PEXTMTexelTypeRGBA PEXETMTMTexelTypeRGBA
PEXTMTexelTypeRGBA8 PEXETMTMTexelTypeRGBA8
PEXTMTexelTypeRGBA6 PEXETMTMTexelTypeRGBA16
PEXTransparencyNone PEXETMTransparencyNone
PEXTransparencyScreenDoor PEXETMTransparencyScreenDoor
PEXTransparencyAlphaBlend PEXETMTransparencyAlphaBlend
PEXTransparencyTwoPass PEXETMTransparencyTwoPass
PEXTransparencyMultipass PEXETMTransparencyMultipass
PEXApproxImpDep implementation-dependent string
PEXApproxConstantBetweenKnots PEXETMApproxConstantBetweenKnots
PEXZBufferTestLessThan PEXETMZBufferTestLessThan
PEXZBufferTestLessThanOrEqual PEXETMZBufferTestLessThanOrEqual
PEXZBufferTestGreaterThan PEXETMZBufferTestGreaterThan
PEXZBufferTestGreaterThanOrEqual PEXETMZBufferTestGreaterThanOrEqual
PEXZBufferTestEqual PEXETMZBufferTestEqual
PEXZBufferTestNotEqual PEXETMZBufferTestNotEqual
PEXZBufferTestPass PEXETMZBufferTestPass
For an overview, see PEXlib Access and Information Functions.