001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
006: //
007:
008: package org.collada.colladaschema;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlType;
017: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019:
020: /**
021: *
022: * Two-dimensional texture sampler state for profile_GLES. This is a bundle of sampler-specific states that will be referenced by one or more texture_units.
023: *
024: *
025: * <p>Java class for gles_sampler_state complex type.
026: *
027: * <p>The following schema fragment specifies the expected content contained within this class.
028: *
029: * <pre>
030: * <complexType name="gles_sampler_state">
031: * <complexContent>
032: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033: * <sequence>
034: * <element name="wrap_s" type="{http://www.collada.org/2005/11/COLLADASchema}gles_sampler_wrap" minOccurs="0"/>
035: * <element name="wrap_t" type="{http://www.collada.org/2005/11/COLLADASchema}gles_sampler_wrap" minOccurs="0"/>
036: * <element name="minfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
037: * <element name="magfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
038: * <element name="mipfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
039: * <element name="mipmap_maxlevel" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" minOccurs="0"/>
040: * <element name="mipmap_bias" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
041: * <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
042: * </sequence>
043: * <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
044: * </restriction>
045: * </complexContent>
046: * </complexType>
047: * </pre>
048: *
049: *
050: */
051: @XmlAccessorType(XmlAccessType.FIELD)
052: @XmlType(name="gles_sampler_state",propOrder={"wrapS","wrapT","minfilter","magfilter","mipfilter","mipmapMaxlevel","mipmapBias","extras"})
053: public class GlesSamplerState {
054:
055: @XmlElement(name="wrap_s",defaultValue="REPEAT")
056: protected GlesSamplerWrap wrapS;
057: @XmlElement(name="wrap_t",defaultValue="REPEAT")
058: protected GlesSamplerWrap wrapT;
059: @XmlElement(defaultValue="NONE")
060: protected FxSamplerFilterCommon minfilter;
061: @XmlElement(defaultValue="NONE")
062: protected FxSamplerFilterCommon magfilter;
063: @XmlElement(defaultValue="NONE")
064: protected FxSamplerFilterCommon mipfilter;
065: @XmlElement(name="mipmap_maxlevel",defaultValue="255")
066: protected Short mipmapMaxlevel;
067: @XmlElement(name="mipmap_bias",defaultValue="0.0")
068: protected Float mipmapBias;
069: @XmlElement(name="extra")
070: protected List<Extra> extras;
071: @XmlAttribute
072: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
073: protected String sid;
074:
075: /**
076: * Gets the value of the wrapS property.
077: *
078: * @return
079: * possible object is
080: * {@link GlesSamplerWrap }
081: *
082: */
083: public GlesSamplerWrap getWrapS() {
084: return wrapS;
085: }
086:
087: /**
088: * Sets the value of the wrapS property.
089: *
090: * @param value
091: * allowed object is
092: * {@link GlesSamplerWrap }
093: *
094: */
095: public void setWrapS(GlesSamplerWrap value) {
096: this .wrapS = value;
097: }
098:
099: /**
100: * Gets the value of the wrapT property.
101: *
102: * @return
103: * possible object is
104: * {@link GlesSamplerWrap }
105: *
106: */
107: public GlesSamplerWrap getWrapT() {
108: return wrapT;
109: }
110:
111: /**
112: * Sets the value of the wrapT property.
113: *
114: * @param value
115: * allowed object is
116: * {@link GlesSamplerWrap }
117: *
118: */
119: public void setWrapT(GlesSamplerWrap value) {
120: this .wrapT = value;
121: }
122:
123: /**
124: * Gets the value of the minfilter property.
125: *
126: * @return
127: * possible object is
128: * {@link FxSamplerFilterCommon }
129: *
130: */
131: public FxSamplerFilterCommon getMinfilter() {
132: return minfilter;
133: }
134:
135: /**
136: * Sets the value of the minfilter property.
137: *
138: * @param value
139: * allowed object is
140: * {@link FxSamplerFilterCommon }
141: *
142: */
143: public void setMinfilter(FxSamplerFilterCommon value) {
144: this .minfilter = value;
145: }
146:
147: /**
148: * Gets the value of the magfilter property.
149: *
150: * @return
151: * possible object is
152: * {@link FxSamplerFilterCommon }
153: *
154: */
155: public FxSamplerFilterCommon getMagfilter() {
156: return magfilter;
157: }
158:
159: /**
160: * Sets the value of the magfilter property.
161: *
162: * @param value
163: * allowed object is
164: * {@link FxSamplerFilterCommon }
165: *
166: */
167: public void setMagfilter(FxSamplerFilterCommon value) {
168: this .magfilter = value;
169: }
170:
171: /**
172: * Gets the value of the mipfilter property.
173: *
174: * @return
175: * possible object is
176: * {@link FxSamplerFilterCommon }
177: *
178: */
179: public FxSamplerFilterCommon getMipfilter() {
180: return mipfilter;
181: }
182:
183: /**
184: * Sets the value of the mipfilter property.
185: *
186: * @param value
187: * allowed object is
188: * {@link FxSamplerFilterCommon }
189: *
190: */
191: public void setMipfilter(FxSamplerFilterCommon value) {
192: this .mipfilter = value;
193: }
194:
195: /**
196: * Gets the value of the mipmapMaxlevel property.
197: *
198: * @return
199: * possible object is
200: * {@link Short }
201: *
202: */
203: public Short getMipmapMaxlevel() {
204: return mipmapMaxlevel;
205: }
206:
207: /**
208: * Sets the value of the mipmapMaxlevel property.
209: *
210: * @param value
211: * allowed object is
212: * {@link Short }
213: *
214: */
215: public void setMipmapMaxlevel(Short value) {
216: this .mipmapMaxlevel = value;
217: }
218:
219: /**
220: * Gets the value of the mipmapBias property.
221: *
222: * @return
223: * possible object is
224: * {@link Float }
225: *
226: */
227: public Float getMipmapBias() {
228: return mipmapBias;
229: }
230:
231: /**
232: * Sets the value of the mipmapBias property.
233: *
234: * @param value
235: * allowed object is
236: * {@link Float }
237: *
238: */
239: public void setMipmapBias(Float value) {
240: this .mipmapBias = value;
241: }
242:
243: /**
244: *
245: * The extra element may appear any number of times.
246: * OpenGL ES extensions may be used here.
247: * Gets the value of the extras property.
248: *
249: * <p>
250: * This accessor method returns a reference to the live list,
251: * not a snapshot. Therefore any modification you make to the
252: * returned list will be present inside the JAXB object.
253: * This is why there is not a <CODE>set</CODE> method for the extras property.
254: *
255: * <p>
256: * For example, to add a new item, do as follows:
257: * <pre>
258: * getExtras().add(newItem);
259: * </pre>
260: *
261: *
262: * <p>
263: * Objects of the following type(s) are allowed in the list
264: * {@link Extra }
265: *
266: *
267: */
268: public List<Extra> getExtras() {
269: if (extras == null) {
270: extras = new ArrayList<Extra>();
271: }
272: return this .extras;
273: }
274:
275: /**
276: * Gets the value of the sid property.
277: *
278: * @return
279: * possible object is
280: * {@link String }
281: *
282: */
283: public String getSid() {
284: return sid;
285: }
286:
287: /**
288: * Sets the value of the sid property.
289: *
290: * @param value
291: * allowed object is
292: * {@link String }
293: *
294: */
295: public void setSid(String value) {
296: this.sid = value;
297: }
298:
299: }
|