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

com.bugvm.apple.modelio.MDLVertexFormat Maven / Gradle / Ivy

The 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.modelio;

/**/
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.coregraphics.*;
/**/

/**/

/**/
/**/@Marshaler(ValuedEnum.AsMachineSizedUIntMarshaler.class)/**/
public enum /**/MDLVertexFormat/**/ implements ValuedEnum {
    /**/
    Invalid(0L),
    PackedBit(4096L),
    UCharBits(65536L),
    CharBits(131072L),
    UCharNormalizedBits(196608L),
    CharNormalizedBits(262144L),
    UShortBits(327680L),
    ShortBits(393216L),
    UShortNormalizedBits(458752L),
    ShortNormalizedBits(524288L),
    UIntBits(589824L),
    IntBits(655360L),
    HalfBits(720896L),
    FloatBits(786432L),
    UChar(65537L),
    UChar2(65538L),
    UChar3(65539L),
    UChar4(65540L),
    Char(131073L),
    Char2(131074L),
    Char3(131075L),
    Char4(131076L),
    UCharNormalized(196609L),
    UChar2Normalized(196610L),
    UChar3Normalized(196611L),
    UChar4Normalized(196612L),
    CharNormalized(262145L),
    Char2Normalized(262146L),
    Char3Normalized(262147L),
    Char4Normalized(262148L),
    UShort(327681L),
    UShort2(327682L),
    UShort3(327683L),
    UShort4(327684L),
    Short(393217L),
    Short2(393218L),
    Short3(393219L),
    Short4(393220L),
    UShortNormalized(458753L),
    UShort2Normalized(458754L),
    UShort3Normalized(458755L),
    UShort4Normalized(458756L),
    ShortNormalized(524289L),
    Short2Normalized(524290L),
    Short3Normalized(524291L),
    Short4Normalized(524292L),
    UInt(589825L),
    UInt2(589826L),
    UInt3(589827L),
    UInt4(589828L),
    Int(655361L),
    Int2(655362L),
    Int3(655363L),
    Int4(655364L),
    Half(720897L),
    Half2(720898L),
    Half3(720899L),
    Half4(720900L),
    Float(786433L),
    Float2(786434L),
    Float3(786435L),
    Float4(786436L),
    Int1010102Normalized(659460L),
    UInt1010102Normalized(593924L);
    /**/

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

    private final long n;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy