Class ColorCorrectionData


  • public class ColorCorrectionData
    extends CFacade
    Generated facet for DNA struct type 'ColorCorrectionData'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct ColorCorrectionData.

        It is required when allocating a new block to store data for ColorCorrectionData.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__saturation

        public static final long[] __DNA__FIELD__saturation
        Field descriptor (offset) for struct member 'saturation'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD__saturation);
         CPointer<Float> p_saturation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'saturation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__contrast

        public static final long[] __DNA__FIELD__contrast
        Field descriptor (offset) for struct member 'contrast'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD__contrast);
         CPointer<Float> p_contrast = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'contrast'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gamma

        public static final long[] __DNA__FIELD__gamma
        Field descriptor (offset) for struct member 'gamma'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD__gamma);
         CPointer<Float> p_gamma = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gamma'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gain

        public static final long[] __DNA__FIELD__gain
        Field descriptor (offset) for struct member 'gain'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD__gain);
         CPointer<Float> p_gain = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'gain'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__lift

        public static final long[] __DNA__FIELD__lift
        Field descriptor (offset) for struct member 'lift'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD__lift);
         CPointer<Float> p_lift = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'lift'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

        public static final long[] __DNA__FIELD___pad
        Field descriptor (offset) for struct member '_pad'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         ColorCorrectionData colorcorrectiondata = ...;
         CPointer<Object> p = colorcorrectiondata.__dna__addressof(ColorCorrectionData.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • ColorCorrectionData

        public ColorCorrectionData​(long __address,
                                   Block __block,
                                   BlockTable __blockTable)
    • Method Detail

      • getSaturation

        public float getSaturation()
                            throws java.io.IOException
        Get method for struct member 'saturation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__saturation
      • setSaturation

        public void setSaturation​(float saturation)
                           throws java.io.IOException
        Set method for struct member 'saturation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__saturation
      • getContrast

        public float getContrast()
                          throws java.io.IOException
        Get method for struct member 'contrast'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__contrast
      • setContrast

        public void setContrast​(float contrast)
                         throws java.io.IOException
        Set method for struct member 'contrast'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__contrast
      • getGamma

        public float getGamma()
                       throws java.io.IOException
        Get method for struct member 'gamma'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gamma
      • setGamma

        public void setGamma​(float gamma)
                      throws java.io.IOException
        Set method for struct member 'gamma'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gamma
      • getGain

        public float getGain()
                      throws java.io.IOException
        Get method for struct member 'gain'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gain
      • setGain

        public void setGain​(float gain)
                     throws java.io.IOException
        Set method for struct member 'gain'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gain
      • getLift

        public float getLift()
                      throws java.io.IOException
        Get method for struct member 'lift'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lift
      • setLift

        public void setLift​(float lift)
                     throws java.io.IOException
        Set method for struct member 'lift'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lift
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad