Class MLoopTri_Store


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

    Class Documentation

    Blender Source Code

    Warning

    Typical access is done via #BKE_mesh_runtime_looptri_ensure, #BKE_mesh_runtime_looptri_len.

    Typical access is done via #BKE_mesh_runtime_looptri_ensure, #BKE_mesh_runtime_looptri_len.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        WARNING! swapping between array (ready-to-be-used data) and array_wip (where data is actually computed) shall always be protected by same lock as one used for looptris computing.

        Pointer Arithmetics

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

         MLoopTri_Store mlooptri_store = ...;
         CPointer<Object> p = mlooptri_store.__dna__addressof(MLoopTri_Store.__DNA__FIELD__array);
         CPointer<CPointer<MLoopTri>> p_array = p.cast(new Class[]{CPointer.class, MLoopTri.class});
         

        Metadata

        • Field: 'array'
        • Signature: 'MLoopTri*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__array_wip

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

        Pointer Arithmetics

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

         MLoopTri_Store mlooptri_store = ...;
         CPointer<Object> p = mlooptri_store.__dna__addressof(MLoopTri_Store.__DNA__FIELD__array_wip);
         CPointer<CPointer<MLoopTri>> p_array_wip = p.cast(new Class[]{CPointer.class, MLoopTri.class});
         

        Metadata

        • Field: 'array_wip'
        • Signature: 'MLoopTri*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__len

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

        Pointer Arithmetics

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

         MLoopTri_Store mlooptri_store = ...;
         CPointer<Object> p = mlooptri_store.__dna__addressof(MLoopTri_Store.__DNA__FIELD__len);
         CPointer<Integer> p_len = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'len'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__len_alloc

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

        Pointer Arithmetics

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

         MLoopTri_Store mlooptri_store = ...;
         CPointer<Object> p = mlooptri_store.__dna__addressof(MLoopTri_Store.__DNA__FIELD__len_alloc);
         CPointer<Integer> p_len_alloc = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • MLoopTri_Store

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

      • getArray

        public CPointer<MLoopTri> getArray()
                                    throws java.io.IOException
        Get method for struct member 'array'.

        Field Documentation

        Blender Source Code

        WARNING! swapping between array (ready-to-be-used data) and array_wip (where data is actually computed) shall always be protected by same lock as one used for looptris computing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__array
      • setArray

        public void setArray​(CPointer<MLoopTri> array)
                      throws java.io.IOException
        Set method for struct member 'array'.

        Field Documentation

        Blender Source Code

        WARNING! swapping between array (ready-to-be-used data) and array_wip (where data is actually computed) shall always be protected by same lock as one used for looptris computing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__array
      • setArray_wip

        public void setArray_wip​(CPointer<MLoopTri> array_wip)
                          throws java.io.IOException
        Set method for struct member 'array_wip'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__array_wip
      • getLen

        public int getLen()
                   throws java.io.IOException
        Get method for struct member 'len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len
      • setLen

        public void setLen​(int len)
                    throws java.io.IOException
        Set method for struct member 'len'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len
      • getLen_alloc

        public int getLen_alloc()
                         throws java.io.IOException
        Get method for struct member 'len_alloc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len_alloc
      • setLen_alloc

        public void setLen_alloc​(int len_alloc)
                          throws java.io.IOException
        Set method for struct member 'len_alloc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__len_alloc
      • __io__addressof

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