PixelFormat
Inheritance: java.lang.Object, java.lang.Enum
public enum PixelFormat extends Enum<PixelFormat>
Il formato del pixel utilizzato nell’unità di texture.
Campi
| Campo | Descrizione |
|---|---|
| A1R5G5B5 | Formato pixel a 16 bit, 5 bit per blu, verde, rosso e 1 per alfa. |
| A2B10G10R10 | Formato pixel a 32 bit, 10 bit per blu, verde e rosso, 2 bit per alfa. |
| A2R10G10B10 | Formato pixel a 32 bit, 2 bit per alfa, 10 bit per rosso, verde e blu. |
| A4L4 | Formato pixel a 8 bit, 4 bit alfa, 4 bit luminanza. |
| A4R4G4B4 | Formato pixel a 16 bit, 4 bit per alfa, rosso, verde e blu. |
| A8 | Formato pixel a 8 bit, tutti i bit alfa. |
| A8B8G8R8 | Formato pixel a 32 bit, 8 bit per blu, verde, rosso e alfa. |
| A8R8G8B8 | Formato pixel a 32 bit, 8 bit per alfa, rosso, verde e blu. |
| B5G6R5 | Formato pixel a 16 bit, 5 bit rosso, 6 bit verde, 5 bit blu. |
| B8 | Formato pixel a 8 bit, tutti i bit blu. |
| B8G8R8 | Formato pixel a 24 bit, 8 bit per blu, verde e rosso. |
| B8G8R8A8 | Formato pixel a 32 bit, 8 bit per blu, verde, rosso e alfa. |
| BYTE_LA | Formato pixel a 2 byte, 1 byte luminanza, 1 byte alfa |
| DEPTH | Formato texture di profondità. |
| DXT1 | Formato DDS (DirectDraw Surface) DXT1. |
| DXT2 | Formato DDS (DirectDraw Surface) DXT2. |
| DXT3 | Formato DDS (DirectDraw Surface) DXT3. |
| DXT4 | Formato DDS (DirectDraw Surface) DXT4. |
| DXT5 | Formato DDS (DirectDraw Surface) DXT5. |
| FLOAT16_GR | Formato pixel a 32 bit, 2 canali, 16 bit verde, 16 bit rosso |
| FLOAT16_R | Formato pixel a 16 bit, 16 bit (float) per il rosso |
| FLOAT16_RGB | Formato pixel a 48 bit, 16 bit (float) per il rosso, 16 bit (float) per il verde, 16 bit (float) per il blu |
| FLOAT16_RGBA | Formato pixel a 64 bit, 16 bit (float) per il rosso, 16 bit (float) per il verde, 16 bit (float) per il blu, 16 bit (float) per l’alpha |
| FLOAT32_GR | Formato pixel a virgola mobile a 64 bit, 2 canali, 32 bit verde, 32 bit rosso |
| FLOAT32_R | Formato pixel a 32 bit, 32 bit (float) per il rosso |
| FLOAT32_RGB | Formato pixel a 96 bit, 32 bit (float) per il rosso, 32 bit (float) per il verde, 32 bit (float) per il blu |
| FLOAT32_RGBA | Formato pixel a 128 bit, 32 bit (float) per il rosso, 32 bit (float) per il verde, 32 bit (float) per il blu, 32 bit (float) per l’alpha |
| G8 | Formato pixel a 8 bit, tutti i bit verde. |
| L16 | Formato pixel a 16 bit, tutti i bit luminanza. |
| L8 | Formato pixel a 8 bit, tutti i bit luminanza. |
| R32G32B32A32_UINT | Formato pixel a 128 bit, 32 bit rosso (unsigned int), 32 bit blu (unsigned int), 32 bit verde (unsigned int), 32 bit alpha (unsigned int). |
| R32G32_UINT | Formato pixel a 64 bit, 32 bit rosso (unsigned int), 32 bit blu (unsigned int). |
| R32_UINT | Formato pixel a 32 bit, 32 bit rosso (unsigned int). |
| R3G3B2 | Formato pixel a 8 bit, 2 bit blu, 3 bit verde, 3 bit rosso. |
| R5G6B5 | Formato pixel a 16 bit, 5 bit rosso, 6 bit verde, 5 bit blu. |
| R8 | Formato pixel a 8 bit, tutti i bit rosso. |
| R8G8B8 | Formato pixel a 24 bit, 8 bit per rosso, verde e blu. |
| R8G8B8A8 | Formato pixel a 32 bit, 8 bit per rosso, verde, blu e alpha. |
| SHORT_GR | Formato pixel a 32 bit, 16 bit verde, 16 bit rosso |
| SHORT_RGB | Formato pixel a 48 bit, 16 bit per rosso, verde e blu |
| SHORT_RGBA | Formato pixel a 64 bit, 16 bit per rosso, verde, blu e alpha |
| UNKNOWN | Formato pixel sconosciuto. |
| X8B8G8R8 | Formato pixel a 32 bit, 8 bit per blu, 8 bit per verde, 8 bit per rosso come A8B8G8R8, ma l’alpha verrà scartato |
| X8R8G8B8 | Formato pixel a 32 bit, 8 bit per rosso, 8 bit per verde, 8 bit per blu come A8R8G8B8, ma l’alpha verrà scartato |
Metodi
A1R5G5B5
public static final PixelFormat A1R5G5B5
Formato pixel a 16 bit, 5 bit per blu, verde, rosso e 1 per alfa.
A2B10G10R10
public static final PixelFormat A2B10G10R10
Formato pixel a 32 bit, 10 bit per blu, verde e rosso, 2 bit per alfa.
A2R10G10B10
public static final PixelFormat A2R10G10B10
Formato pixel a 32 bit, 2 bit per alfa, 10 bit per rosso, verde e blu.
A4L4
public static final PixelFormat A4L4
Formato pixel a 8 bit, 4 bit alfa, 4 bit luminanza.
A4R4G4B4
public static final PixelFormat A4R4G4B4
Formato pixel a 16 bit, 4 bit per alfa, rosso, verde e blu.
A8
public static final PixelFormat A8
Formato pixel a 8 bit, tutti i bit alfa.
A8B8G8R8
public static final PixelFormat A8B8G8R8
Formato pixel a 32 bit, 8 bit per blu, verde, rosso e alfa.
A8R8G8B8
public static final PixelFormat A8R8G8B8
Formato pixel a 32 bit, 8 bit per alfa, rosso, verde e blu.
B5G6R5
public static final PixelFormat B5G6R5
Formato pixel a 16 bit, 5 bit rosso, 6 bit verde, 5 bit blu.
B8
public static final PixelFormat B8
Formato pixel a 8 bit, tutti i bit blu.
B8G8R8
public static final PixelFormat B8G8R8
Formato pixel a 24 bit, 8 bit per blu, verde e rosso.
B8G8R8A8
public static final PixelFormat B8G8R8A8
Formato pixel a 32 bit, 8 bit per blu, verde, rosso e alfa.
BYTE_LA
public static final PixelFormat BYTE_LA
Formato pixel a 2 byte, 1 byte luminanza, 1 byte alfa
DEPTH
public static final PixelFormat DEPTH
Formato texture di profondità.
DXT1
public static final PixelFormat DXT1
Formato DDS (DirectDraw Surface) DXT1.
DXT2
public static final PixelFormat DXT2
Formato DDS (DirectDraw Surface) DXT2.
DXT3
public static final PixelFormat DXT3
Formato DDS (DirectDraw Surface) DXT3.
DXT4
public static final PixelFormat DXT4
Formato DDS (DirectDraw Surface) DXT4.
DXT5
public static final PixelFormat DXT5
Formato DDS (DirectDraw Surface) DXT5.
FLOAT16_GR
public static final PixelFormat FLOAT16_GR
Formato pixel a 32 bit, 2 canali, 16 bit verde, 16 bit rosso
FLOAT16_R
public static final PixelFormat FLOAT16_R
Formato pixel a 16 bit, 16 bit (float) per il rosso
FLOAT16_RGB
public static final PixelFormat FLOAT16_RGB
Formato pixel a 48 bit, 16 bit (float) per il rosso, 16 bit (float) per il verde, 16 bit (float) per il blu
FLOAT16_RGBA
public static final PixelFormat FLOAT16_RGBA
Formato pixel a 64 bit, 16 bit (float) per il rosso, 16 bit (float) per il verde, 16 bit (float) per il blu, 16 bit (float) per l’alpha
FLOAT32_GR
public static final PixelFormat FLOAT32_GR
Formato pixel a virgola mobile a 64 bit, 2 canali, 32 bit verde, 32 bit rosso
FLOAT32_R
public static final PixelFormat FLOAT32_R
Formato pixel a 32 bit, 32 bit (float) per il rosso
FLOAT32_RGB
public static final PixelFormat FLOAT32_RGB
Formato pixel a 96 bit, 32 bit (float) per il rosso, 32 bit (float) per il verde, 32 bit (float) per il blu
FLOAT32_RGBA
public static final PixelFormat FLOAT32_RGBA
Formato pixel a 128 bit, 32 bit (float) per il rosso, 32 bit (float) per il verde, 32 bit (float) per il blu, 32 bit (float) per l’alpha
G8
public static final PixelFormat G8
Formato pixel a 8 bit, tutti i bit verde.
L16
public static final PixelFormat L16
Formato pixel a 16 bit, tutti i bit luminanza.
L8
public static final PixelFormat L8
Formato pixel a 8 bit, tutti i bit luminanza.
R32G32B32A32_UINT
public static final PixelFormat R32G32B32A32_UINT
Formato pixel a 128 bit, 32 bit rosso (unsigned int), 32 bit blu (unsigned int), 32 bit verde (unsigned int), 32 bit alpha (unsigned int).
R32G32_UINT
public static final PixelFormat R32G32_UINT
Formato pixel a 64 bit, 32 bit rosso (unsigned int), 32 bit blu (unsigned int).
R32_UINT
public static final PixelFormat R32_UINT
Formato pixel a 32 bit, 32 bit rosso (unsigned int).
R3G3B2
public static final PixelFormat R3G3B2
Formato pixel a 8 bit, 2 bit blu, 3 bit verde, 3 bit rosso.
R5G6B5
public static final PixelFormat R5G6B5
Formato pixel a 16 bit, 5 bit rosso, 6 bit verde, 5 bit blu.
R8
public static final PixelFormat R8
Formato pixel a 8 bit, tutti i bit rosso.
R8G8B8
public static final PixelFormat R8G8B8
Formato pixel a 24 bit, 8 bit per rosso, verde e blu.
R8G8B8A8
public static final PixelFormat R8G8B8A8
Formato pixel a 32 bit, 8 bit per rosso, verde, blu e alpha.
SHORT_GR
public static final PixelFormat SHORT_GR
Formato pixel a 32 bit, 16 bit verde, 16 bit rosso
SHORT_RGB
public static final PixelFormat SHORT_RGB
Formato pixel a 48 bit, 16 bit per rosso, verde e blu
SHORT_RGBA
public static final PixelFormat SHORT_RGBA
Formato pixel a 64 bit, 16 bit per rosso, verde, blu e alpha
UNKNOWN
public static final PixelFormat UNKNOWN
Formato pixel sconosciuto.
X8B8G8R8
public static final PixelFormat X8B8G8R8
Formato pixel a 32 bit, 8 bit per blu, 8 bit per verde, 8 bit per rosso come A8B8G8R8, ma l’alpha verrà scartato
X8R8G8B8
public static final PixelFormat X8R8G8B8
Formato pixel a 32 bit, 8 bit per rosso, 8 bit per verde, 8 bit per blu come A8R8G8B8, ma l’alpha verrà scartato
valueOf(Class arg0, String arg1)
public static T <T>valueOf(Class<T> arg0, String arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Class | |
| arg1 | java.lang.String |
Returns: T
compareTo(E arg0)
public final int compareTo(E arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | E |
Returns: int
describeConstable()
public final Optional<Enum.EnumDesc<E>> describeConstable()
Returns:
java.util.Optional<java.lang.Enum.EnumDesc
equals(Object arg0)
public final boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDeclaringClass()
public final Class<E> getDeclaringClass()
Returns:
java.lang.Class
hashCode()
public final int hashCode()
Returns: int
name()
public final String name()
Returns: java.lang.String
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
ordinal()
public final int ordinal()
Returns: int
toString()
public String toString()
Returns: java.lang.String
valueOf(String name)
public static PixelFormat valueOf(String name)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String |
Returns: PixelFormat
values()
public static PixelFormat[] values()
Returns: com.aspose.threed.PixelFormat[]
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |