Class PTCacheMem


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__next);
         CPointer<CPointer<PTCacheMem>> p_next = p.cast(new Class[]{CPointer.class, PTCacheMem.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'PTCacheMem*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__prev);
         CPointer<CPointer<PTCacheMem>> p_prev = p.cast(new Class[]{CPointer.class, PTCacheMem.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'PTCacheMem*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__frame

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__frame);
         CPointer<Integer> p_frame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'frame'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totpoint

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__totpoint);
         CPointer<Integer> p_totpoint = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totpoint'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__data_types

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__data_types);
         CPointer<Integer> p_data_types = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'data_types'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__data

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

        Field Documentation

        Blender Source Code

        BPHYS_TOT_DATA.

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__data);
         CPointer<CArrayFacade<CPointer<Object>>> p_data = p.cast(new Class[]{CArrayFacade.class, CPointer.class, Object.class});
         

        Metadata

        • Field: 'data'
        • Signature: 'void*[8]'
        • Actual Size (32bit/64bit): 32/64
      • __DNA__FIELD__extradata

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

        Pointer Arithmetics

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

         PTCacheMem ptcachemem = ...;
         CPointer<Object> p = ptcachemem.__dna__addressof(PTCacheMem.__DNA__FIELD__extradata);
         CPointer<ListBase> p_extradata = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'extradata'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • PTCacheMem

        public PTCacheMem​(long __address,
                          Block __block,
                          BlockTable __blockTable)
      • PTCacheMem

        protected PTCacheMem​(PTCacheMem that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<PTCacheMem> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<PTCacheMem> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getFrame

        public int getFrame()
                     throws java.io.IOException
        Get method for struct member 'frame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • setFrame

        public void setFrame​(int frame)
                      throws java.io.IOException
        Set method for struct member 'frame'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • getTotpoint

        public int getTotpoint()
                        throws java.io.IOException
        Get method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • setTotpoint

        public void setTotpoint​(int totpoint)
                         throws java.io.IOException
        Set method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • getData_types

        public int getData_types()
                          throws java.io.IOException
        Get method for struct member 'data_types'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_types
      • setData_types

        public void setData_types​(int data_types)
                           throws java.io.IOException
        Set method for struct member 'data_types'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_types
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getData

        public CArrayFacade<CPointer<java.lang.Object>> getData()
                                                         throws java.io.IOException
        Get method for struct member 'data'.

        Field Documentation

        Blender Source Code

        BPHYS_TOT_DATA.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CArrayFacade<CPointer<java.lang.Object>> data)
                     throws java.io.IOException
        Set method for struct member 'data'.

        Field Documentation

        Blender Source Code

        BPHYS_TOT_DATA.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • getExtradata

        public ListBase getExtradata()
                              throws java.io.IOException
        Get method for struct member 'extradata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__extradata
      • setExtradata

        public void setExtradata​(ListBase extradata)
                          throws java.io.IOException
        Set method for struct member 'extradata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__extradata
      • __io__addressof

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