org.collada._2005._11.colladaschema
Class GlesSamplerState

java.lang.Object
  extended by org.collada._2005._11.colladaschema.GlesSamplerState

public class GlesSamplerState
extends Object

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.

Java class for gles_sampler_state complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="gles_sampler_state">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="wrap_s" type="{http://www.collada.org/2005/11/COLLADASchema}gles_sampler_wrap" minOccurs="0"/>
         <element name="wrap_t" type="{http://www.collada.org/2005/11/COLLADASchema}gles_sampler_wrap" minOccurs="0"/>
         <element name="minfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
         <element name="magfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
         <element name="mipfilter" type="{http://www.collada.org/2005/11/COLLADASchema}fx_sampler_filter_common" minOccurs="0"/>
         <element name="mipmap_maxlevel" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" minOccurs="0"/>
         <element name="mipmap_bias" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
         <element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Extra> extra
           
protected  FxSamplerFilterCommon magfilter
           
protected  FxSamplerFilterCommon minfilter
           
protected  FxSamplerFilterCommon mipfilter
           
protected  Float mipmapBias
           
protected  Short mipmapMaxlevel
           
protected  String sid
           
protected  GlesSamplerWrap wrapS
           
protected  GlesSamplerWrap wrapT
           
 
Constructor Summary
GlesSamplerState()
           
 
Method Summary
 List<Extra> getExtra()
          The extra element may appear any number of times.
 FxSamplerFilterCommon getMagfilter()
          Gets the value of the magfilter property.
 FxSamplerFilterCommon getMinfilter()
          Gets the value of the minfilter property.
 FxSamplerFilterCommon getMipfilter()
          Gets the value of the mipfilter property.
 Float getMipmapBias()
          Gets the value of the mipmapBias property.
 Short getMipmapMaxlevel()
          Gets the value of the mipmapMaxlevel property.
 String getSid()
          Gets the value of the sid property.
 GlesSamplerWrap getWrapS()
          Gets the value of the wrapS property.
 GlesSamplerWrap getWrapT()
          Gets the value of the wrapT property.
 void setMagfilter(FxSamplerFilterCommon value)
          Sets the value of the magfilter property.
 void setMinfilter(FxSamplerFilterCommon value)
          Sets the value of the minfilter property.
 void setMipfilter(FxSamplerFilterCommon value)
          Sets the value of the mipfilter property.
 void setMipmapBias(Float value)
          Sets the value of the mipmapBias property.
 void setMipmapMaxlevel(Short value)
          Sets the value of the mipmapMaxlevel property.
 void setSid(String value)
          Sets the value of the sid property.
 void setWrapS(GlesSamplerWrap value)
          Sets the value of the wrapS property.
 void setWrapT(GlesSamplerWrap value)
          Sets the value of the wrapT property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrapS

protected GlesSamplerWrap wrapS

wrapT

protected GlesSamplerWrap wrapT

minfilter

protected FxSamplerFilterCommon minfilter

magfilter

protected FxSamplerFilterCommon magfilter

mipfilter

protected FxSamplerFilterCommon mipfilter

mipmapMaxlevel

protected Short mipmapMaxlevel

mipmapBias

protected Float mipmapBias

extra

protected List<Extra> extra

sid

protected String sid
Constructor Detail

GlesSamplerState

public GlesSamplerState()
Method Detail

getWrapS

public GlesSamplerWrap getWrapS()
Gets the value of the wrapS property.

Returns:
possible object is GlesSamplerWrap

setWrapS

public void setWrapS(GlesSamplerWrap value)
Sets the value of the wrapS property.

Parameters:
value - allowed object is GlesSamplerWrap

getWrapT

public GlesSamplerWrap getWrapT()
Gets the value of the wrapT property.

Returns:
possible object is GlesSamplerWrap

setWrapT

public void setWrapT(GlesSamplerWrap value)
Sets the value of the wrapT property.

Parameters:
value - allowed object is GlesSamplerWrap

getMinfilter

public FxSamplerFilterCommon getMinfilter()
Gets the value of the minfilter property.

Returns:
possible object is FxSamplerFilterCommon

setMinfilter

public void setMinfilter(FxSamplerFilterCommon value)
Sets the value of the minfilter property.

Parameters:
value - allowed object is FxSamplerFilterCommon

getMagfilter

public FxSamplerFilterCommon getMagfilter()
Gets the value of the magfilter property.

Returns:
possible object is FxSamplerFilterCommon

setMagfilter

public void setMagfilter(FxSamplerFilterCommon value)
Sets the value of the magfilter property.

Parameters:
value - allowed object is FxSamplerFilterCommon

getMipfilter

public FxSamplerFilterCommon getMipfilter()
Gets the value of the mipfilter property.

Returns:
possible object is FxSamplerFilterCommon

setMipfilter

public void setMipfilter(FxSamplerFilterCommon value)
Sets the value of the mipfilter property.

Parameters:
value - allowed object is FxSamplerFilterCommon

getMipmapMaxlevel

public Short getMipmapMaxlevel()
Gets the value of the mipmapMaxlevel property.

Returns:
possible object is Short

setMipmapMaxlevel

public void setMipmapMaxlevel(Short value)
Sets the value of the mipmapMaxlevel property.

Parameters:
value - allowed object is Short

getMipmapBias

public Float getMipmapBias()
Gets the value of the mipmapBias property.

Returns:
possible object is Float

setMipmapBias

public void setMipmapBias(Float value)
Sets the value of the mipmapBias property.

Parameters:
value - allowed object is Float

getExtra

public List<Extra> getExtra()
The extra element may appear any number of times. OpenGL ES extensions may be used here. Gets the value of the extra property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the extra property.

For example, to add a new item, do as follows:

    getExtra().add(newItem);
 

Objects of the following type(s) are allowed in the list Extra


getSid

public String getSid()
Gets the value of the sid property.

Returns:
possible object is String

setSid

public void setSid(String value)
Sets the value of the sid property.

Parameters:
value - allowed object is String

CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)