TextureHandle

class in Infernux.rendergraph

Description

A handle to a transient texture resource in the render graph.

description

Constructors

Signature Description
TextureHandle.__init__(name: str, format: Format, is_camera_target: bool = ..., size: Optional[Tuple[int, int]] = ..., size_divisor: int = ...) → None

constructors

Properties

Name Type Description
name str
format Format
is_camera_target bool
size Optional[Tuple[int, int]]
size_divisor int
is_depth bool Returns True if this texture uses a depth format. (read-only)

properties

Operators

Method Returns
__repr__() → str str
__eq__(other: object) → bool bool
__hash__() → int int

operators

Example

example

# TODO: Add example for TextureHandle

See Also

see_also