package com.nativelibs4java.directx.d3d10;
import com.nativelibs4java.directx.d3d10.D3d10Library.D3D10_COMPARISON_FUNC;
import com.nativelibs4java.directx.d3d10.D3d10Library.D3D10_DEPTH_WRITE_MASK;
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:202</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_DEPTH_STENCIL_DESC extends StructObject {
	@Field(0) 
	public int DepthEnable() {
		return this.io.getIntField(this, 0);
	}
	@Field(0) 
	public D3D10_DEPTH_STENCIL_DESC DepthEnable(int DepthEnable) {
		this.io.setIntField(this, 0, DepthEnable);
		return this;
	}
	/// C type : D3D10_DEPTH_WRITE_MASK
	@Field(1) 
	public ValuedEnum<D3D10_DEPTH_WRITE_MASK > DepthWriteMask() {
		return this.io.getEnumField(this, 1);
	}
	/// C type : D3D10_DEPTH_WRITE_MASK
	@Field(1) 
	public D3D10_DEPTH_STENCIL_DESC DepthWriteMask(ValuedEnum<D3D10_DEPTH_WRITE_MASK > DepthWriteMask) {
		this.io.setEnumField(this, 1, DepthWriteMask);
		return this;
	}
	/// C type : D3D10_COMPARISON_FUNC
	@Field(2) 
	public ValuedEnum<D3D10_COMPARISON_FUNC > DepthFunc() {
		return this.io.getEnumField(this, 2);
	}
	/// C type : D3D10_COMPARISON_FUNC
	@Field(2) 
	public D3D10_DEPTH_STENCIL_DESC DepthFunc(ValuedEnum<D3D10_COMPARISON_FUNC > DepthFunc) {
		this.io.setEnumField(this, 2, DepthFunc);
		return this;
	}
	@Field(3) 
	public int StencilEnable() {
		return this.io.getIntField(this, 3);
	}
	@Field(3) 
	public D3D10_DEPTH_STENCIL_DESC StencilEnable(int StencilEnable) {
		this.io.setIntField(this, 3, StencilEnable);
		return this;
	}
	/// C type : UINT8
	@Field(4) 
	public byte StencilReadMask() {
		return this.io.getByteField(this, 4);
	}
	/// C type : UINT8
	@Field(4) 
	public D3D10_DEPTH_STENCIL_DESC StencilReadMask(byte StencilReadMask) {
		this.io.setByteField(this, 4, StencilReadMask);
		return this;
	}
	/// C type : UINT8
	@Field(5) 
	public byte StencilWriteMask() {
		return this.io.getByteField(this, 5);
	}
	/// C type : UINT8
	@Field(5) 
	public D3D10_DEPTH_STENCIL_DESC StencilWriteMask(byte StencilWriteMask) {
		this.io.setByteField(this, 5, StencilWriteMask);
		return this;
	}
	/// C type : D3D10_DEPTH_STENCILOP_DESC
	@Field(6) 
	public D3D10_DEPTH_STENCILOP_DESC FrontFace() {
		return this.io.getNativeObjectField(this, 6);
	}
	/// C type : D3D10_DEPTH_STENCILOP_DESC
	@Field(7) 
	public D3D10_DEPTH_STENCILOP_DESC BackFace() {
		return this.io.getNativeObjectField(this, 7);
	}
}
