本来是为了提速render,记录下内部的一些参数的含义
NONE = 0
"""Normal PBR Render."""
DEPTH_ONLY = 1
"""Only render the depth buffer."""
OFFSCREEN = 2
"""Render offscreen and return the depth and (optionally) color buffers."""
FLIP_WIREFRAME = 4
"""Invert the status of wireframe rendering for each mesh."""
ALL_WIREFRAME = 8
"""Render all meshes as wireframes."""
ALL_SOLID = 16
"""Render all meshes as solids."""
SHADOWS_DIRECTIONAL = 32
"""Render shadows for directional lights."""
SHADOWS_POINT = 64
"""Render shadows for point lights."""
SHADOWS_SPOT = 128
"""Render shadows for spot lights."""
SHADOWS_ALL = 32 | 64 | 128
"""Render shadows for all lights."""
VERTEX_NORMALS = 256
"""Render vertex normals."""
FACE_NORMALS = 512
"""Render face normals."""
SKIP_CULL_FACES = 1024
"""Do not cull back faces."""
RGBA = 2048
"""Render the color buffer with the alpha c

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



