element TextureProperties
diagram x3d-3.3_diagrams/x3d-3.3_p224.png
type extension of X3DNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements GeneratedCubeMapTexture ImageCubeMapTexture
complexTypes X3DTexture2DNode X3DTexture3DNode
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
anisotropicDegree  derived by: SFFloat    1    
borderColor  SFColorRGBA    0 0 0 0    
borderWidth  derived by: SFInt32    0    
boundaryModeS  textureBoundaryModeChoices    REPEAT    
boundaryModeT  textureBoundaryModeChoices    REPEAT    
boundaryModeR  textureBoundaryModeChoices    REPEAT    
magnificationFilter  textureMagnificationModeChoices    FASTEST    
minificationFilter  textureMinificationModeChoices    FASTEST    
textureCompression  textureCompressionModeChoices    FASTEST    
texturePriority  derived by: SFFloat    0    
generateMipMaps  SFBool    false    
containerField  xs:NMTOKEN    textureProperties    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Texturing"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="TextureProperties">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Texturing"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#TextureProperties"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DNode">
       
<xs:attribute name="anisotropicDegree" default="1">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="borderColor" type="SFColorRGBA" default="0 0 0 0"/>
       
<xs:attribute name="borderWidth" default="0">
         
<xs:simpleType>
           
<xs:restriction base="SFInt32">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="boundaryModeS" type="textureBoundaryModeChoices" default="REPEAT"/>
       
<xs:attribute name="boundaryModeT" type="textureBoundaryModeChoices" default="REPEAT"/>
       
<xs:attribute name="boundaryModeR" type="textureBoundaryModeChoices" default="REPEAT"/>
       
<xs:attribute name="magnificationFilter" type="textureMagnificationModeChoices" default="FASTEST"/>
       
<xs:attribute name="minificationFilter" type="textureMinificationModeChoices" default="FASTEST"/>
       
<xs:attribute name="textureCompression" type="textureCompressionModeChoices" default="FASTEST"/>
       
<xs:attribute name="texturePriority" default="0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="generateMipMaps" type="SFBool" default="false"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="textureProperties"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute TextureProperties/@anisotropicDegree
type restriction of SFFloat
properties
default 1
facets
Kind Value Annotation
minInclusive 1
source <xs:attribute name="anisotropicDegree" default="1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute TextureProperties/@borderColor
type SFColorRGBA
properties
default 0 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)\s+){3}([+-]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="borderColor" type="SFColorRGBA" default="0 0 0 0"/>

attribute TextureProperties/@borderWidth
type restriction of SFInt32
properties
default 0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="borderWidth" default="0">
 
<xs:simpleType>
   
<xs:restriction base="SFInt32">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute TextureProperties/@boundaryModeS
type textureBoundaryModeChoices
properties
default REPEAT
facets
Kind Value Annotation
enumeration CLAMP
appinfo
Clamp texture coordinates to range [0,1]
enumeration CLAMP_TO_EDGE
appinfo
Clamp texture coordinates such that a border texel is never sampled
enumeration CLAMP_TO_BOUNDARY
appinfo
Clamp texture coordinates such that texture samples are border texels for fragments
enumeration MIRRORED_REPEAT
appinfo
Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE
enumeration REPEAT
appinfo
Repeat a texture across the fragment
source <xs:attribute name="boundaryModeS" type="textureBoundaryModeChoices" default="REPEAT"/>

attribute TextureProperties/@boundaryModeT
type textureBoundaryModeChoices
properties
default REPEAT
facets
Kind Value Annotation
enumeration CLAMP
appinfo
Clamp texture coordinates to range [0,1]
enumeration CLAMP_TO_EDGE
appinfo
Clamp texture coordinates such that a border texel is never sampled
enumeration CLAMP_TO_BOUNDARY
appinfo
Clamp texture coordinates such that texture samples are border texels for fragments
enumeration MIRRORED_REPEAT
appinfo
Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE
enumeration REPEAT
appinfo
Repeat a texture across the fragment
source <xs:attribute name="boundaryModeT" type="textureBoundaryModeChoices" default="REPEAT"/>

attribute TextureProperties/@boundaryModeR
type textureBoundaryModeChoices
properties
default REPEAT
facets
Kind Value Annotation
enumeration CLAMP
appinfo
Clamp texture coordinates to range [0,1]
enumeration CLAMP_TO_EDGE
appinfo
Clamp texture coordinates such that a border texel is never sampled
enumeration CLAMP_TO_BOUNDARY
appinfo
Clamp texture coordinates such that texture samples are border texels for fragments
enumeration MIRRORED_REPEAT
appinfo
Texture coordinates are mirrored and then clamped as in CLAMP_TO_EDGE
enumeration REPEAT
appinfo
Repeat a texture across the fragment
source <xs:attribute name="boundaryModeR" type="textureBoundaryModeChoices" default="REPEAT"/>

attribute TextureProperties/@magnificationFilter
type textureMagnificationModeChoices
properties
default FASTEST
facets
Kind Value Annotation
enumeration AVG_PIXEL
appinfo
weighted average of four texture elements closest to center of pixel being textured
enumeration DEFAULT
appinfo
browser-specified default magnification mode
enumeration FASTEST
appinfo
fastest method available
enumeration NEAREST_PIXEL
appinfo
texture element nearest to the center of pixel being textured
enumeration NICEST
appinfo
highest quality method available
source <xs:attribute name="magnificationFilter" type="textureMagnificationModeChoices" default="FASTEST"/>

attribute TextureProperties/@minificationFilter
type textureMinificationModeChoices
properties
default FASTEST
facets
Kind Value Annotation
enumeration AVG_PIXEL
appinfo
weighted average of four texture elements closest to center of pixel being textured
enumeration AVG_PIXEL_AVG_MIPMAP
appinfo
tri-linear mipmap filtering
enumeration AVG_PIXEL_NEAREST_MIPMAP
appinfo
choose mipmap that most closely matches size of pixel being textured, use weighted average of four texture elements closest to center of pixel
enumeration DEFAULT
appinfo
browser-specified default minification mode
enumeration FASTEST
appinfo
fastest method available, use mipmaps if possible
enumeration NEAREST_PIXEL
appinfo
texture element nearest to center of pixel being textured
enumeration NEAREST_PIXEL_AVG_MIPMAP
appinfo
texture element nearest to center of pixel being textured, use average of two nearest mipmaps
enumeration NEAREST_PIXEL_NEAREST_MIPMAP
appinfo
texture element nearest to center of pixel being textured, use nearest mipmap
enumeration NICEST
appinfo
highest quality method available
source <xs:attribute name="minificationFilter" type="textureMinificationModeChoices" default="FASTEST"/>

attribute TextureProperties/@textureCompression
type textureCompressionModeChoices
properties
default FASTEST
facets
Kind Value Annotation
enumeration DEFAULT
appinfo
browser-specified default compression mode
enumeration FASTEST
appinfo
fastest method available
enumeration HIGH
appinfo
greatest amount of compression
enumeration LOW
appinfo
least amount of compression
enumeration MEDIUM
appinfo
moderate amount of compressions
enumeration NICEST
appinfo
highest quality method available
source <xs:attribute name="textureCompression" type="textureCompressionModeChoices" default="FASTEST"/>

attribute TextureProperties/@texturePriority
type restriction of SFFloat
properties
default 0
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="texturePriority" default="0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute TextureProperties/@generateMipMaps
type SFBool
properties
default false
source <xs:attribute name="generateMipMaps" type="SFBool" default="false"/>

attribute TextureProperties/@containerField
type xs:NMTOKEN
properties
default textureProperties
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="textureProperties"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy