GeomPatches¶

class GeomPatches

Bases: GeomPrimitive

Defines a series of “patches”, fixed-size groupings of vertices that must be processed by a tessellation shader.

Inheritance diagram

explicit GeomPatches(int num_vertices_per_patch, GeomEnums::UsageHint usage_hint)
GeomPatches(GeomPatches const &copy)

The number of vertices per patch must be specified to the GeomPatches constructor, and it may not be changed during the lifetime of the GeomPatches object. Create a new GeomPatches if you need to have a different value.

static TypeHandle get_class_type(void)
bool validate_ptr(void const *ptr)