snakeprogram3d.display3d
Class QueryDevice

java.lang.Object
  extended by snakeprogram3d.display3d.QueryDevice

public class QueryDevice
extends java.lang.Object

Queries the system to see if texture3d properties are supported texture3DWidthMax texture3DDepthMax texture3DHeightMax texture3DAvailable textureNonPowerOfTwoAvailable


Field Summary
 int MAXD
           
 int MAXH
           
 int MAXW
           
 boolean nonpowersoftwo
           
 
Constructor Summary
QueryDevice()
           
 
Method Summary
static void main(java.lang.String[] args)
          Prints out the systems 3D capabilities.
 boolean test()
          Just a test for texture 3D in general.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nonpowersoftwo

public boolean nonpowersoftwo

MAXW

public int MAXW

MAXH

public int MAXH

MAXD

public int MAXD
Constructor Detail

QueryDevice

public QueryDevice()
Method Detail

test

public boolean test()
Just a test for texture 3D in general. Does not determine the current texture3d.

Returns:
teture3d support

main

public static void main(java.lang.String[] args)
Prints out the systems 3D capabilities.

Parameters:
args - - whatever usually comes in from the cmd line. it isn't used.