Class NodeImageFile


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        1024 = FILE_MAX.

        Pointer Arithmetics

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

         NodeImageFile nodeimagefile = ...;
         CPointer<Object> p = nodeimagefile.__dna__addressof(NodeImageFile.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__im_format

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

        Pointer Arithmetics

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

         NodeImageFile nodeimagefile = ...;
         CPointer<Object> p = nodeimagefile.__dna__addressof(NodeImageFile.__DNA__FIELD__im_format);
         CPointer<ImageFormatData> p_im_format = p.cast(new Class[]{ImageFormatData.class});
         

        Metadata

        • Field: 'im_format'
        • Signature: 'ImageFormatData'
        • Actual Size (32bit/64bit): 320/328
      • __DNA__FIELD__sfra

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

        Pointer Arithmetics

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

         NodeImageFile nodeimagefile = ...;
         CPointer<Object> p = nodeimagefile.__dna__addressof(NodeImageFile.__DNA__FIELD__sfra);
         CPointer<Integer> p_sfra = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sfra'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__efra

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

        Pointer Arithmetics

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

         NodeImageFile nodeimagefile = ...;
         CPointer<Object> p = nodeimagefile.__dna__addressof(NodeImageFile.__DNA__FIELD__efra);
         CPointer<Integer> p_efra = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • NodeImageFile

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

      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.

        Field Documentation

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.

        Field Documentation

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setIm_format

        public void setIm_format​(ImageFormatData im_format)
                          throws java.io.IOException
        Set method for struct member 'im_format'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__im_format
      • getSfra

        public int getSfra()
                    throws java.io.IOException
        Get method for struct member 'sfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sfra
      • setSfra

        public void setSfra​(int sfra)
                     throws java.io.IOException
        Set method for struct member 'sfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sfra
      • getEfra

        public int getEfra()
                    throws java.io.IOException
        Get method for struct member 'efra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__efra
      • setEfra

        public void setEfra​(int efra)
                     throws java.io.IOException
        Set method for struct member 'efra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__efra
      • __io__addressof

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