Class Mesh_Runtime
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Mesh_Runtime
-
public class Mesh_Runtime extends CFacade
Generated facet for DNA struct type 'Mesh_Runtime'.Class Documentation
Blender Source Code
Runtime data, not saved in files.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.static long[]
__DNA__FIELD__bvh_cache
Field descriptor (offset) for struct member 'bvh_cache'.static long[]
__DNA__FIELD__cd_mask_extra
Field descriptor (offset) for struct member 'cd_mask_extra'.static long[]
__DNA__FIELD__deformed_only
Field descriptor (offset) for struct member 'deformed_only'.static long[]
__DNA__FIELD__edit_data
Field descriptor (offset) for struct member 'edit_data'.static long[]
__DNA__FIELD__eval_mutex
Field descriptor (offset) for struct member 'eval_mutex'.static long[]
__DNA__FIELD__is_original
Field descriptor (offset) for struct member 'is_original'.static long[]
__DNA__FIELD__looptris
Field descriptor (offset) for struct member 'looptris'.static long[]
__DNA__FIELD__mesh_eval
Field descriptor (offset) for struct member 'mesh_eval'.static long[]
__DNA__FIELD__normals_mutex
Field descriptor (offset) for struct member 'normals_mutex'.static long[]
__DNA__FIELD__poly_normals_dirty
Field descriptor (offset) for struct member 'poly_normals_dirty'.static long[]
__DNA__FIELD__render_mutex
Field descriptor (offset) for struct member 'render_mutex'.static long[]
__DNA__FIELD__shrinkwrap_data
Field descriptor (offset) for struct member 'shrinkwrap_data'.static long[]
__DNA__FIELD__subdiv_ccg
Field descriptor (offset) for struct member 'subdiv_ccg'.static long[]
__DNA__FIELD__subdiv_ccg_tot_level
Field descriptor (offset) for struct member 'subdiv_ccg_tot_level'.static long[]
__DNA__FIELD__subsurf_face_dot_tags
Field descriptor (offset) for struct member 'subsurf_face_dot_tags'.static long[]
__DNA__FIELD__subsurf_runtime_data
Field descriptor (offset) for struct member 'subsurf_runtime_data'.static long[]
__DNA__FIELD__vert_normals_dirty
Field descriptor (offset) for struct member 'vert_normals_dirty'.static long[]
__DNA__FIELD__wrapper_type
Field descriptor (offset) for struct member 'wrapper_type'.static long[]
__DNA__FIELD__wrapper_type_finalize
Field descriptor (offset) for struct member 'wrapper_type_finalize'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Mesh_Runtime.-
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 Mesh_Runtime(long __address, Block __block, BlockTable __blockTable)
protected
Mesh_Runtime(Mesh_Runtime that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Mesh_Runtime>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
get_pad1()
Get method for struct member '_pad1'.CArrayFacade<java.lang.Byte>
get_pad2()
Get method for struct member '_pad2'.CPointer<java.lang.Object>
getBatch_cache()
Get method for struct member 'batch_cache'.CPointer<java.lang.Object>
getBvh_cache()
Get method for struct member 'bvh_cache'.CustomData_MeshMasks
getCd_mask_extra()
Get method for struct member 'cd_mask_extra'.byte
getDeformed_only()
Get method for struct member 'deformed_only'.CPointer<java.lang.Object>
getEdit_data()
Get method for struct member 'edit_data'.CPointer<java.lang.Object>
getEval_mutex()
Get method for struct member 'eval_mutex'.byte
getIs_original()
Get method for struct member 'is_original'.MLoopTri_Store
getLooptris()
Get method for struct member 'looptris'.CPointer<Mesh>
getMesh_eval()
Get method for struct member 'mesh_eval'.CPointer<java.lang.Object>
getNormals_mutex()
Get method for struct member 'normals_mutex'.byte
getPoly_normals_dirty()
Get method for struct member 'poly_normals_dirty'.CPointer<java.lang.Object>
getRender_mutex()
Get method for struct member 'render_mutex'.CPointer<java.lang.Object>
getShrinkwrap_data()
Get method for struct member 'shrinkwrap_data'.CPointer<java.lang.Object>
getSubdiv_ccg()
Get method for struct member 'subdiv_ccg'.int
getSubdiv_ccg_tot_level()
Get method for struct member 'subdiv_ccg_tot_level'.CPointer<java.lang.Integer>
getSubsurf_face_dot_tags()
Get method for struct member 'subsurf_face_dot_tags'.CPointer<java.lang.Object>
getSubsurf_runtime_data()
Get method for struct member 'subsurf_runtime_data'.byte
getVert_normals_dirty()
Get method for struct member 'vert_normals_dirty'.byte
getWrapper_type()
Get method for struct member 'wrapper_type'.byte
getWrapper_type_finalize()
Get method for struct member 'wrapper_type_finalize'.void
set_pad1(CPointer<java.lang.Object> _pad1)
Set method for struct member '_pad1'.void
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.void
setBatch_cache(CPointer<java.lang.Object> batch_cache)
Set method for struct member 'batch_cache'.void
setBvh_cache(CPointer<java.lang.Object> bvh_cache)
Set method for struct member 'bvh_cache'.void
setCd_mask_extra(CustomData_MeshMasks cd_mask_extra)
Set method for struct member 'cd_mask_extra'.void
setDeformed_only(byte deformed_only)
Set method for struct member 'deformed_only'.void
setEdit_data(CPointer<java.lang.Object> edit_data)
Set method for struct member 'edit_data'.void
setEval_mutex(CPointer<java.lang.Object> eval_mutex)
Set method for struct member 'eval_mutex'.void
setIs_original(byte is_original)
Set method for struct member 'is_original'.void
setLooptris(MLoopTri_Store looptris)
Set method for struct member 'looptris'.void
setMesh_eval(CPointer<Mesh> mesh_eval)
Set method for struct member 'mesh_eval'.void
setNormals_mutex(CPointer<java.lang.Object> normals_mutex)
Set method for struct member 'normals_mutex'.void
setPoly_normals_dirty(byte poly_normals_dirty)
Set method for struct member 'poly_normals_dirty'.void
setRender_mutex(CPointer<java.lang.Object> render_mutex)
Set method for struct member 'render_mutex'.void
setShrinkwrap_data(CPointer<java.lang.Object> shrinkwrap_data)
Set method for struct member 'shrinkwrap_data'.void
setSubdiv_ccg(CPointer<java.lang.Object> subdiv_ccg)
Set method for struct member 'subdiv_ccg'.void
setSubdiv_ccg_tot_level(int subdiv_ccg_tot_level)
Set method for struct member 'subdiv_ccg_tot_level'.void
setSubsurf_face_dot_tags(CPointer<java.lang.Integer> subsurf_face_dot_tags)
Set method for struct member 'subsurf_face_dot_tags'.void
setSubsurf_runtime_data(CPointer<java.lang.Object> subsurf_runtime_data)
Set method for struct member 'subsurf_runtime_data'.void
setVert_normals_dirty(byte vert_normals_dirty)
Set method for struct member 'vert_normals_dirty'.void
setWrapper_type(byte wrapper_type)
Set method for struct member 'wrapper_type'.void
setWrapper_type_finalize(byte wrapper_type_finalize)
Set method for struct member 'wrapper_type_finalize'.-
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 Mesh_Runtime.It is required when allocating a new block to store data for Mesh_Runtime.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__mesh_eval
public static final long[] __DNA__FIELD__mesh_eval
Field descriptor (offset) for struct member 'mesh_eval'.Field Documentation
Blender Source Code
Evaluated mesh for objects which do not have effective modifiers. This mesh is used as a result of modifier stack evaluation. Since modifier stack evaluation is threaded on object level we need some synchronization.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__mesh_eval); CPointer<CPointer<Mesh>> p_mesh_eval = p.cast(new Class[]{CPointer.class, Mesh.class});
Metadata
- Field: 'mesh_eval'
- Signature: 'Mesh*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__eval_mutex
public static final long[] __DNA__FIELD__eval_mutex
Field descriptor (offset) for struct member 'eval_mutex'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__eval_mutex); CPointer<CPointer<Object>> p_eval_mutex = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'eval_mutex'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__normals_mutex
public static final long[] __DNA__FIELD__normals_mutex
Field descriptor (offset) for struct member 'normals_mutex'.Field Documentation
Blender Source Code
A separate mutex is needed for normal calculation, because sometimes the normals are needed while #eval_mutex is already locked.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__normals_mutex); CPointer<CPointer<Object>> p_normals_mutex = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'normals_mutex'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__render_mutex
public static final long[] __DNA__FIELD__render_mutex
Field descriptor (offset) for struct member 'render_mutex'.Field Documentation
Blender Source Code
Needed to ensure some thread-safety during render data pre-processing.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__render_mutex); CPointer<CPointer<Object>> p_render_mutex = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'render_mutex'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__edit_data
public static final long[] __DNA__FIELD__edit_data
Field descriptor (offset) for struct member 'edit_data'.Field Documentation
Blender Source Code
Lazily initialized SoA data from the #edit_mesh field in
Mesh
.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__edit_data); CPointer<CPointer<Object>> p_edit_data = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'edit_data'
- Signature: 'EditMeshData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__batch_cache
public static final long[] __DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.Field Documentation
Blender Source Code
.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__batch_cache); CPointer<CPointer<Object>> p_batch_cache = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'batch_cache'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__looptris
public static final long[] __DNA__FIELD__looptris
Field descriptor (offset) for struct member 'looptris'.Field Documentation
Blender Source Code
Cache for derived triangulation of the mesh.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__looptris); CPointer<MLoopTri_Store> p_looptris = p.cast(new Class[]{MLoopTri_Store.class});
Metadata
- Field: 'looptris'
- Signature: 'MLoopTri_Store'
- Actual Size (32bit/64bit): 16/24
-
__DNA__FIELD__bvh_cache
public static final long[] __DNA__FIELD__bvh_cache
Field descriptor (offset) for struct member 'bvh_cache'.Field Documentation
Blender Source Code
Cache for BVH trees generated for the mesh. Defined in 'BKE_bvhutil.c'
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__bvh_cache); CPointer<CPointer<Object>> p_bvh_cache = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'bvh_cache'
- Signature: 'BVHCache*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__shrinkwrap_data
public static final long[] __DNA__FIELD__shrinkwrap_data
Field descriptor (offset) for struct member 'shrinkwrap_data'.Field Documentation
Blender Source Code
Cache of non-manifold boundary data for Shrinkwrap Target Project.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__shrinkwrap_data); CPointer<CPointer<Object>> p_shrinkwrap_data = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'shrinkwrap_data'
- Signature: 'ShrinkwrapBoundaryData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__cd_mask_extra
public static final long[] __DNA__FIELD__cd_mask_extra
Field descriptor (offset) for struct member 'cd_mask_extra'.Field Documentation
Blender Source Code
Needed in case we need to lazily initialize the mesh.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__cd_mask_extra); CPointer<CustomData_MeshMasks> p_cd_mask_extra = p.cast(new Class[]{CustomData_MeshMasks.class});
Metadata
- Field: 'cd_mask_extra'
- Signature: 'CustomData_MeshMasks'
- Actual Size (32bit/64bit): 40/40
-
__DNA__FIELD__subdiv_ccg
public static final long[] __DNA__FIELD__subdiv_ccg
Field descriptor (offset) for struct member 'subdiv_ccg'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__subdiv_ccg); CPointer<CPointer<Object>> p_subdiv_ccg = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'subdiv_ccg'
- Signature: 'SubdivCCG*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__subdiv_ccg_tot_level
public static final long[] __DNA__FIELD__subdiv_ccg_tot_level
Field descriptor (offset) for struct member 'subdiv_ccg_tot_level'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__subdiv_ccg_tot_level); CPointer<Integer> p_subdiv_ccg_tot_level = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'subdiv_ccg_tot_level'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__deformed_only
public static final long[] __DNA__FIELD__deformed_only
Field descriptor (offset) for struct member 'deformed_only'.Field Documentation
Blender Source Code
Set by modifier stack if only deformed from original.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__deformed_only); CPointer<Byte> p_deformed_only = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'deformed_only'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__is_original
public static final long[] __DNA__FIELD__is_original
Field descriptor (offset) for struct member 'is_original'.Field Documentation
Blender Source Code
Copied from edit-mesh (hint, draw with edit-mesh data when true).
Modifiers that edit the mesh data in-place must set this to false (most #eModifierTypeType_NonGeometrical modifiers). Otherwise the edit-mesh data will be used for drawing, missing changes from modifiers. See T79517.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__is_original); CPointer<Byte> p_is_original = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'is_original'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__wrapper_type
public static final long[] __DNA__FIELD__wrapper_type
Field descriptor (offset) for struct member 'wrapper_type'.Field Documentation
Blender Source Code
eMeshWrapperType and others.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__wrapper_type); CPointer<Byte> p_wrapper_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'wrapper_type'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__wrapper_type_finalize
public static final long[] __DNA__FIELD__wrapper_type_finalize
Field descriptor (offset) for struct member 'wrapper_type_finalize'.Field Documentation
Blender Source Code
A type mask from wrapper_type, in case there are differences in finalizing logic between types.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__wrapper_type_finalize); CPointer<Byte> p_wrapper_type_finalize = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'wrapper_type_finalize'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__subsurf_runtime_data
public static final long[] __DNA__FIELD__subsurf_runtime_data
Field descriptor (offset) for struct member 'subsurf_runtime_data'.Field Documentation
Blender Source Code
Settings for lazily evaluating the subdivision on the CPU if needed. These are set in the modifier when GPU subdivision can be performed, and owned by the by the modifier in the object.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__subsurf_runtime_data); CPointer<CPointer<Object>> p_subsurf_runtime_data = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'subsurf_runtime_data'
- Signature: 'SubsurfRuntimeData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD___pad1); CPointer<CPointer<Object>> p__pad1 = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: '_pad1'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Field Documentation
Blender Source Code
Caches for lazily computed vertex and polygon normals. These are stored here rather than in
CustomData
because they can be calculated on a const mesh, and adding custom data layers on a const mesh is not thread-safe.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad2'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
__DNA__FIELD__vert_normals_dirty
public static final long[] __DNA__FIELD__vert_normals_dirty
Field descriptor (offset) for struct member 'vert_normals_dirty'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__vert_normals_dirty); CPointer<Byte> p_vert_normals_dirty = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'vert_normals_dirty'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__poly_normals_dirty
public static final long[] __DNA__FIELD__poly_normals_dirty
Field descriptor (offset) for struct member 'poly_normals_dirty'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__poly_normals_dirty); CPointer<Byte> p_poly_normals_dirty = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'poly_normals_dirty'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__subsurf_face_dot_tags
public static final long[] __DNA__FIELD__subsurf_face_dot_tags
Field descriptor (offset) for struct member 'subsurf_face_dot_tags'.Field Documentation
Blender Source Code
A #BLI_bitmap containing tags for the center vertices of subdivided polygons, set by the subdivision surface modifier and used by drawing code instead of polygon center face dots.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Mesh_Runtime mesh_runtime = ...; CPointer<Object> p = mesh_runtime.__dna__addressof(Mesh_Runtime.__DNA__FIELD__subsurf_face_dot_tags); CPointer<CPointer<Integer>> p_subsurf_face_dot_tags = p.cast(new Class[]{CPointer.class, Integer.class});
Metadata
- Field: 'subsurf_face_dot_tags'
- Signature: 'int*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
Mesh_Runtime
public Mesh_Runtime(long __address, Block __block, BlockTable __blockTable)
-
Mesh_Runtime
protected Mesh_Runtime(Mesh_Runtime that)
-
-
Method Detail
-
getMesh_eval
public CPointer<Mesh> getMesh_eval() throws java.io.IOException
Get method for struct member 'mesh_eval'.Field Documentation
Blender Source Code
Evaluated mesh for objects which do not have effective modifiers. This mesh is used as a result of modifier stack evaluation. Since modifier stack evaluation is threaded on object level we need some synchronization.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_eval
-
setMesh_eval
public void setMesh_eval(CPointer<Mesh> mesh_eval) throws java.io.IOException
Set method for struct member 'mesh_eval'.Field Documentation
Blender Source Code
Evaluated mesh for objects which do not have effective modifiers. This mesh is used as a result of modifier stack evaluation. Since modifier stack evaluation is threaded on object level we need some synchronization.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mesh_eval
-
getEval_mutex
public CPointer<java.lang.Object> getEval_mutex() throws java.io.IOException
Get method for struct member 'eval_mutex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__eval_mutex
-
setEval_mutex
public void setEval_mutex(CPointer<java.lang.Object> eval_mutex) throws java.io.IOException
Set method for struct member 'eval_mutex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__eval_mutex
-
getNormals_mutex
public CPointer<java.lang.Object> getNormals_mutex() throws java.io.IOException
Get method for struct member 'normals_mutex'.Field Documentation
Blender Source Code
A separate mutex is needed for normal calculation, because sometimes the normals are needed while #eval_mutex is already locked.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__normals_mutex
-
setNormals_mutex
public void setNormals_mutex(CPointer<java.lang.Object> normals_mutex) throws java.io.IOException
Set method for struct member 'normals_mutex'.Field Documentation
Blender Source Code
A separate mutex is needed for normal calculation, because sometimes the normals are needed while #eval_mutex is already locked.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__normals_mutex
-
getRender_mutex
public CPointer<java.lang.Object> getRender_mutex() throws java.io.IOException
Get method for struct member 'render_mutex'.Field Documentation
Blender Source Code
Needed to ensure some thread-safety during render data pre-processing.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__render_mutex
-
setRender_mutex
public void setRender_mutex(CPointer<java.lang.Object> render_mutex) throws java.io.IOException
Set method for struct member 'render_mutex'.Field Documentation
Blender Source Code
Needed to ensure some thread-safety during render data pre-processing.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__render_mutex
-
getEdit_data
public CPointer<java.lang.Object> getEdit_data() throws java.io.IOException
Get method for struct member 'edit_data'.Field Documentation
Blender Source Code
Lazily initialized SoA data from the #edit_mesh field in
Mesh
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__edit_data
-
setEdit_data
public void setEdit_data(CPointer<java.lang.Object> edit_data) throws java.io.IOException
Set method for struct member 'edit_data'.Field Documentation
Blender Source Code
Lazily initialized SoA data from the #edit_mesh field in
Mesh
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__edit_data
-
getBatch_cache
public CPointer<java.lang.Object> getBatch_cache() throws java.io.IOException
Get method for struct member 'batch_cache'.Field Documentation
Blender Source Code
.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
setBatch_cache
public void setBatch_cache(CPointer<java.lang.Object> batch_cache) throws java.io.IOException
Set method for struct member 'batch_cache'.Field Documentation
Blender Source Code
.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
getLooptris
public MLoopTri_Store getLooptris() throws java.io.IOException
Get method for struct member 'looptris'.Field Documentation
Blender Source Code
Cache for derived triangulation of the mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__looptris
-
setLooptris
public void setLooptris(MLoopTri_Store looptris) throws java.io.IOException
Set method for struct member 'looptris'.Field Documentation
Blender Source Code
Cache for derived triangulation of the mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__looptris
-
getBvh_cache
public CPointer<java.lang.Object> getBvh_cache() throws java.io.IOException
Get method for struct member 'bvh_cache'.Field Documentation
Blender Source Code
Cache for BVH trees generated for the mesh. Defined in 'BKE_bvhutil.c'
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bvh_cache
-
setBvh_cache
public void setBvh_cache(CPointer<java.lang.Object> bvh_cache) throws java.io.IOException
Set method for struct member 'bvh_cache'.Field Documentation
Blender Source Code
Cache for BVH trees generated for the mesh. Defined in 'BKE_bvhutil.c'
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bvh_cache
-
getShrinkwrap_data
public CPointer<java.lang.Object> getShrinkwrap_data() throws java.io.IOException
Get method for struct member 'shrinkwrap_data'.Field Documentation
Blender Source Code
Cache of non-manifold boundary data for Shrinkwrap Target Project.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkwrap_data
-
setShrinkwrap_data
public void setShrinkwrap_data(CPointer<java.lang.Object> shrinkwrap_data) throws java.io.IOException
Set method for struct member 'shrinkwrap_data'.Field Documentation
Blender Source Code
Cache of non-manifold boundary data for Shrinkwrap Target Project.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkwrap_data
-
getCd_mask_extra
public CustomData_MeshMasks getCd_mask_extra() throws java.io.IOException
Get method for struct member 'cd_mask_extra'.Field Documentation
Blender Source Code
Needed in case we need to lazily initialize the mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cd_mask_extra
-
setCd_mask_extra
public void setCd_mask_extra(CustomData_MeshMasks cd_mask_extra) throws java.io.IOException
Set method for struct member 'cd_mask_extra'.Field Documentation
Blender Source Code
Needed in case we need to lazily initialize the mesh.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cd_mask_extra
-
getSubdiv_ccg
public CPointer<java.lang.Object> getSubdiv_ccg() throws java.io.IOException
Get method for struct member 'subdiv_ccg'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subdiv_ccg
-
setSubdiv_ccg
public void setSubdiv_ccg(CPointer<java.lang.Object> subdiv_ccg) throws java.io.IOException
Set method for struct member 'subdiv_ccg'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subdiv_ccg
-
getSubdiv_ccg_tot_level
public int getSubdiv_ccg_tot_level() throws java.io.IOException
Get method for struct member 'subdiv_ccg_tot_level'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subdiv_ccg_tot_level
-
setSubdiv_ccg_tot_level
public void setSubdiv_ccg_tot_level(int subdiv_ccg_tot_level) throws java.io.IOException
Set method for struct member 'subdiv_ccg_tot_level'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subdiv_ccg_tot_level
-
getDeformed_only
public byte getDeformed_only() throws java.io.IOException
Get method for struct member 'deformed_only'.Field Documentation
Blender Source Code
Set by modifier stack if only deformed from original.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__deformed_only
-
setDeformed_only
public void setDeformed_only(byte deformed_only) throws java.io.IOException
Set method for struct member 'deformed_only'.Field Documentation
Blender Source Code
Set by modifier stack if only deformed from original.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__deformed_only
-
getIs_original
public byte getIs_original() throws java.io.IOException
Get method for struct member 'is_original'.Field Documentation
Blender Source Code
Copied from edit-mesh (hint, draw with edit-mesh data when true).
Modifiers that edit the mesh data in-place must set this to false (most #eModifierTypeType_NonGeometrical modifiers). Otherwise the edit-mesh data will be used for drawing, missing changes from modifiers. See T79517.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__is_original
-
setIs_original
public void setIs_original(byte is_original) throws java.io.IOException
Set method for struct member 'is_original'.Field Documentation
Blender Source Code
Copied from edit-mesh (hint, draw with edit-mesh data when true).
Modifiers that edit the mesh data in-place must set this to false (most #eModifierTypeType_NonGeometrical modifiers). Otherwise the edit-mesh data will be used for drawing, missing changes from modifiers. See T79517.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__is_original
-
getWrapper_type
public byte getWrapper_type() throws java.io.IOException
Get method for struct member 'wrapper_type'.Field Documentation
Blender Source Code
eMeshWrapperType and others.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrapper_type
-
setWrapper_type
public void setWrapper_type(byte wrapper_type) throws java.io.IOException
Set method for struct member 'wrapper_type'.Field Documentation
Blender Source Code
eMeshWrapperType and others.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrapper_type
-
getWrapper_type_finalize
public byte getWrapper_type_finalize() throws java.io.IOException
Get method for struct member 'wrapper_type_finalize'.Field Documentation
Blender Source Code
A type mask from wrapper_type, in case there are differences in finalizing logic between types.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrapper_type_finalize
-
setWrapper_type_finalize
public void setWrapper_type_finalize(byte wrapper_type_finalize) throws java.io.IOException
Set method for struct member 'wrapper_type_finalize'.Field Documentation
Blender Source Code
A type mask from wrapper_type, in case there are differences in finalizing logic between types.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrapper_type_finalize
-
getSubsurf_runtime_data
public CPointer<java.lang.Object> getSubsurf_runtime_data() throws java.io.IOException
Get method for struct member 'subsurf_runtime_data'.Field Documentation
Blender Source Code
Settings for lazily evaluating the subdivision on the CPU if needed. These are set in the modifier when GPU subdivision can be performed, and owned by the by the modifier in the object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subsurf_runtime_data
-
setSubsurf_runtime_data
public void setSubsurf_runtime_data(CPointer<java.lang.Object> subsurf_runtime_data) throws java.io.IOException
Set method for struct member 'subsurf_runtime_data'.Field Documentation
Blender Source Code
Settings for lazily evaluating the subdivision on the CPU if needed. These are set in the modifier when GPU subdivision can be performed, and owned by the by the modifier in the object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subsurf_runtime_data
-
get_pad1
public CPointer<java.lang.Object> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CPointer<java.lang.Object> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.Field Documentation
Blender Source Code
Caches for lazily computed vertex and polygon normals. These are stored here rather than in
CustomData
because they can be calculated on a const mesh, and adding custom data layers on a const mesh is not thread-safe.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.Field Documentation
Blender Source Code
Caches for lazily computed vertex and polygon normals. These are stored here rather than in
CustomData
because they can be calculated on a const mesh, and adding custom data layers on a const mesh is not thread-safe.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getVert_normals_dirty
public byte getVert_normals_dirty() throws java.io.IOException
Get method for struct member 'vert_normals_dirty'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vert_normals_dirty
-
setVert_normals_dirty
public void setVert_normals_dirty(byte vert_normals_dirty) throws java.io.IOException
Set method for struct member 'vert_normals_dirty'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vert_normals_dirty
-
getPoly_normals_dirty
public byte getPoly_normals_dirty() throws java.io.IOException
Get method for struct member 'poly_normals_dirty'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__poly_normals_dirty
-
setPoly_normals_dirty
public void setPoly_normals_dirty(byte poly_normals_dirty) throws java.io.IOException
Set method for struct member 'poly_normals_dirty'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__poly_normals_dirty
-
getSubsurf_face_dot_tags
public CPointer<java.lang.Integer> getSubsurf_face_dot_tags() throws java.io.IOException
Get method for struct member 'subsurf_face_dot_tags'.Field Documentation
Blender Source Code
A #BLI_bitmap containing tags for the center vertices of subdivided polygons, set by the subdivision surface modifier and used by drawing code instead of polygon center face dots.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subsurf_face_dot_tags
-
setSubsurf_face_dot_tags
public void setSubsurf_face_dot_tags(CPointer<java.lang.Integer> subsurf_face_dot_tags) throws java.io.IOException
Set method for struct member 'subsurf_face_dot_tags'.Field Documentation
Blender Source Code
A #BLI_bitmap containing tags for the center vertices of subdivided polygons, set by the subdivision surface modifier and used by drawing code instead of polygon center face dots.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subsurf_face_dot_tags
-
__io__addressof
public CPointer<Mesh_Runtime> __io__addressof()
Instantiates a pointer on this instance.
-
-