Top Constructors Methods
org.lwjgl.opengl

pack-priv final Class GLChecks

extends Object
Class Inheritance
Static Imports
org.lwjgl.opengl.GL41.*, org.lwjgl.opengl.NVGPUShader5.*, org.lwjgl.system.APIUtil.*

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static int

Returns:

the parameter value
getTexLevelParameteri
(int
the texture object
texture
,
int
the texture target
target
,
int
the texture level
level
,
int
the parameter to query
pname
)

Queries the specified parameter of the specified texture object level.

pack-priv static int

Returns:

the number of bytes
typeToBytes
(int
the OpenGL type to translate
type
)

Returns the number of bytes required to store the specified OpenGL type.

pack-priv static int

Returns:

the number of bytes PoT value
typeToByteShift
(int
the OpenGL type to translate
type
)

Returns the power-of-two of the number of bytes required to store the specified OpenGL type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLChecksback to summary
private GLChecks()

Method Detail

getTexLevelParameteriback to summary
pack-priv static int getTexLevelParameteri(int texture, int target, int level, int pname)

Queries the specified parameter of the specified texture object level. If direct-state-access functionality is not available, the texture must be currently bound to the specified texture target.

Parameters
texture:int

the texture object

target:int

the texture target

level:int

the texture level

pname:int

the parameter to query

Returns:int

the parameter value

typeToBytesback to summary
pack-priv static int typeToBytes(int type)

Returns the number of bytes required to store the specified OpenGL type.

Parameters
type:int

the OpenGL type to translate

Returns:int

the number of bytes

typeToByteShiftback to summary
pack-priv static int typeToByteShift(int type)

Returns the power-of-two of the number of bytes required to store the specified OpenGL type.

Parameters
type:int

the OpenGL type to translate

Returns:int

the number of bytes PoT value