Texture Buffer

From RealMotion Wiki

Content/Texture Buffer

Generates a texture filled with a user-selected color. ​

Description

The Texture Buffer box generates a texture filled with a single configurable color through a RGBA value . Depending on the usage and the simulation needs, the texture format and resolution may be changed.

General Use Case: In RealMotion, the Texture Buffer is used to generate a Render Target to be drawn on.

Inputs

Color Float4 Overrides the Color value for each pixel of the created texture.

Outputs

Texture 2D Render Target Outputs the created texture.

Parameters

General

Enable Input Pin: Color Toggle Enables the Color Input Pin and overrides the Color parameters.
Color Float4 Sets the clear value for each pixel of the created texture.

Format

|}

Channel Settings

Format String Sets the format of the outputted texture. RGBA 8 bits is the common format. RGBA 16 bits allows negative vector calculation and is mostly used for simulation. RGBA 32 bits allows high precision but may negatively affect the FPS and the Grayscale has only the Red component.
Format Components String Sets the Components used for the outputted texture.
Format Component Bit Depth String Sets the Bit Depth of the outputted texture. 8 bits is the common format, 16 bits allow negative vector calculation and is mostly used for simulation, 32 bits allow high precision but may negatively affect the FPS.
Format Component Type String Sets the pixels value type depending on the Bit Depth.

Canvas Settings

Resolution Mode String Sets the Resolution Mode. Canvas uses the project configuration settings, Custom uses local setting resolution not shared with other box and Project Aspect Ratio uses the project aspect ratio and proportionally scales the height and width. The parameter chooses the reference Canvas setting the resolution of the outputted texture.
Canvas 2D ResolutionRef Chooses the reference Canvas and sets the resolution of the outputted texture.
Maximum Resolution Int Sets the maximal resolution of the X-axis and calculates the resolution of the Y-axis based on the aspect ratio of the Content Canvas.
Lock Aspect Ratio Toggle Locks the Aspect Ratio for Custom resolution.
Aspect Ratio 2D ResolutionRef Chooses the reference Canvas for the aspect ratio.
Size XY Int2 Sets the size in pixels of the outputted texture.

Multisampling Setting

Subsample count String Sets the number of multisamples per pixel for MSAA. High value may reduce the frame rate.

See Also

Boxes related

Scene Renderer, Paint, Texture, Texture Out, Accumulate, Add, ​​

Version Information

Current documentation version: 2.1.0. ​ ​