blob: 6395c8af150b9f19dd16949699250f785ce473fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* @(#) HardCodedTexture.java
* @(#) author: Ronald B. Cemer
* @(#) version: 1.0
*/
import java.io.*;
public interface HardCodedTexture
{
public void dispose();
/* GL_RGBA, etc. arg #3 in glTexImage2D() */
public int getComponents();
/* arg #4 in glTexImage2D() */
public int getWidth();
/* arg #5 in glTexImage2D() */
public int getHeight();
/* GL_RGBA, etc. arg #7 in glTexImage2D() */
public int getFormat();
/* GL_UNSIGNED_BYTE, etc. arg #8 in glTexImage2D() */
public int getType();
/* arg #9 in glTexImage2D() */
public byte[] getBits();
}
|