TextureHandle

类位于 InfEngine.rendergraph

描述

渲染图中的临时纹理句柄。

description

构造函数

签名 描述
TextureHandle.__init__(name: str, format: Format, is_camera_target: bool = ..., size: Optional[Tuple[int, int]] = ..., size_divisor: int = ...) → None

constructors

属性

名称 类型 描述
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. (只读)

properties

运算符

方法 返回值
__repr__() → str str
__eq__(other: object) → bool bool
__hash__() → int int

operators

示例

# TODO: Add example for TextureHandle

example

另请参阅

see_also