Skip to content

Conversation

Perksey
Copy link
Member

@Perksey Perksey commented Dec 27, 2021

Does what it says on the tin. There's no way to cleanly determine this, so we just say if 50% of the enums are a bit then it's a bitmask.

Closes #729

@Perksey Perksey added this to the 2.X milestone Dec 27, 2021
@Perksey Perksey requested a review from a team as a code owner December 27, 2021 23:58
Copy link
Member

@HurricanKai HurricanKai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have [Flags] instead of [Flags()]?

@Perksey
Copy link
Member Author

Perksey commented Dec 31, 2021

Probably, will just need to modify the code elsewhere. Obviously being NYE won't do this right now.

@Perksey Perksey requested a review from HurricanKai January 6, 2022 17:13
@Perksey
Copy link
Member Author

Perksey commented Jan 6, 2022

Review comments rectified.

@Perksey Perksey merged commit 9ef3457 into main Jan 6, 2022
@Perksey Perksey deleted the hotfix/flags_attr branch January 6, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding FlagsAttribute to Silk.NET.Direct3D11.BindFlag
2 participants