Skip to content

Commit

Permalink
bump enums to latest bgfx api
Browse files Browse the repository at this point in the history
  • Loading branch information
s1ddok committed Jul 5, 2017
1 parent 4ec77e7 commit eda4913
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Sources/SwiftBGFX/enums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ public enum VertexAttributeUsage: UInt32 {
/// Second color channel.
case color1

/// Third color channel.
case color2

/// Fourth color channel.
case color3

/// Indices.
case indices

Expand Down Expand Up @@ -353,7 +359,10 @@ public enum TextureFormat: UInt32 {
public enum UniformType : UInt32 {

/// Single integer.
case int1
case int1 = 0

///
case end

/// 4D vector.
case vector4 = 2
Expand Down

0 comments on commit eda4913

Please sign in to comment.