利用者:Nicholasbishop/DrawingNotes
< 利用者:Nicholasbishop
2012年3月7日 (水) 20:32時点におけるwiki>Nicholasbishopによる版
- DerivedMesh Drawing Function Pointers
- No callbacks
- drawVerts
- No callbacks
Called from: - drawobject.c, draw_mesh_fancy (only if halo mat, or no
faces/edges)
- drawUVEdges
Called from: - uvedit_draw.c, draw_uvs_dm_shadow
- drawEdges
Called from: - drawobject.c, draw_em_fancy - drawobject.c, draw_mesh_object_outline - drawobject.c, draw_mesh_fancy, 2x - drawobject.c, draw_object_mesh_instance, 2x
- drawLooseEdges
Called from: - drawobject.c, draw_mesh_fancy, 2x
- drawFacesSolid
Called from: - drawobject.c, draw_mesh_object_outline - drawobject.c, draw_mesh_fancy, 3x - drawobject.c, drawCurveDerivedMesh - drawobject.c, draw_object_mesh_instance
Callbacks used for setMaterial: - GPU_enable_material
- drawFacesTex
Called from: - drawmesh.c, draw_mesh_textured_old (non-Cycles maybe?), three mutually exclusive invocations
Callbacks used for setDrawOptions: - draw_mcol__set_draw_legacy (drawmesh.c) - draw_tface__set_draw_legacy (drawmesh.c) - draw_tface__set_draw (drawmesh.c)
Callbacks used for compareDrawOptions: - compareDrawOptions (drawmesh.c)
- drawFacesGLSL
Called from: - drawobject.c, draw_mesh_fancy, depends on various draw/mode flags - drawobject.c, drawCurveDerivedMesh (extruded curves probably?)
Callbacks used for setMaterial: - GPU_enable_material
- drawMappedFaces
Called from: - drawobject.c, draw_dm_faces_sel - drawobject.c, draw_em_fancy - drawobject.c, draw_mesh_fancy, five mutually exclusive invocations - drawobject.c, bbs_mesh_solid_EM (probably more selection?), two mutually exclusive invocations - drawobject.c, bbs_mesh_solid, two mutually exclusive invocations - drawobject.c, draw_object_backbufsel - drawobject.c, draw_object_mesh_instance, seems to be just for draw_custom_bone (armature)? - drawmesh.c, draw_mesh_textured_old, weightpaint - drawmesh.c, draw_mesh_textured, weightpaint
Callbacks used for setDrawOptions: - draw_dm_faces_sel__setDrawOptions (drawobject.c) - draw_em_fancy__setFaceOpts (drawobject.c) - wpaint__setSolidDrawOptions (drawobject.c) - bbs_mesh_solid__setSolidDrawOptions (drawobject.c) - bbs_mesh_solid__setDrawOpts (drawobject.c) - bbs_mesh_solid_hide__setDrawOpts (drawobject.c) - bbs_mesh_solid_hide2__setDrawOpts (drawobject.c) - wpaint__setSolidDrawOptions_facemask (drawmesh.c) - wpaint__setSolidDrawOptions_material (drawmesh.c) - NULL
Callbacks used for setMaterial: - GPU_enable_material
Callbacks used for compareDrawOptions: - draw_dm_faces_sel__compareDrawOptions - NULL
- drawMappedFacesTex
Called from: - drawmesh.c, draw_mesh_face_select (drawing selected faces?) - drawmesh.c, draw_mesh_textured_old, two mutually exclusive invocations
Callbacks used for setDrawOptions: - draw_mesh_face_select__drawFaceOptsInv (drawmesh.c) - draw_em_tf_mapped__set_draw (drawmesh.c) - draw_tface_mapped__set_draw (drawmesh.c) - NULL
Callbacks used for compareDrawOptions: - compareDrawOptionsEm (drawmesh.c) - NULL
- drawMappedFacesGLSL
Called from: - drawobject.c, draw_em_fancy
Callbacks used for setMaterial: - GPU_enable_material
Callbacks used for setDrawOptions: - draw_em_fancy__setGLSLFaceOpts (drawobject.c)
- drawMappedEdges
Called from: - drawobject.c, draw_dm_edges_sel - drawobject.c, draw_dm_edges - drawobject.c, draw_dm_edges_seams - drawobject.c, draw_dm_edges_sharp - drawobject.c, draw_dm_creases - drawobject.c, draw_dm_bweights - drawobject.c, bbs_mesh_wire - drawmesh.c, draw_mesh_face_select, two invocations
Callbacks used for setDrawOptions: - draw_dm_edges_sel__setDrawOptions (drawobject.c) - draw_dm_edges__setDrawOptions (drawobject.c) - draw_dm_edges_seams__setDrawOptions (drawobject.c) - draw_dm_edges_sharp__setDrawOptions (drawobject.c) - draw_dm_creases__setDrawOptions (drawobject.c) - draw_dm_bweights__setDrawOptions (drawobject.c) - bbs_mesh_wire__setDrawOptions (drawobject.c) - draw_mesh_face_select__setHiddenOpts (drawmesh.c) - draw_mesh_face_select__setSelectOpts (drawmesh.c)
- drawMappedEdgesInterp
Called from: - drawobject.c, draw_dm_edges_sel_interp - drawobject.c, draw_em_fancy_edges
Callbacks used for setDrawOptions: - draw_dm_edges_sel_interp__setDrawOptions (drawobject.c)
Callbacks used for setDrawInterpOptions: - draw_dm_edges_sel_interp__setDrawInterpOptions (drawobject.c)
- drawMappedFacesMat
Called from: - drawmesh.c, draw_mesh_textured, two mutually exclusive invocations
Callbacks used for setMaterial: - tex_mat_set_material_cb - tex_mat_set_texture_cb
Callbacks used for setFace: - set_face_cb