| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext | |
| pack-priv static int | |
| private final TextureMap[] | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static MTLPhongMaterial | |
| public void | dispose()
Implements abstract com. Implements com.
|
| public int | |
| pack-priv long | |
| public boolean | isValid()
Overrides com. Implements com.
|
| public void | |
| public void | setDiffuseColor(float r, float g, float b, float a)
Implements com.
|
| public void | setSpecularColor(boolean set, float r, float g, float b, float a)
Implements com.
|
| public void | |
| private Texture | |
| public void |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| count | back to summary |
|---|---|
| pack-priv static int count | |
| maps | back to summary |
|---|---|
| private final TextureMap[] maps | |
| nativeHandle | back to summary |
|---|---|
| private final long nativeHandle | |
| MTLPhongMaterial | back to summary |
|---|---|
| private MTLPhongMaterial(MTLContext context, long nativeHandle, Disposer. | |
| create | back to summary |
|---|---|
| pack-priv static MTLPhongMaterial create(MTLContext context) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements abstract com. Implements com.
| |
| getCount | back to summary |
|---|---|
| public int getCount() | |
| getNativeHandle | back to summary |
|---|---|
| pack-priv long getNativeHandle() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Overrides com. Implements com.
| |
| lockTextureMaps | back to summary |
|---|---|
| public void lockTextureMaps() Implements com.
| |
| setDiffuseColor | back to summary |
|---|---|
| public void setDiffuseColor(float r, float g, float b, float a) Implements com.
| |
| setSpecularColor | back to summary |
|---|---|
| public void setSpecularColor(boolean set, float r, float g, float b, float a) Implements com.
| |
| setTextureMap | back to summary |
|---|---|
| public void setTextureMap(TextureMap map) Implements com.
| |
| setupTexture | back to summary |
|---|---|
| private Texture setupTexture(TextureMap map, boolean useMipmap) | |
| unlockTextureMaps | back to summary |
|---|---|
| public void unlockTextureMaps() Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| nativeHandle | back to summary |
|---|---|
| private long nativeHandle | |
| MTLPhongMaterialDisposerRecord | back to summary |
|---|---|
| pack-priv MTLPhongMaterialDisposerRecord(MTLContext context, long nativeHandle) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com.
| |
| traceDispose | back to summary |
|---|---|
| pack-priv void traceDispose() | |