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

org.robovm.apple.metal.MTLVertexFormat Maven / Gradle / Ivy

There is a newer version: 2.3.5
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 org.robovm.apple.metal;

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

/**/
/**
 * @since Available in iOS 8.0 and later.
 */
/**/
/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/
public enum /**/MTLVertexFormat/**/ implements ValuedEnum {
    /**/
    Invalid(0L),
    UChar2(1L),
    UChar3(2L),
    UChar4(3L),
    Char2(4L),
    Char3(5L),
    Char4(6L),
    UChar2Normalized(7L),
    UChar3Normalized(8L),
    UChar4Normalized(9L),
    Char2Normalized(10L),
    Char3Normalized(11L),
    Char4Normalized(12L),
    UShort2(13L),
    UShort3(14L),
    UShort4(15L),
    Short2(16L),
    Short3(17L),
    Short4(18L),
    UShort2Normalized(19L),
    UShort3Normalized(20L),
    UShort4Normalized(21L),
    Short2Normalized(22L),
    Short3Normalized(23L),
    Short4Normalized(24L),
    Half2(25L),
    Half3(26L),
    Half4(27L),
    Float(28L),
    Float2(29L),
    Float3(30L),
    Float4(31L),
    Int(32L),
    Int2(33L),
    Int3(34L),
    Int4(35L),
    UInt(36L),
    UInt2(37L),
    UInt3(38L),
    UInt4(39L),
    Int1010102Normalized(40L),
    UInt1010102Normalized(41L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    UChar4Normalized_BGRA(42L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    UChar(45L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    Char(46L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    UCharNormalized(47L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    CharNormalized(48L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    UShort(49L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    Short(50L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    UShortNormalized(51L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    ShortNormalized(52L),
    /**
     * @since Available in iOS 11.0 and later.
     */
    Half(53L);
    /**/

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

    private final long n;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy