PACK for GPU to CPU transfers, e.g. ReadPixels, etc.
UNPACK for CPU o GPU transfers, e.g. TexImage2D, etc
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final int[] | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | resetAll(final GL gl)
Resets PACK and UNPACK pixel storage modes to their default value,
i.e. issues |
| public final void | |
| public final void | |
| public final void | restore(final GL gl)
Restores PACK and UNPACK pixel storage mode previously saved w/ |
| private final void | |
| private final void | |
| public final void | saveAll(final GL gl)
Saves PACK and UNPACK pixel storage modes and |
| public final void | |
| public final void | |
| public final void | setAlignment(final GL gl, final int packAlignment, final int unpackAlignment)
Sets the |
| public final void | |
| public final void | |
| public final void | setRowLength(final GL2ES3 gl, final int packRowLength, final int unpackRowLength)
Sets the |
| public final void | |
| public final void |
| cachePack | back to summary |
|---|---|
| private final int[] cachePack | |
| cacheUnpack | back to summary |
|---|---|
| private final int[] cacheUnpack | |
| savedPack | back to summary |
|---|---|
| private boolean savedPack | |
| savedUnpack | back to summary |
|---|---|
| private boolean savedUnpack | |
| GLPixelStorageModes | back to summary |
|---|---|
| public GLPixelStorageModes() Create instance w/o | |
| GLPixelStorageModes | back to summary |
|---|---|
| public GLPixelStorageModes(final GL gl) Create instance w/ | |
| resetAll | back to summary |
|---|---|
| public final void resetAll(final GL gl) Resets PACK and UNPACK pixel storage modes to their default value,
i.e. issues | |
| resetPack | back to summary |
|---|---|
| public final void resetPack(final GL gl) Resets PACK pixel storage modes to their default value. | |
| resetUnpack | back to summary |
|---|---|
| public final void resetUnpack(final GL gl) Resets UNPACK pixel storage modes to their default value. | |
| restore | back to summary |
|---|---|
| public final void restore(final GL gl) throws GLException Restores PACK and UNPACK pixel storage mode previously saved w/
| |
| restorePack | back to summary |
|---|---|
| private final void restorePack(final GL gl) | |
| restoreUnpack | back to summary |
|---|---|
| private final void restoreUnpack(final GL gl) | |
| saveAll | back to summary |
|---|---|
| public final void saveAll(final GL gl) Saves PACK and UNPACK pixel storage modes and Operation is skipped, if the modes were already saved.
Restore via | |
| savePack | back to summary |
|---|---|
| public final void savePack(final GL gl) Saves PACK pixel storage modes and Operation is skipped, if the modes were already saved.
Restore via | |
| saveUnpack | back to summary |
|---|---|
| public final void saveUnpack(final GL gl) Saves UNPACK pixel storage modes and Operation is skipped, if the modes were already saved.
Restore via | |
| setAlignment | back to summary |
|---|---|
| public final void setAlignment(final GL gl, final int packAlignment, final int unpackAlignment) Sets the
Saves the PACK and UNPACK pixel storage modes and resets them if not saved yet, see | |
| setPackAlignment | back to summary |
|---|---|
| public final void setPackAlignment(final GL gl, final int packAlignment) Sets the
Saves the PACK pixel storage modes and | |
| setPackRowLength | back to summary |
|---|---|
| public final void setPackRowLength(final GL2ES3 gl, final int packRowLength) Sets the
Saves the PACK pixel storage modes and | |
| setRowLength | back to summary |
|---|---|
| public final void setRowLength(final GL2ES3 gl, final int packRowLength, final int unpackRowLength) Sets the
Saves the PACK and UNPACK pixel storage modes and resets them if not saved yet, see | |
| setUnpackAlignment | back to summary |
|---|---|
| public final void setUnpackAlignment(final GL gl, final int unpackAlignment) Sets the
Saves the UNPACK pixel storage modes and | |
| setUnpackRowLength | back to summary |
|---|---|
| public final void setUnpackRowLength(final GL2ES3 gl, final int unpackRowLength) Sets the
Saves the UNPACK pixel storage modes and | |