Class GPUDOFSettings


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

    Class Documentation

    Blender Source Code

    Keep for 'Camera ' versioning. Properties for DOF effect.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Focal distance for depth of field.

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__focus_distance);
         CPointer<Float> p_focus_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'focus_distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fstop

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__fstop);
         CPointer<Float> p_fstop = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fstop'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__focal_length

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__focal_length);
         CPointer<Float> p_focal_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'focal_length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sensor

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__sensor);
         CPointer<Float> p_sensor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'sensor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rotation

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__rotation);
         CPointer<Float> p_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ratio

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__ratio);
         CPointer<Float> p_ratio = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ratio'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__num_blades

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__num_blades);
         CPointer<Integer> p_num_blades = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'num_blades'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__high_quality

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

        Pointer Arithmetics

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

         GPUDOFSettings gpudofsettings = ...;
         CPointer<Object> p = gpudofsettings.__dna__addressof(GPUDOFSettings.__DNA__FIELD__high_quality);
         CPointer<Integer> p_high_quality = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'high_quality'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • GPUDOFSettings

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

      • getFocus_distance

        public float getFocus_distance()
                                throws java.io.IOException
        Get method for struct member 'focus_distance'.

        Field Documentation

        Blender Source Code

        Focal distance for depth of field.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__focus_distance
      • setFocus_distance

        public void setFocus_distance​(float focus_distance)
                               throws java.io.IOException
        Set method for struct member 'focus_distance'.

        Field Documentation

        Blender Source Code

        Focal distance for depth of field.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__focus_distance
      • getFstop

        public float getFstop()
                       throws java.io.IOException
        Get method for struct member 'fstop'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fstop
      • setFstop

        public void setFstop​(float fstop)
                      throws java.io.IOException
        Set method for struct member 'fstop'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fstop
      • getFocal_length

        public float getFocal_length()
                              throws java.io.IOException
        Get method for struct member 'focal_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__focal_length
      • setFocal_length

        public void setFocal_length​(float focal_length)
                             throws java.io.IOException
        Set method for struct member 'focal_length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__focal_length
      • getSensor

        public float getSensor()
                        throws java.io.IOException
        Get method for struct member 'sensor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sensor
      • setSensor

        public void setSensor​(float sensor)
                       throws java.io.IOException
        Set method for struct member 'sensor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sensor
      • getRotation

        public float getRotation()
                          throws java.io.IOException
        Get method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • setRotation

        public void setRotation​(float rotation)
                         throws java.io.IOException
        Set method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • getRatio

        public float getRatio()
                       throws java.io.IOException
        Get method for struct member 'ratio'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ratio
      • setRatio

        public void setRatio​(float ratio)
                      throws java.io.IOException
        Set method for struct member 'ratio'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ratio
      • getNum_blades

        public int getNum_blades()
                          throws java.io.IOException
        Get method for struct member 'num_blades'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__num_blades
      • setNum_blades

        public void setNum_blades​(int num_blades)
                           throws java.io.IOException
        Set method for struct member 'num_blades'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__num_blades
      • getHigh_quality

        public int getHigh_quality()
                            throws java.io.IOException
        Get method for struct member 'high_quality'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__high_quality
      • setHigh_quality

        public void setHigh_quality​(int high_quality)
                             throws java.io.IOException
        Set method for struct member 'high_quality'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__high_quality
      • __io__addressof

        public CPointer<GPUDOFSettings> __io__addressof()
        Instantiates a pointer on this instance.