Class MLoopTri_Store
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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 Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__array
Field descriptor (offset) for struct member 'array'.static long[]
__DNA__FIELD__array_wip
Field descriptor (offset) for struct member 'array_wip'.static long[]
__DNA__FIELD__len
Field descriptor (offset) for struct member 'len'.static long[]
__DNA__FIELD__len_alloc
Field descriptor (offset) for struct member 'len_alloc'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MLoopTri_Store.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description MLoopTri_Store(long __address, Block __block, BlockTable __blockTable)
protected
MLoopTri_Store(MLoopTri_Store that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MLoopTri_Store>
__io__addressof()
Instantiates a pointer on this instance.CPointer<MLoopTri>
getArray()
Get method for struct member 'array'.CPointer<MLoopTri>
getArray_wip()
Get method for struct member 'array_wip'.int
getLen()
Get method for struct member 'len'.int
getLen_alloc()
Get method for struct member 'len_alloc'.void
setArray(CPointer<MLoopTri> array)
Set method for struct member 'array'.void
setArray_wip(CPointer<MLoopTri> array_wip)
Set method for struct member 'array_wip'.void
setLen(int len)
Set method for struct member 'len'.void
setLen_alloc(int len_alloc)
Set method for struct member 'len_alloc'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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)
-
MLoopTri_Store
protected MLoopTri_Store(MLoopTri_Store that)
-
-
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
-
getArray_wip
public CPointer<MLoopTri> getArray_wip() throws java.io.IOException
Get method for struct member 'array_wip'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__array_wip
-
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.
-
-