public class com.sun.javafx.sg.prism.NGPhongMaterial
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.sg.prism.NGPhongMaterial
super_class: java.lang.Object
{
private static final com.sun.prism.Image WHITE_1X1;
descriptor: Lcom/sun/prism/Image;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.prism.PhongMaterial material;
descriptor: Lcom/sun/prism/PhongMaterial;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.paint.Color diffuseColor;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0002) ACC_PRIVATE
private boolean diffuseColorDirty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.TextureMap diffuseMap;
descriptor: Lcom/sun/prism/TextureMap;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.paint.Color specularColor;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0002) ACC_PRIVATE
private boolean specularColorDirty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private float specularPower;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean specularPowerDirty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.TextureMap specularMap;
descriptor: Lcom/sun/prism/TextureMap;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.TextureMap bumpMap;
descriptor: Lcom/sun/prism/TextureMap;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.TextureMap selfIllumMap;
descriptor: Lcom/sun/prism/TextureMap;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
newarray 10
dup
iconst_0
iconst_m1
iastore
iconst_1
iconst_1
invokestatic com.sun.prism.Image.fromIntArgbPreData:([III)Lcom/sun/prism/Image;
putstatic com.sun.javafx.sg.prism.NGPhongMaterial.WHITE_1X1:Lcom/sun/prism/Image;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColorDirty:Z
2: aload 0
new com.sun.prism.TextureMap
dup
getstatic com.sun.prism.PhongMaterial$MapType.DIFFUSE:Lcom/sun/prism/PhongMaterial$MapType;
invokespecial com.sun.prism.TextureMap.<init>:(Lcom/sun/prism/PhongMaterial$MapType;)V
putfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
3: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColorDirty:Z
4: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPowerDirty:Z
5: aload 0
new com.sun.prism.TextureMap
dup
getstatic com.sun.prism.PhongMaterial$MapType.SPECULAR:Lcom/sun/prism/PhongMaterial$MapType;
invokespecial com.sun.prism.TextureMap.<init>:(Lcom/sun/prism/PhongMaterial$MapType;)V
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularMap:Lcom/sun/prism/TextureMap;
6: aload 0
new com.sun.prism.TextureMap
dup
getstatic com.sun.prism.PhongMaterial$MapType.BUMP:Lcom/sun/prism/PhongMaterial$MapType;
invokespecial com.sun.prism.TextureMap.<init>:(Lcom/sun/prism/PhongMaterial$MapType;)V
putfield com.sun.javafx.sg.prism.NGPhongMaterial.bumpMap:Lcom/sun/prism/TextureMap;
7: aload 0
new com.sun.prism.TextureMap
dup
getstatic com.sun.prism.PhongMaterial$MapType.SELF_ILLUM:Lcom/sun/prism/PhongMaterial$MapType;
invokespecial com.sun.prism.TextureMap.<init>:(Lcom/sun/prism/PhongMaterial$MapType;)V
putfield com.sun.javafx.sg.prism.NGPhongMaterial.selfIllumMap:Lcom/sun/prism/TextureMap;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
com.sun.prism.Material createMaterial(com.sun.prism.ResourceFactory);
descriptor: (Lcom/sun/prism/ResourceFactory;)Lcom/sun/prism/Material;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
ifnonnull 2
1: aload 0
aload 1
invokeinterface com.sun.prism.ResourceFactory.createPhongMaterial:()Lcom/sun/prism/PhongMaterial;
putfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.javafx.sg.prism.NGPhongMaterial.validate:(Lcom/sun/prism/ResourceFactory;)V
3: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 4 1 f Lcom/sun/prism/ResourceFactory;
MethodParameters:
Name Flags
f
private void validate(com.sun.prism.ResourceFactory);
descriptor: (Lcom/sun/prism/ResourceFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColorDirty:Z
ifeq 9
1: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
ifnull 7
2: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
3: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getRed:()F
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getGreen:()F
4: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getBlue:()F
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getAlpha:()F
5: invokeinterface com.sun.prism.PhongMaterial.setDiffuseColor:(FFFF)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
fconst_0
fconst_0
fconst_0
fconst_0
invokeinterface com.sun.prism.PhongMaterial.setDiffuseColor:(FFFF)V
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColorDirty:Z
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
invokevirtual com.sun.prism.TextureMap.isDirty:()Z
ifeq 13
10: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
invokevirtual com.sun.prism.TextureMap.getImage:()Lcom/sun/prism/Image;
ifnonnull 12
11: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
getstatic com.sun.javafx.sg.prism.NGPhongMaterial.WHITE_1X1:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.TextureMap.setImage:(Lcom/sun/prism/Image;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
invokeinterface com.sun.prism.PhongMaterial.setTextureMap:(Lcom/sun/prism/TextureMap;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.bumpMap:Lcom/sun/prism/TextureMap;
invokevirtual com.sun.prism.TextureMap.isDirty:()Z
ifeq 15
14: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.bumpMap:Lcom/sun/prism/TextureMap;
invokeinterface com.sun.prism.PhongMaterial.setTextureMap:(Lcom/sun/prism/TextureMap;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.selfIllumMap:Lcom/sun/prism/TextureMap;
invokevirtual com.sun.prism.TextureMap.isDirty:()Z
ifeq 17
16: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.selfIllumMap:Lcom/sun/prism/TextureMap;
invokeinterface com.sun.prism.PhongMaterial.setTextureMap:(Lcom/sun/prism/TextureMap;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularMap:Lcom/sun/prism/TextureMap;
invokevirtual com.sun.prism.TextureMap.isDirty:()Z
ifeq 19
18: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularMap:Lcom/sun/prism/TextureMap;
invokeinterface com.sun.prism.PhongMaterial.setTextureMap:(Lcom/sun/prism/TextureMap;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColorDirty:Z
ifne 20
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPowerDirty:Z
ifeq 29
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColor:Lcom/sun/prism/paint/Color;
ifnull 26
21: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getRed:()F
fstore 2
start local 2 22: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getGreen:()F
fstore 3
start local 3 23: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColor:Lcom/sun/prism/paint/Color;
invokevirtual com.sun.prism.paint.Color.getBlue:()F
fstore 4
start local 4 24: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
iconst_1
fload 2
fload 3
fload 4
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPower:F
invokeinterface com.sun.prism.PhongMaterial.setSpecularColor:(ZFFFF)V
end local 4 end local 3 end local 2 25: goto 27
26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.material:Lcom/sun/prism/PhongMaterial;
iconst_0
fconst_1
fconst_1
fconst_1
aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPower:F
invokeinterface com.sun.prism.PhongMaterial.setSpecularColor:(ZFFFF)V
27: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColorDirty:Z
28: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPowerDirty:Z
29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 30 1 f Lcom/sun/prism/ResourceFactory;
22 25 2 r F
23 25 3 g F
24 25 4 b F
MethodParameters:
Name Flags
f
public void setDiffuseColor(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.sun.prism.paint.Color
putfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
1: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColorDirty:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 diffuseColor Ljava/lang/Object;
MethodParameters:
Name Flags
diffuseColor
public void setSpecularColor(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.sun.prism.paint.Color
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColor:Lcom/sun/prism/paint/Color;
1: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularColorDirty:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 specularColor Ljava/lang/Object;
MethodParameters:
Name Flags
specularColor
public void setSpecularPower(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: fload 1
ldc 0.001
fcmpg
ifge 2
1: ldc 0.001
fstore 1
2: StackMap locals:
StackMap stack:
aload 0
fload 1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPower:F
3: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGPhongMaterial.specularPowerDirty:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 5 1 specularPower F
MethodParameters:
Name Flags
specularPower
public void setDiffuseMap(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
aload 1
checkcast com.sun.prism.Image
invokevirtual com.sun.prism.TextureMap.setImage:(Lcom/sun/prism/Image;)V
1: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseMap:Lcom/sun/prism/TextureMap;
iconst_1
invokevirtual com.sun.prism.TextureMap.setDirty:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 diffuseMap Ljava/lang/Object;
MethodParameters:
Name Flags
diffuseMap
public void setSpecularMap(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularMap:Lcom/sun/prism/TextureMap;
aload 1
checkcast com.sun.prism.Image
invokevirtual com.sun.prism.TextureMap.setImage:(Lcom/sun/prism/Image;)V
1: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.specularMap:Lcom/sun/prism/TextureMap;
iconst_1
invokevirtual com.sun.prism.TextureMap.setDirty:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 specularMap Ljava/lang/Object;
MethodParameters:
Name Flags
specularMap
public void setBumpMap(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.bumpMap:Lcom/sun/prism/TextureMap;
aload 1
checkcast com.sun.prism.Image
invokevirtual com.sun.prism.TextureMap.setImage:(Lcom/sun/prism/Image;)V
1: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.bumpMap:Lcom/sun/prism/TextureMap;
iconst_1
invokevirtual com.sun.prism.TextureMap.setDirty:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 bumpMap Ljava/lang/Object;
MethodParameters:
Name Flags
bumpMap
public void setSelfIllumMap(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.selfIllumMap:Lcom/sun/prism/TextureMap;
aload 1
checkcast com.sun.prism.Image
invokevirtual com.sun.prism.TextureMap.setImage:(Lcom/sun/prism/Image;)V
1: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.selfIllumMap:Lcom/sun/prism/TextureMap;
iconst_1
invokevirtual com.sun.prism.TextureMap.setDirty:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
0 3 1 selfIllumMap Ljava/lang/Object;
MethodParameters:
Name Flags
selfIllumMap
com.sun.prism.paint.Color test_getDiffuseColor();
descriptor: ()Lcom/sun/prism/paint/Color;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.sg.prism.NGPhongMaterial.diffuseColor:Lcom/sun/prism/paint/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/sg/prism/NGPhongMaterial;
}
SourceFile: "NGPhongMaterial.java"
InnerClasses:
public final MapType = com.sun.prism.PhongMaterial$MapType of com.sun.prism.PhongMaterial