GLTF¶
-
class
pyrender.constants.GLTF[source]¶ Bases:
objectOptions for GL objects.
Attributes Summary
CLAMP_TO_EDGEClamp to the edge of the texture. LINEARLinear interpolation. LINEAR_MIPMAP_LINEARLinear mipmapping. LINEAR_MIPMAP_NEARESTLinear mipmapping. LINESRender as lines. LINE_LOOPRender as a line loop. LINE_STRIPRender as a line strip. MIRRORED_REPEATMirror the texture. NEARESTNearest neighbor interpolation. NEAREST_MIPMAP_LINEARNearest mipmapping. NEAREST_MIPMAP_NEARESTNearest mipmapping. POINTSRender as points. REPEATRepeat the texture. TRIANGLESRender as triangles. TRIANGLE_FANRender as a triangle fan. TRIANGLE_STRIPRender as a triangle strip. Attributes Documentation
-
CLAMP_TO_EDGE= 33071¶ Clamp to the edge of the texture.
-
LINEAR= 9729¶ Linear interpolation.
-
LINEAR_MIPMAP_LINEAR= 9987¶ Linear mipmapping.
-
LINEAR_MIPMAP_NEAREST= 9985¶ Linear mipmapping.
-
LINES= 1¶ Render as lines.
-
LINE_LOOP= 2¶ Render as a line loop.
-
LINE_STRIP= 3¶ Render as a line strip.
-
MIRRORED_REPEAT= 33648¶ Mirror the texture.
-
NEAREST= 9728¶ Nearest neighbor interpolation.
-
NEAREST_MIPMAP_LINEAR= 9986¶ Nearest mipmapping.
-
NEAREST_MIPMAP_NEAREST= 9984¶ Nearest mipmapping.
-
POINTS= 0¶ Render as points.
-
REPEAT= 10497¶ Repeat the texture.
-
TRIANGLES= 4¶ Render as triangles.
-
TRIANGLE_FAN= 6¶ Render as a triangle fan.
-
TRIANGLE_STRIP= 5¶ Render as a triangle strip.
-