2013-08-13 20:04:25 +02:00
/*****************************************************************************
* Enums . h *
* *
* XFX enumeration definition file *
* Copyright ( c ) XFX Team . All Rights Reserved *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2013-05-05 18:18:41 +02:00
# ifndef _XFX_ENUMS_
# define _XFX_ENUMS_
namespace XFX
2013-08-13 20:04:25 +02:00
{
2013-05-05 18:18:41 +02:00
// Describes how one bounding volume contains another.
struct ContainmentType
{
enum type
{
Contains ,
Disjoint ,
Intersects
} ;
} ;
// Defines the continuity of CurveKeys on a Curve.
struct CurveContinuity
{
enum type
{
Smooth ,
Step
} ;
} ;
2013-08-13 20:04:25 +02:00
2013-05-05 18:18:41 +02:00
// Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve.
struct CurveLoopType
{
enum type
{
Constant ,
Cycle ,
CycleOffset ,
Linear ,
Oscillate
} ;
} ;
2013-08-13 20:04:25 +02:00
2013-05-05 18:18:41 +02:00
// Specifies different tangent types to be calculated for CurveKey points in a Curve.
struct CurveTangent
{
enum type
{
Flat ,
Linear ,
Smooth
} ;
} ;
2013-08-13 20:04:25 +02:00
2013-05-05 18:18:41 +02:00
// Describes the intersection between a plane and a bounding volume.
struct PlaneIntersectionType
{
enum type
{
Back ,
Front ,
Intersecting
} ;
} ;
2013-08-13 20:04:25 +02:00
2013-05-05 18:18:41 +02:00
// Specifies the index of a player.
struct PlayerIndex
{
enum type
{
One ,
Two ,
Three ,
Four
} ;
} ;
// Defines the target platform to be used when compiling content.
struct TargetPlatform
{
enum type
{
Unknown ,
Linux ,
XBOX
} ;
} ;
typedef ContainmentType : : type ContainmentType_t ; // Describes how one bounding volume contains another.
typedef CurveContinuity : : type CurveContinuity_t ; // Defines the continuity of CurveKeys on a Curve.
2013-08-11 22:41:39 +02:00
typedef CurveLoopType : : type CurveLoopType_t ; // Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve.
typedef CurveTangent : : type CurveTangent_t ; // Specifies different tangent types to be calculated for CurveKey points in a Curve.
2013-05-05 18:18:41 +02:00
typedef PlaneIntersectionType : : type PlaneIntersectionType_t ; // Describes the intersection between a plane and a bounding volume.
2013-08-11 22:41:39 +02:00
typedef PlayerIndex : : type PlayerIndex_t ; // Specifies the index of a player.
2013-05-05 18:18:41 +02:00
typedef TargetPlatform : : type TargetPlatform_t ; // Defines the target platform to be used when compiling content.
}
# endif //_ENUMS_