GeomPatches
from panda3d.core import GeomPatches
- class GeomPatches
Bases:
Bases:
GeomPrimitiveDefines a series of “patches”, fixed-size groupings of vertices that must be processed by a tessellation shader.
Inheritance diagram
- __init__(copy: GeomPatches)
- __init__(num_vertices_per_patch: int, usage_hint: UsageHint)
The number of vertices per patch must be specified to the
GeomPatchesconstructor, and it may not be changed during the lifetime of theGeomPatchesobject. Create a newGeomPatchesif you need to have a different value.
- static getClassType() TypeHandle
