Expand description
Upload images to re_renderer
.
Functionsยง
- cast_
slice_ ๐to_ cow - color_
image_ ๐to_ gpu - depth_
image_ ๐to_ gpu - Uploads the image to a texture in a format that closely resembled the input. Uses no
Unorm/Snorm
formats. - generate_
texture_ ๐key Returns a texture key for the given image. - Get a valid, finite range for the gpu to use.
- Return whether an image should be assumed to be encoded in sRGB color space (โgamma spaceโ, no EOTF applied).
colormap
is currently only used for depth images.- narrow_
f64_ ๐to_ f32s - narrow_
i64_ ๐to_ f32s - narrow_
u64_ ๐to_ f32s - pad_
and_ ๐cast Pad an RGB image to RGBA and cast the results to bytes. - pad_
cast_ ๐img Pad an RGB image to RGBA and cast the results to bytes. - Determines if and how the shader needs to decode the image.
- Creates a
ImageDataDesc
for creating a texture from anImageInfo
.