Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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 /**/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);
/**/
/**/
/**/
/**//**/
/**//**/
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());
}
}