TextureType

public extension TextureType
  • Cast constructor, converting any binary integer to a TextureType.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • _2d

    A CoglTexture2D

    Declaration

    Swift

    static let _2d: CoglTextureType
  • _3d

    A CoglTexture3D

    Declaration

    Swift

    static let _3d: CoglTextureType
  • A CoglTextureRectangle

    Declaration

    Swift

    static let rectangle: CoglTextureType