stillleben.Texture class

An RGBA texture.

Contents

Special methods

def __init__(self, path: object) -> None
Load the texture from the specified path.
def __init__(self, tensor: at::Tensor) -> None
Load an RGB texture from the specified HxWx3 CPU byte tensor.