GLTF

class pyrender.constants.GLTF[source]

Bases: object

Options for GL objects.

Attributes Summary

CLAMP_TO_EDGE Clamp to the edge of the texture.
LINEAR Linear interpolation.
LINEAR_MIPMAP_LINEAR Linear mipmapping.
LINEAR_MIPMAP_NEAREST Linear mipmapping.
LINES Render as lines.
LINE_LOOP Render as a line loop.
LINE_STRIP Render as a line strip.
MIRRORED_REPEAT Mirror the texture.
NEAREST Nearest neighbor interpolation.
NEAREST_MIPMAP_LINEAR Nearest mipmapping.
NEAREST_MIPMAP_NEAREST Nearest mipmapping.
POINTS Render as points.
REPEAT Repeat the texture.
TRIANGLES Render as triangles.
TRIANGLE_FAN Render as a triangle fan.
TRIANGLE_STRIP Render 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.