Class TestTexture

java.lang.Object
mgui.interfaces.shapes.util.TestTexture

public class TestTexture
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    int depth  
    int height  
    org.jogamp.java3d.TexCoordGeneration texgen2D  
    org.jogamp.java3d.TexCoordGeneration texgen3D  
    org.jogamp.java3d.Texture2D texture2D  
    org.jogamp.java3d.Texture3D texture3D  
    int width  
  • Constructor Summary

    Constructors
    Constructor Description
    TestTexture()  
  • Method Summary

    Modifier and Type Method Description
    org.jogamp.vecmath.TexCoord2f[] getTexCoords()  
    org.jogamp.vecmath.TexCoord2f[] getTexCoords​(Polygon2D s)  
    org.jogamp.vecmath.TexCoord3f[] getTexCoords3d​(int d)  
    org.jogamp.java3d.TexCoordGeneration getTexGen2D​(Shape3DInt s)  
    org.jogamp.java3d.TexCoordGeneration getTexGen3D​(Shape3DInt s)  
    void LoadTexture2D​(java.net.URL url)  
    void LoadTexture3D​(java.net.URL url)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public int width
    • height

      public int height
    • depth

      public int depth
    • texture2D

      public org.jogamp.java3d.Texture2D texture2D
    • texture3D

      public org.jogamp.java3d.Texture3D texture3D
    • texgen2D

      public org.jogamp.java3d.TexCoordGeneration texgen2D
    • texgen3D

      public org.jogamp.java3d.TexCoordGeneration texgen3D
  • Constructor Details

    • TestTexture

      public TestTexture()
  • Method Details

    • LoadTexture3D

      public void LoadTexture3D​(java.net.URL url)
    • LoadTexture2D

      public void LoadTexture2D​(java.net.URL url)
    • getTexGen3D

      public org.jogamp.java3d.TexCoordGeneration getTexGen3D​(Shape3DInt s)
    • getTexGen2D

      public org.jogamp.java3d.TexCoordGeneration getTexGen2D​(Shape3DInt s)
    • getTexCoords3d

      public org.jogamp.vecmath.TexCoord3f[] getTexCoords3d​(int d)
    • getTexCoords

      public org.jogamp.vecmath.TexCoord2f[] getTexCoords()
    • getTexCoords

      public org.jogamp.vecmath.TexCoord2f[] getTexCoords​(Polygon2D s)