ExMujoco.Types.RndFlag (ExMujoco v0.2.2)

Copy Markdown View Source

mjtRndFlag_ — flags enabling rendering effects. From MuJoCo's headers, as numbers. All 13 values carry a number in the header.

Summary

Functions

mjRND_ADDITIVE is 3 — additive transparency.

mjRND_CULL_FACE is 10 — cull backward faces.

mjRND_DEPTH is 7 — depth.

mjRND_FOG is 5 — fog.

mjRND_HAZE is 6 — haze.

mjRND_IDCOLOR is 9 — segmentation with segid+1 color.

mjNRNDFLAG is 12 — number of rendering flags.

mjRND_POST_PROCESSING is 11 — post-processing (e.g. color grading, bloom, etc.).

mjRND_REFLECTION is 2 — reflections.

mjRND_SEGMENT is 8 — segmentation with random color.

mjRND_SHADOW is 0 — shadows.

mjRND_SKYBOX is 4 — skybox.

The name behind an integer. An atom is already one.

The integer behind a name. An integer is already one.

Every value, as {name, integer}, in the order the header lists them.

mjRND_WIREFRAME is 1 — wireframe.

Types

t()

@type t() :: integer()

Functions

additive()

@spec additive() :: 3

mjRND_ADDITIVE is 3 — additive transparency.

cull_face()

@spec cull_face() :: 10

mjRND_CULL_FACE is 10 — cull backward faces.

depth()

@spec depth() :: 7

mjRND_DEPTH is 7 — depth.

fog()

@spec fog() :: 5

mjRND_FOG is 5 — fog.

haze()

@spec haze() :: 6

mjRND_HAZE is 6 — haze.

idcolor()

@spec idcolor() :: 9

mjRND_IDCOLOR is 9 — segmentation with segid+1 color.

mjnrndflag()

@spec mjnrndflag() :: 12

mjNRNDFLAG is 12 — number of rendering flags.

post_processing()

@spec post_processing() :: 11

mjRND_POST_PROCESSING is 11 — post-processing (e.g. color grading, bloom, etc.).

reflection()

@spec reflection() :: 2

mjRND_REFLECTION is 2 — reflections.

segment()

@spec segment() :: 8

mjRND_SEGMENT is 8 — segmentation with random color.

shadow()

@spec shadow() :: 0

mjRND_SHADOW is 0 — shadows.

skybox()

@spec skybox() :: 4

mjRND_SKYBOX is 4 — skybox.

to_atom(value)

@spec to_atom(integer() | atom()) :: atom() | nil

The name behind an integer. An atom is already one.

to_integer(value)

@spec to_integer(t() | atom()) :: integer() | nil

The integer behind a name. An integer is already one.

values()

@spec values() :: [{atom(), integer()}]

Every value, as {name, integer}, in the order the header lists them.

wireframe()

@spec wireframe() :: 1

mjRND_WIREFRAME is 1 — wireframe.