package com.nativelibs4java.directx.d3d10;
import com.nativelibs4java.directx.d3d10.D3d10Library.D3D10_COUNTER;
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:900</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_COUNTER_INFO extends StructObject {
	/// C type : D3D10_COUNTER
	@Field(0) 
	public ValuedEnum<D3D10_COUNTER > LastDeviceDependentCounter() {
		return this.io.getEnumField(this, 0);
	}
	/// C type : D3D10_COUNTER
	@Field(0) 
	public D3D10_COUNTER_INFO LastDeviceDependentCounter(ValuedEnum<D3D10_COUNTER > LastDeviceDependentCounter) {
		this.io.setEnumField(this, 0, LastDeviceDependentCounter);
		return this;
	}
	@Field(1) 
	public int NumSimultaneousCounters() {
		return this.io.getIntField(this, 1);
	}
	@Field(1) 
	public D3D10_COUNTER_INFO NumSimultaneousCounters(int NumSimultaneousCounters) {
		this.io.setIntField(this, 1, NumSimultaneousCounters);
		return this;
	}
	/// C type : UINT8
	@Field(2) 
	public byte NumDetectableParallelUnits() {
		return this.io.getByteField(this, 2);
	}
	/// C type : UINT8
	@Field(2) 
	public D3D10_COUNTER_INFO NumDetectableParallelUnits(byte NumDetectableParallelUnits) {
		this.io.setByteField(this, 2, NumDetectableParallelUnits);
		return this;
	}
}
