package com.nativelibs4java.directx.d3d10;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : d3d10.h:48</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.free.fr/">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_SO_DECLARATION_ENTRY extends StructObject {
	public D3D10_SO_DECLARATION_ENTRY() {
		super();
	}
	public D3D10_SO_DECLARATION_ENTRY(Pointer pointer) {
		super(pointer);
	}
	/// C type : LPCSTR
	@Field(0) 
	public Pointer<Byte > SemanticName() {
		return this.io.getPointerField(this, 0);
	}
	/// C type : LPCSTR
	@Field(0) 
	public D3D10_SO_DECLARATION_ENTRY 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_SO_DECLARATION_ENTRY SemanticIndex(int SemanticIndex) {
		this.io.setIntField(this, 1, SemanticIndex);
		return this;
	}
	@Field(2) 
	public byte StartComponent() {
		return this.io.getByteField(this, 2);
	}
	@Field(2) 
	public D3D10_SO_DECLARATION_ENTRY StartComponent(byte StartComponent) {
		this.io.setByteField(this, 2, StartComponent);
		return this;
	}
	@Field(3) 
	public byte ComponentCount() {
		return this.io.getByteField(this, 3);
	}
	@Field(3) 
	public D3D10_SO_DECLARATION_ENTRY ComponentCount(byte ComponentCount) {
		this.io.setByteField(this, 3, ComponentCount);
		return this;
	}
	@Field(4) 
	public byte OutputSlot() {
		return this.io.getByteField(this, 4);
	}
	@Field(4) 
	public D3D10_SO_DECLARATION_ENTRY OutputSlot(byte OutputSlot) {
		this.io.setByteField(this, 4, OutputSlot);
		return this;
	}
}
