Scripting / Reference
Rendering
Types in the ParelVR.Volt.Rendering namespace.
VoltRenderTexture#
ParelVR.Volt.Rendering.VoltRenderTexture reference extends VoltTexture
A texture a camera draws into. Give it to and show it on any renderer or raw image of the world. One can be part of the world (assigned in the inspector) or made by a script with .
VoltRenderTexture methods#
Fills the texture with one colour.
Makes a render texture with a depth buffer. Sides from 16 to 2048 pixels; a world can have 16 of them at once and 16 million pixels in all. They are freed when the world unloads, or earlier with .
Frees a texture made with . Textures that are part of the world cannot be released.
VoltTexture#
ParelVR.Volt.Rendering.VoltTexture reference extends VoltObject
A picture: a texture that is part of the world, or a render texture a camera draws into.
VoltTexture properties#
Height in pixels.
Width in pixels.
