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

com.bugvm.apple.modelio.MDLMaterialProperty 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.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.*;
/**/

/**/
/**
 * @since Available in iOS 9.0 and later.
 */
/**/
/**/@Library("ModelIO") @NativeClass/**/
/**/public/**/ class /**/MDLMaterialProperty/**/ 
    extends /**/NSObject/**/ 
    /**/implements MDLNamed/**/ {

    /**/public static class MDLMaterialPropertyPtr extends Ptr {}/**/
    /**/static { ObjCRuntime.bind(MDLMaterialProperty.class); }/**/
    /**//**/
    /**/
    public MDLMaterialProperty() {}
    protected MDLMaterialProperty(SkipInit skipInit) { super(skipInit); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic) { super((SkipInit) null); initObject(init(name, semantic)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, float value) { super((SkipInit) null); initObject(init(name, semantic, value)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, VectorFloat2 value) { super((SkipInit) null); initObject(init(name, semantic, value)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, VectorFloat3 value) { super((SkipInit) null); initObject(init(name, semantic, value)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, VectorFloat4 value) { super((SkipInit) null); initObject(init(name, semantic, value)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, MatrixFloat4x4 value) { super((SkipInit) null); initObject(init(name, semantic, value)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, NSURL URL) { super((SkipInit) null); initObject(init(name, semantic, URL)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, String string) { super((SkipInit) null); initObject(init(name, semantic, string)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, MDLTextureSampler textureSampler) { super((SkipInit) null); initObject(init(name, semantic, textureSampler)); }
    public MDLMaterialProperty(String name, MDLMaterialSemantic semantic, CGColor color) { super((SkipInit) null); initObject(init(name, semantic, color)); }
    /**/
    /**/
    @Property(selector = "semantic")
    public native MDLMaterialSemantic getSemantic();
    @Property(selector = "setSemantic:")
    public native void setSemantic(MDLMaterialSemantic v);
    @Property(selector = "type")
    public native MDLMaterialPropertyType getType();
    @Property(selector = "name")
    public native String getName();
    @Property(selector = "setName:")
    public native void setName(String v);
    @Property(selector = "stringValue")
    public native String getStringValue();
    @Property(selector = "setStringValue:")
    public native void setStringValue(String v);
    @Property(selector = "URLValue")
    public native NSURL getURLValue();
    @Property(selector = "setURLValue:")
    public native void setURLValue(NSURL v);
    @Property(selector = "textureSamplerValue")
    public native MDLTextureSampler getTextureSamplerValue();
    @Property(selector = "setTextureSamplerValue:")
    public native void setTextureSamplerValue(MDLTextureSampler v);
    @Property(selector = "color")
    public native CGColor getColor();
    @Property(selector = "setColor:")
    public native void setColor(CGColor v);
    @Property(selector = "floatValue")
    public native float getFloatValue();
    @Property(selector = "setFloatValue:")
    public native void setFloatValue(float v);
    @Property(selector = "float2Value")
    public native VectorFloat2 getFloat2Value();
    @Property(selector = "setFloat2Value:", strongRef = true)
    public native void setFloat2Value(VectorFloat2 v);
    @Property(selector = "float3Value")
    public native VectorFloat3 getFloat3Value();
    @Property(selector = "setFloat3Value:", strongRef = true)
    public native void setFloat3Value(VectorFloat3 v);
    @Property(selector = "float4Value")
    public native VectorFloat4 getFloat4Value();
    @Property(selector = "setFloat4Value:", strongRef = true)
    public native void setFloat4Value(VectorFloat4 v);
    @Property(selector = "matrix4x4")
    public native MatrixFloat4x4 getMatrix4x4();
    @Property(selector = "setMatrix4x4:", strongRef = true)
    public native void setMatrix4x4(MatrixFloat4x4 v);
    /**/
    /**//**/
    /**/
    @Method(selector = "initWithName:semantic:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic);
    @Method(selector = "initWithName:semantic:float:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, float value);
    @Method(selector = "initWithName:semantic:float2:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, VectorFloat2 value);
    @Method(selector = "initWithName:semantic:float3:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, VectorFloat3 value);
    @Method(selector = "initWithName:semantic:float4:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, VectorFloat4 value);
    @Method(selector = "initWithName:semantic:matrix4x4:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, MatrixFloat4x4 value);
    @Method(selector = "initWithName:semantic:URL:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, NSURL URL);
    @Method(selector = "initWithName:semantic:string:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, String string);
    @Method(selector = "initWithName:semantic:textureSampler:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, MDLTextureSampler textureSampler);
    @Method(selector = "initWithName:semantic:color:")
    protected native @Pointer long init(String name, MDLMaterialSemantic semantic, CGColor color);
    @Method(selector = "setProperties:")
    public native void setProperties(MDLMaterialProperty property);
    /**/
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy