All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bugvm.apple.metal.MTLPixelFormat Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show newest version
/*
 * Copyright (C) 2013-2015 RoboVM AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bugvm.apple.metal;

/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.dispatch.*;
/**/

/**/
/**
 * @since Available in iOS 8.0 and later.
 */
/**/
/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/
public enum /**/MTLPixelFormat/**/ implements ValuedEnum {
    /**/
    Invalid(0L),
    A8Unorm(1L),
    R8Unorm(10L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    R8Unorm_sRGB(11L),
    R8Snorm(12L),
    R8Uint(13L),
    R8Sint(14L),
    R16Unorm(20L),
    R16Snorm(22L),
    R16Uint(23L),
    R16Sint(24L),
    R16Float(25L),
    RG8Unorm(30L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    RG8Unorm_sRGB(31L),
    RG8Snorm(32L),
    RG8Uint(33L),
    RG8Sint(34L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    B5G6R5Unorm(40L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    A1BGR5Unorm(41L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ABGR4Unorm(42L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    BGR5A1Unorm(43L),
    R32Uint(53L),
    R32Sint(54L),
    R32Float(55L),
    RG16Unorm(60L),
    RG16Snorm(62L),
    RG16Uint(63L),
    RG16Sint(64L),
    RG16Float(65L),
    RGBA8Unorm(70L),
    RGBA8Unorm_sRGB(71L),
    RGBA8Snorm(72L),
    RGBA8Uint(73L),
    RGBA8Sint(74L),
    BGRA8Unorm(80L),
    BGRA8Unorm_sRGB(81L),
    RGB10A2Unorm(90L),
    RGB10A2Uint(91L),
    RG11B10Float(92L),
    RGB9E5Float(93L),
    RG32Uint(103L),
    RG32Sint(104L),
    RG32Float(105L),
    RGBA16Unorm(110L),
    RGBA16Snorm(112L),
    RGBA16Uint(113L),
    RGBA16Sint(114L),
    RGBA16Float(115L),
    RGBA32Uint(123L),
    RGBA32Sint(124L),
    RGBA32Float(125L),
    BC1_RGBA(130L),
    BC1_RGBA_sRGB(131L),
    BC2_RGBA(132L),
    BC2_RGBA_sRGB(133L),
    BC3_RGBA(134L),
    BC3_RGBA_sRGB(135L),
    BC4_RUnorm(140L),
    BC4_RSnorm(141L),
    BC5_RGUnorm(142L),
    BC5_RGSnorm(143L),
    BC6H_RGBFloat(150L),
    BC6H_RGBUfloat(151L),
    BC7_RGBAUnorm(152L),
    BC7_RGBAUnorm_sRGB(153L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGB_2BPP(160L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGB_2BPP_sRGB(161L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGB_4BPP(162L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGB_4BPP_sRGB(163L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGBA_2BPP(164L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGBA_2BPP_sRGB(165L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGBA_4BPP(166L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    PVRTC_RGBA_4BPP_sRGB(167L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_R11Unorm(170L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_R11Snorm(172L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_RG11Unorm(174L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_RG11Snorm(176L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_RGBA8(178L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    EAC_RGBA8_sRGB(179L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ETC2_RGB8(180L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ETC2_RGB8_sRGB(181L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ETC2_RGB8A1(182L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ETC2_RGB8A1_sRGB(183L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_4x4_sRGB(186L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_5x4_sRGB(187L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_5x5_sRGB(188L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_6x5_sRGB(189L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_6x6_sRGB(190L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x5_sRGB(192L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x6_sRGB(193L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x8_sRGB(194L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x5_sRGB(195L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x6_sRGB(196L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x8_sRGB(197L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x10_sRGB(198L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_12x10_sRGB(199L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_12x12_sRGB(200L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_4x4_LDR(204L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_5x4_LDR(205L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_5x5_LDR(206L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_6x5_LDR(207L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_6x6_LDR(208L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x5_LDR(210L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x6_LDR(211L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_8x8_LDR(212L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x5_LDR(213L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x6_LDR(214L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x8_LDR(215L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_10x10_LDR(216L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_12x10_LDR(217L),
    /**
     * @since Available in iOS 8.0 and later.
     */
    ASTC_12x12_LDR(218L),
    GBGR422(240L),
    BGRG422(241L),
    Depth32Float(252L),
    Stencil8(253L),
    Depth24Unorm_Stencil8(255L),
    /**
     * @since Available in iOS 9.0 and later.
     */
    Depth32Float_Stencil8(260L);
    /**/

    /**/
    /**/
    /**//**/
    /**//**/

    private final long n;

    private /**/MTLPixelFormat/**/(long n) { this.n = n; }
    public long value() { return n; }
    public static /**/MTLPixelFormat/**/ valueOf(long n) {
        for (/**/MTLPixelFormat/**/ v : values()) {
            if (v.n == n) {
                return v;
            }
        }
        throw new IllegalArgumentException("No constant with value " + n + " found in " 
            + /**/MTLPixelFormat/**/.class.getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy