Bug 4345 - [OpenTK-1.0] DrawElementsType enum is missing some members.
Summary: [OpenTK-1.0] DrawElementsType enum is missing some members.
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.2
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2012-04-09 13:27 UTC by Eric Beisecker
Modified: 2012-04-09 17:17 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Eric Beisecker 2012-04-09 13:27:59 UTC
The DrawElementsType enum seems to be missing some members. 

The Current values that is has are 

public enum DrawElementsType
{
    UnsignedByte = 5121,
    UnsignedShort = 5123
}

From objective-C examples I know that at least one other value that is supported is UnsignedInt which can be found in the 'All' enum 

public enum All
{
    ....
    Byte = 5120,
    UnsignedByte, // Would be 5121
    Short,
    UnsignedShort, // Would be 5123
    Int,
    UnsignedInt, // Would be 5125. GLEssentials Sample uses this
    Float
    ....
}
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-04-09 17:17:41 UTC
Fixed in master (702e2ee8).

From here: http://www.opengl.org/sdk/docs/man/xhtml/glDrawElements.xml it looks like UnsignedInt is the only missing member, so that was the only I added.