package com.nativelibs4java.directx.d3d10;
import com.nativelibs4java.directx.d3d10.D3d10Library.D3D10_INPUT_CLASSIFICATION;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ValuedEnum;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : d3d10.h:12</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("d3d10") 
public class D3D10_INPUT_ELEMENT_DESC extends StructObject {
	/// C type : LPCSTR
	@Field(0) 
	public Pointer<Byte > SemanticName() {
		return this.io.getPointerField(this, 0);
	}
	/// C type : LPCSTR
	@Field(0) 
	public D3D10_INPUT_ELEMENT_DESC SemanticName(Pointer<Byte > SemanticName) {
		this.io.setPointerField(this, 0, SemanticName);
		return this;
	}
	@Field(1) 
	public int SemanticIndex() {
		return this.io.getIntField(this, 1);
	}
	@Field(1) 
	public D3D10_INPUT_ELEMENT_DESC SemanticIndex(int SemanticIndex) {
		this.io.setIntField(this, 1, SemanticIndex);
		return this;
	}
	/// Conversion Error : DXGI_FORMAT (Unsupported type)
	@Field(2) 
	public int InputSlot() {
		return this.io.getIntField(this, 2);
	}
	@Field(2) 
	public D3D10_INPUT_ELEMENT_DESC InputSlot(int InputSlot) {
		this.io.setIntField(this, 2, InputSlot);
		return this;
	}
	@Field(3) 
	public int AlignedByteOffset() {
		return this.io.getIntField(this, 3);
	}
	@Field(3) 
	public D3D10_INPUT_ELEMENT_DESC AlignedByteOffset(int AlignedByteOffset) {
		this.io.setIntField(this, 3, AlignedByteOffset);
		return this;
	}
	/// C type : D3D10_INPUT_CLASSIFICATION
	@Field(4) 
	public ValuedEnum<D3D10_INPUT_CLASSIFICATION > InputSlotClass() {
		return this.io.getEnumField(this, 4);
	}
	/// C type : D3D10_INPUT_CLASSIFICATION
	@Field(4) 
	public D3D10_INPUT_ELEMENT_DESC InputSlotClass(ValuedEnum<D3D10_INPUT_CLASSIFICATION > InputSlotClass) {
		this.io.setEnumField(this, 4, InputSlotClass);
		return this;
	}
	@Field(5) 
	public int InstanceDataStepRate() {
		return this.io.getIntField(this, 5);
	}
	@Field(5) 
	public D3D10_INPUT_ELEMENT_DESC InstanceDataStepRate(int InstanceDataStepRate) {
		this.io.setIntField(this, 5, InstanceDataStepRate);
		return this;
	}
}
