Meta_RenderToTexture

A RenderToTexture is a texture that is rendered into by a Viewport which should be a child node.

Public Types


enum Format

Values for Idx_TextureFormat.

Format_RGBA8

Symbols - C: "RGBA8", Lua: __RenderToTexture_RGBA8

Format_RGBA8_ToneMap

Symbols - C: "RGBA8ToneMap", Lua: __RenderToTexture_RGBA8ToneMap

Format_RGBA16

Symbols - C: "RGBA16", Lua: __RenderToTexture_RGBA16

Format_RGBA32

Symbols - C: "RGBA32", Lua: __RenderToTexture_RGBA32

Format_Luminance8

Symbols - C: "Luminance8", Lua: __RenderToTexture_Luminance8

Format_Luminance8_ToneMap

Symbols - C: "Luminance8ToneMap", Lua: __RenderToTexture_Luminance8ToneMap

Format_Luminance16

Symbols - C: "Luminance16", Lua: __RenderToTexture_Luminance16

Format_Luminance32

Symbols - C: "Luminance32", Lua: __RenderToTexture_Luminance32


enum IDX

Property index.

Idx_Enabled

bool - When enabled, the texture is updated

Idx_TextureSize

vec2i - The size of the texture to generate and render into

Idx_TextureFormat

Format (int) - The texture format to generate

Idx_Stereo

bool - When enabled, renders both eyes

Idx_MipmapEnabled

bool - When enabled, mipmaps are automatically calculcated

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API