public static String stringFor ( int n ) { switch ( n ) { case CU_CUBEMAP_FACE_POSITIVE_X : return "CU_CUBEMAP_FACE_POSITIVE_X" ; case CU_CUBEMAP_FACE_NEGATIVE_X : return "CU_CUBEMAP_FACE_NEGATIVE_X" ; case CU_CUBEMAP_FACE_POSITIVE_Y : return "CU_CUBEMAP_FACE_POSITIVE_Y" ; case CU_CUBEMAP_FACE_NEGATIVE_Y : return "CU_CUBEMAP_FACE_NEGATIVE_Y" ; case CU_CUBEMAP_FACE_POSITIVE_Z : return "CU_CUBEMAP_FACE_POSITIVE_Z" ; case CU_CUBEMAP_FACE_NEGATIVE_Z : return "CU_CUBEMAP_FACE_NEGATIVE_Z" ; } return "INVALID CUarray_cubemap_face: " + n ; }
Returns the String identifying the given CUarray_cubemap_face