tfg.rendering.framebuffer.RasterizedAttribute

Stay organized with collections Save and categorize content based on your preferences.

A single rasterized attribute and optionally its screen-space derivatives.

Tensors are expected to have shape [batch, height, width, channels] or [batch, num_layers, height, width, channels].

Immutable once created.

is_multi_layer

value Dataclass field
d_dx Dataclass field
d_dy Dataclass field

Methods

layer

View source

Slices at the given layer index, returning a single-layer attribute.

__eq__

d_dx None
d_dy None