| Modifier and Type | Field and Description |
|---|---|
| private float | angle
angle of quad |
| private float | angleRotation
degrees to rotate per frame |
| private static final float | MAX_SPEED
Max speed of all changable attributes |
| private DisplayMode | mode
Intended deiplay mode |
| private static Pbuffer | pbuffer
Pbuffer instance |
| private Vector2f | quadPosition
our quad moving around |
| private Vector2f | quadVelocity
our quadVelocity |
| private static int | tex_handle
The shared texture |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | |
| private DisplayMode | findDisplayMode(int
Required width width, int Required height height, int Minimum required bits per pixel bpp)Retrieves a displaymode, if one such is available |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public static void | |
| private void | |
| private void | |
| private void |
| angle | back to summary |
|---|---|
| private float angle angle of quad | |
| angleRotation | back to summary |
|---|---|
| private float angleRotation degrees to rotate per frame | |
| MAX_SPEED | back to summary |
|---|---|
| private static final float MAX_SPEED Max speed of all changable attributes | |
| mode | back to summary |
|---|---|
| private DisplayMode mode Intended deiplay mode | |
| pbuffer | back to summary |
|---|---|
| private static Pbuffer pbuffer Pbuffer instance | |
| quadPosition | back to summary |
|---|---|
| private Vector2f quadPosition our quad moving around | |
| quadVelocity | back to summary |
|---|---|
| private Vector2f quadVelocity our quadVelocity | |
| tex_handle | back to summary |
|---|---|
| private static int tex_handle The shared texture | |
| PbufferTest | back to summary |
|---|---|
| public PbufferTest() | |
| cleanup | back to summary |
|---|---|
| private void cleanup() Cleans up the test | |
| destroyTexture | back to summary |
|---|---|
| private void destroyTexture() | |
| execute | back to summary |
|---|---|
| public void execute() Executes the test | |
| findDisplayMode | back to summary |
|---|---|
| private DisplayMode findDisplayMode(int width, int height, int bpp) throws LWJGLException Retrieves a displaymode, if one such is available
| |
| glInit | back to summary |
|---|---|
| private void glInit() Initializes OGL | |
| initGLState | back to summary |
|---|---|
| private void initGLState(int width, int height, float color) | |
| initialize | back to summary |
|---|---|
| private void initialize() Initializes the test | |
| initPbuffer | back to summary |
|---|---|
| private void initPbuffer() | |
| logic | back to summary |
|---|---|
| private void logic() Performs the logic | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Test entry point | |
| mainLoop | back to summary |
|---|---|
| private void mainLoop() Runs the main loop of the "test" | |
| processKeyboard | back to summary |
|---|---|
| private void processKeyboard() Processes keyboard input | |
| render | back to summary |
|---|---|
| private void render() | |