com.bugvm.apple.glkit.GLKBaseEffect Maven / Gradle / Ivy
/*
* 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.glkit;
/**/
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.corefoundation.*;
import com.bugvm.apple.coregraphics.*;
import com.bugvm.apple.opengles.*;
import com.bugvm.apple.uikit.*;
import com.bugvm.apple.dispatch.*;
/* */
/**/
/**
* @since Available in iOS 5.0 and later.
*/
/* */
/**/@Library("GLKit") @NativeClass/* */
/**/public/* */ class /**/GLKBaseEffect/* */
extends /**/NSObject/* */
/**/implements GLKNamedEffect/* */ {
/**/public static class GLKBaseEffectPtr extends Ptr {}/* */
/**/static { ObjCRuntime.bind(GLKBaseEffect.class); }/* */
/**//* */
/**/
public GLKBaseEffect() {}
protected GLKBaseEffect(SkipInit skipInit) { super(skipInit); }
/* */
/**/
@Property(selector = "colorMaterialEnabled")
public native boolean isColorMaterialEnabled();
@Property(selector = "setColorMaterialEnabled:")
public native void setColorMaterialEnabled(boolean v);
@Property(selector = "lightModelTwoSided")
public native boolean isLightModelTwoSided();
@Property(selector = "setLightModelTwoSided:")
public native void setLightModelTwoSided(boolean v);
@Property(selector = "useConstantColor")
public native boolean usesConstantColor();
@Property(selector = "setUseConstantColor:")
public native void setUsesConstantColor(boolean v);
@Property(selector = "transform")
public native GLKEffectPropertyTransform getTransform();
@Property(selector = "light0")
public native GLKEffectPropertyLight getLight0();
@Property(selector = "light1")
public native GLKEffectPropertyLight getLight1();
@Property(selector = "light2")
public native GLKEffectPropertyLight getLight2();
@Property(selector = "lightingType")
public native GLKLightingType getLightingType();
@Property(selector = "setLightingType:")
public native void setLightingType(GLKLightingType v);
@Property(selector = "lightModelAmbientColor")
public native @ByVal GLKVector4 getLightModelAmbientColor();
@Property(selector = "setLightModelAmbientColor:")
public native void setLightModelAmbientColor(@ByVal GLKVector4 v);
@Property(selector = "material")
public native GLKEffectPropertyMaterial getMaterial();
@Property(selector = "texture2d0")
public native GLKEffectPropertyTexture getTexture2d0();
@Property(selector = "texture2d1")
public native GLKEffectPropertyTexture getTexture2d1();
@Property(selector = "textureOrder")
public native NSArray getTextureOrder();
@Property(selector = "setTextureOrder:")
public native void setTextureOrder(NSArray v);
@Property(selector = "constantColor")
public native @ByVal GLKVector4 getConstantColor();
@Property(selector = "setConstantColor:")
public native void setConstantColor(@ByVal GLKVector4 v);
@Property(selector = "fog")
public native GLKEffectPropertyFog getFog();
@Property(selector = "label")
public native String getLabel();
@Property(selector = "setLabel:")
public native void setLabel(String v);
/* */
/**//* */
/**/
@Method(selector = "prepareToDraw")
public native void prepareToDraw();
/* */
}