class com.sun.prism.d3d.D3DPhongMaterial extends com.sun.prism.impl.BaseGraphicsResource implements com.sun.prism.PhongMaterial
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.prism.d3d.D3DPhongMaterial
  super_class: com.sun.prism.impl.BaseGraphicsResource
{
  static int count;
    descriptor: I
    flags: (0x0008) ACC_STATIC

  private final com.sun.prism.d3d.D3DContext context;
    descriptor: Lcom/sun/prism/d3d/D3DContext;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long nativeHandle;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private com.sun.prism.TextureMap[] maps;
    descriptor: [Lcom/sun/prism/TextureMap;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 41
            iconst_0
            putstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>(com.sun.prism.d3d.D3DContext, long, com.sun.prism.impl.Disposer$Record);
    descriptor: (Lcom/sun/prism/d3d/D3DContext;JLcom/sun/prism/impl/Disposer$Record;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
        start local 1 // com.sun.prism.d3d.D3DContext context
        start local 2 // long nativeHandle
        start local 4 // com.sun.prism.impl.Disposer$Record disposerRecord
         0: .line 49
            aload 0 /* this */
            aload 4 /* disposerRecord */
            invokespecial com.sun.prism.impl.BaseGraphicsResource.<init>:(Lcom/sun/prism/impl/Disposer$Record;)V
         1: .line 45
            aload 0 /* this */
            getstatic com.sun.prism.d3d.D3DPhongMaterial.MAX_MAP_TYPE:I
            anewarray com.sun.prism.TextureMap
            putfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
         2: .line 50
            aload 0 /* this */
            aload 1 /* context */
            putfield com.sun.prism.d3d.D3DPhongMaterial.context:Lcom/sun/prism/d3d/D3DContext;
         3: .line 51
            aload 0 /* this */
            lload 2 /* nativeHandle */
            putfield com.sun.prism.d3d.D3DPhongMaterial.nativeHandle:J
         4: .line 52
            getstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
            iconst_1
            iadd
            putstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
         5: .line 53
            return
        end local 4 // com.sun.prism.impl.Disposer$Record disposerRecord
        end local 2 // long nativeHandle
        end local 1 // com.sun.prism.d3d.D3DContext context
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0            this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            0    6     1         context  Lcom/sun/prism/d3d/D3DContext;
            0    6     2    nativeHandle  J
            0    6     4  disposerRecord  Lcom/sun/prism/impl/Disposer$Record;
    MethodParameters:
                Name  Flags
      context         
      nativeHandle    
      disposerRecord  

  static com.sun.prism.d3d.D3DPhongMaterial create(com.sun.prism.d3d.D3DContext);
    descriptor: (Lcom/sun/prism/d3d/D3DContext;)Lcom/sun/prism/d3d/D3DPhongMaterial;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=10, locals=3, args_size=1
        start local 0 // com.sun.prism.d3d.D3DContext context
         0: .line 56
            aload 0 /* context */
            invokevirtual com.sun.prism.d3d.D3DContext.createD3DPhongMaterial:()J
            lstore 1 /* nativeHandle */
        start local 1 // long nativeHandle
         1: .line 57
            new com.sun.prism.d3d.D3DPhongMaterial
            dup
            aload 0 /* context */
            lload 1 /* nativeHandle */
            new com.sun.prism.d3d.D3DPhongMaterial$D3DPhongMaterialDisposerRecord
            dup
            aload 0 /* context */
            lload 1 /* nativeHandle */
            invokespecial com.sun.prism.d3d.D3DPhongMaterial$D3DPhongMaterialDisposerRecord.<init>:(Lcom/sun/prism/d3d/D3DContext;J)V
            invokespecial com.sun.prism.d3d.D3DPhongMaterial.<init>:(Lcom/sun/prism/d3d/D3DContext;JLcom/sun/prism/impl/Disposer$Record;)V
            areturn
        end local 1 // long nativeHandle
        end local 0 // com.sun.prism.d3d.D3DContext context
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0       context  Lcom/sun/prism/d3d/D3DContext;
            1    2     1  nativeHandle  J
    MethodParameters:
         Name  Flags
      context  

  long getNativeHandle();
    descriptor: ()J
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
         0: .line 61
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.nativeHandle:J
            lreturn
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;

  public void setDiffuseColor(float, float, float, float);
    descriptor: (FFFF)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=5
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
        start local 1 // float r
        start local 2 // float g
        start local 3 // float b
        start local 4 // float a
         0: .line 66
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.context:Lcom/sun/prism/d3d/D3DContext;
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.nativeHandle:J
            fload 1 /* r */
            fload 2 /* g */
            fload 3 /* b */
            fload 4 /* a */
            invokevirtual com.sun.prism.d3d.D3DContext.setDiffuseColor:(JFFFF)V
         1: .line 67
            return
        end local 4 // float a
        end local 3 // float b
        end local 2 // float g
        end local 1 // float r
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            0    2     1     r  F
            0    2     2     g  F
            0    2     3     b  F
            0    2     4     a  F
    MethodParameters:
      Name  Flags
      r     
      g     
      b     
      a     

  public void setSpecularColor(boolean, float, float, float, float);
    descriptor: (ZFFFF)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=6, args_size=6
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
        start local 1 // boolean set
        start local 2 // float r
        start local 3 // float g
        start local 4 // float b
        start local 5 // float a
         0: .line 71
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.context:Lcom/sun/prism/d3d/D3DContext;
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.nativeHandle:J
            iload 1 /* set */
            fload 2 /* r */
            fload 3 /* g */
            fload 4 /* b */
            fload 5 /* a */
            invokevirtual com.sun.prism.d3d.D3DContext.setSpecularColor:(JZFFFF)V
         1: .line 72
            return
        end local 5 // float a
        end local 4 // float b
        end local 3 // float g
        end local 2 // float r
        end local 1 // boolean set
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            0    2     1   set  Z
            0    2     2     r  F
            0    2     3     g  F
            0    2     4     b  F
            0    2     5     a  F
    MethodParameters:
      Name  Flags
      set   
      r     
      g     
      b     
      a     

  public void setTextureMap(com.sun.prism.TextureMap);
    descriptor: (Lcom/sun/prism/TextureMap;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
        start local 1 // com.sun.prism.TextureMap map
         0: .line 76
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            aload 1 /* map */
            invokevirtual com.sun.prism.TextureMap.getType:()Lcom/sun/prism/PhongMaterial$MapType;
            invokevirtual com.sun.prism.PhongMaterial$MapType.ordinal:()I
            aload 1 /* map */
            aastore
         1: .line 77
            return
        end local 1 // com.sun.prism.TextureMap map
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            0    2     1   map  Lcom/sun/prism/TextureMap;
    MethodParameters:
      Name  Flags
      map   

  private com.sun.prism.Texture setupTexture(com.sun.prism.TextureMap, boolean);
    descriptor: (Lcom/sun/prism/TextureMap;Z)Lcom/sun/prism/Texture;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
        start local 1 // com.sun.prism.TextureMap map
        start local 2 // boolean useMipmap
         0: .line 80
            aload 1 /* map */
            invokevirtual com.sun.prism.TextureMap.getImage:()Lcom/sun/prism/Image;
            astore 3 /* image */
        start local 3 // com.sun.prism.Image image
         1: .line 81
            aload 3 /* image */
            ifnonnull 2
            aconst_null
            goto 3
         2: .line 82
      StackMap locals: com.sun.prism.Image
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.context:Lcom/sun/prism/d3d/D3DContext;
            invokevirtual com.sun.prism.d3d.D3DContext.getResourceFactory:()Lcom/sun/prism/d3d/D3DResourceFactory;
            aload 3 /* image */
            getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
            iload 2 /* useMipmap */
            invokevirtual com.sun.prism.d3d.D3DResourceFactory.getCachedTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$WrapMode;Z)Lcom/sun/prism/Texture;
         3: .line 81
      StackMap locals:
      StackMap stack: com.sun.prism.Texture
            astore 4 /* texture */
        start local 4 // com.sun.prism.Texture texture
         4: .line 83
            aload 4 /* texture */
            ifnull 5
            aload 4 /* texture */
            checkcast com.sun.prism.d3d.D3DTexture
            invokevirtual com.sun.prism.d3d.D3DTexture.getNativeTextureObject:()J
            goto 6
      StackMap locals: com.sun.prism.Texture
      StackMap stack:
         5: lconst_0
      StackMap locals:
      StackMap stack: long
         6: lstore 5 /* hTexture */
        start local 5 // long hTexture
         7: .line 84
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.context:Lcom/sun/prism/d3d/D3DContext;
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.nativeHandle:J
            aload 1 /* map */
            invokevirtual com.sun.prism.TextureMap.getType:()Lcom/sun/prism/PhongMaterial$MapType;
            invokevirtual com.sun.prism.PhongMaterial$MapType.ordinal:()I
            lload 5 /* hTexture */
            invokevirtual com.sun.prism.d3d.D3DContext.setMap:(JIJ)V
         8: .line 85
            aload 4 /* texture */
            areturn
        end local 5 // long hTexture
        end local 4 // com.sun.prism.Texture texture
        end local 3 // com.sun.prism.Image image
        end local 2 // boolean useMipmap
        end local 1 // com.sun.prism.TextureMap map
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    9     0       this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            0    9     1        map  Lcom/sun/prism/TextureMap;
            0    9     2  useMipmap  Z
            1    9     3      image  Lcom/sun/prism/Image;
            4    9     4    texture  Lcom/sun/prism/Texture;
            7    9     5   hTexture  J
    MethodParameters:
           Name  Flags
      map        
      useMipmap  

  public void lockTextureMaps();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
         0: .line 90
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 19
         2: .line 91
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            invokevirtual com.sun.prism.TextureMap.getTexture:()Lcom/sun/prism/Texture;
            astore 2 /* texture */
        start local 2 // com.sun.prism.Texture texture
         3: .line 92
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            invokevirtual com.sun.prism.TextureMap.isDirty:()Z
            ifne 7
            aload 2 /* texture */
            ifnull 7
         4: .line 93
            aload 2 /* texture */
            invokeinterface com.sun.prism.Texture.lock:()V
         5: .line 94
            aload 2 /* texture */
            invokeinterface com.sun.prism.Texture.isSurfaceLost:()Z
            ifne 7
         6: .line 95
            goto 18
         7: .line 99
      StackMap locals: com.sun.prism.Texture
      StackMap stack:
            iload 1 /* i */
            getstatic com.sun.prism.PhongMaterial.DIFFUSE:I
            if_icmpeq 8
            iload 1 /* i */
            getstatic com.sun.prism.PhongMaterial.SELF_ILLUM:I
            if_icmpeq 8
            iconst_0
            goto 9
      StackMap locals:
      StackMap stack:
         8: iconst_1
      StackMap locals:
      StackMap stack: int
         9: istore 3 /* useMipmap */
        start local 3 // boolean useMipmap
        10: .line 100
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            iload 3 /* useMipmap */
            invokevirtual com.sun.prism.d3d.D3DPhongMaterial.setupTexture:(Lcom/sun/prism/TextureMap;Z)Lcom/sun/prism/Texture;
            astore 2 /* texture */
        11: .line 101
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            aload 2 /* texture */
            invokevirtual com.sun.prism.TextureMap.setTexture:(Lcom/sun/prism/Texture;)V
        12: .line 102
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            iconst_0
            invokevirtual com.sun.prism.TextureMap.setDirty:(Z)V
        13: .line 103
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            invokevirtual com.sun.prism.TextureMap.getImage:()Lcom/sun/prism/Image;
            ifnull 18
            aload 2 /* texture */
            ifnonnull 18
        14: .line 104
            ldc Lcom/sun/prism/PhongMaterial;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 4 /* logname */
        start local 4 // java.lang.String logname
        15: .line 105
            aload 4 /* logname */
            invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
        16: .line 106
            ldc "Warning: Low on texture resources. Cannot create texture."
        17: .line 105
            invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;)V
        end local 4 // java.lang.String logname
        end local 3 // boolean useMipmap
        end local 2 // com.sun.prism.Texture texture
        18: .line 90
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 1 /* i */
            getstatic com.sun.prism.d3d.D3DPhongMaterial.MAX_MAP_TYPE:I
            if_icmplt 2
        end local 1 // int i
        20: .line 109
            return
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   21     0       this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            1   20     1          i  I
            3   18     2    texture  Lcom/sun/prism/Texture;
           10   18     3  useMipmap  Z
           15   18     4    logname  Ljava/lang/String;

  public void unlockTextureMaps();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
         0: .line 113
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 6
         2: .line 114
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.maps:[Lcom/sun/prism/TextureMap;
            iload 1 /* i */
            aaload
            invokevirtual com.sun.prism.TextureMap.getTexture:()Lcom/sun/prism/Texture;
            astore 2 /* texture */
        start local 2 // com.sun.prism.Texture texture
         3: .line 115
            aload 2 /* texture */
            ifnull 5
         4: .line 116
            aload 2 /* texture */
            invokeinterface com.sun.prism.Texture.unlock:()V
        end local 2 // com.sun.prism.Texture texture
         5: .line 113
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 1 /* i */
            getstatic com.sun.prism.d3d.D3DPhongMaterial.MAX_MAP_TYPE:I
            if_icmplt 2
        end local 1 // int i
         7: .line 119
            return
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lcom/sun/prism/d3d/D3DPhongMaterial;
            1    7     1        i  I
            3    5     2  texture  Lcom/sun/prism/Texture;

  public void dispose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
         0: .line 123
            aload 0 /* this */
            getfield com.sun.prism.d3d.D3DPhongMaterial.disposerRecord:Lcom/sun/prism/impl/Disposer$Record;
            invokeinterface com.sun.prism.impl.Disposer$Record.dispose:()V
         1: .line 124
            getstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
            iconst_1
            isub
            putstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
         2: .line 125
            return
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;

  public int getCount();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.prism.d3d.D3DPhongMaterial this
         0: .line 128
            getstatic com.sun.prism.d3d.D3DPhongMaterial.count:I
            ireturn
        end local 0 // com.sun.prism.d3d.D3DPhongMaterial this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/prism/d3d/D3DPhongMaterial;
}
SourceFile: "D3DPhongMaterial.java"
NestMembers:
  com.sun.prism.d3d.D3DPhongMaterial$D3DPhongMaterialDisposerRecord
InnerClasses:
  public final MapType = com.sun.prism.PhongMaterial$MapType of com.sun.prism.PhongMaterial
  public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
  D3DPhongMaterialDisposerRecord = com.sun.prism.d3d.D3DPhongMaterial$D3DPhongMaterialDisposerRecord of com.sun.prism.d3d.D3DPhongMaterial
  public abstract Record = com.sun.prism.impl.Disposer$Record of com.sun.prism.impl.Disposer