BufferBit

public struct BufferBit : OptionSet

Types of auxiliary buffers

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying CoglBufferBit enum value

    Declaration

    Swift

    @inlinable
    public var value: CoglBufferBit { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified CoglBufferBit enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: CoglBufferBit)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Selects the primary color buffer

    Declaration

    Swift

    public static let color: BufferBit
  • Selects the depth buffer

    Declaration

    Swift

    public static let depth: BufferBit
  • Selects the stencil buffer

    Declaration

    Swift

    public static let stencil: BufferBit