Class MDisps
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MDisps
-
public class MDisps extends CFacade
Generated facet for DNA struct type 'MDisps'.Class Documentation
Blender Source Code
Multi-Resolution loop data.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__hidden
Field descriptor (offset) for struct member 'hidden'.static long[]
__DNA__FIELD__level
Field descriptor (offset) for struct member 'level'.static long[]
__DNA__FIELD__totdisp
Field descriptor (offset) for struct member 'totdisp'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MDisps.-
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 MDisps(long __address, Block __block, BlockTable __blockTable)
protected
MDisps(MDisps that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MDisps>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Integer>
getHidden()
Get method for struct member 'hidden'.int
getLevel()
Get method for struct member 'level'.int
getTotdisp()
Get method for struct member 'totdisp'.void
setHidden(CPointer<java.lang.Integer> hidden)
Set method for struct member 'hidden'.void
setLevel(int level)
Set method for struct member 'level'.void
setTotdisp(int totdisp)
Set method for struct member 'totdisp'.-
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 MDisps.It is required when allocating a new block to store data for MDisps.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__totdisp
public static final long[] __DNA__FIELD__totdisp
Field descriptor (offset) for struct member 'totdisp'.Field Documentation
Blender Source Code
Strange bug in SDNA : if disps pointer comes first, it fails to see totdisp
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__totdisp); CPointer<Integer> p_totdisp = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totdisp'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__level
public static final long[] __DNA__FIELD__level
Field descriptor (offset) for struct member 'level'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__level); CPointer<Integer> p_level = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'level'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__hidden
public static final long[] __DNA__FIELD__hidden
Field descriptor (offset) for struct member 'hidden'.Field Documentation
Blender Source Code
Used for hiding parts of a multires mesh. Essentially the multires equivalent of #MVert.flag's ME_HIDE bit.
Note
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.hPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__hidden); CPointer<CPointer<Integer>> p_hidden = p.cast(new Class[]{CPointer.class, Integer.class});
Metadata
- Field: 'hidden'
- Signature: 'int*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
MDisps
public MDisps(long __address, Block __block, BlockTable __blockTable)
-
MDisps
protected MDisps(MDisps that)
-
-
Method Detail
-
getTotdisp
public int getTotdisp() throws java.io.IOException
Get method for struct member 'totdisp'.Field Documentation
Blender Source Code
Strange bug in SDNA : if disps pointer comes first, it fails to see totdisp
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdisp
-
setTotdisp
public void setTotdisp(int totdisp) throws java.io.IOException
Set method for struct member 'totdisp'.Field Documentation
Blender Source Code
Strange bug in SDNA : if disps pointer comes first, it fails to see totdisp
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdisp
-
getLevel
public int getLevel() throws java.io.IOException
Get method for struct member 'level'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__level
-
setLevel
public void setLevel(int level) throws java.io.IOException
Set method for struct member 'level'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__level
-
getHidden
public CPointer<java.lang.Integer> getHidden() throws java.io.IOException
Get method for struct member 'hidden'.Field Documentation
Blender Source Code
Used for hiding parts of a multires mesh. Essentially the multires equivalent of #MVert.flag's ME_HIDE bit.
Note
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.h- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hidden
-
setHidden
public void setHidden(CPointer<java.lang.Integer> hidden) throws java.io.IOException
Set method for struct member 'hidden'.Field Documentation
Blender Source Code
Used for hiding parts of a multires mesh. Essentially the multires equivalent of #MVert.flag's ME_HIDE bit.
Note
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.h- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hidden
-
-