SYMBOL INDEX (573 symbols across 77 files) FILE: __init__.py function clear_modules (line 33) | def clear_modules(): function register (line 62) | def register(): function unregister (line 136) | def unregister(): FILE: absolute_path.py function absolute_path (line 3) | def absolute_path(component: str): FILE: api/backend/backend.py class Backend (line 11) | class Backend(bpy.types.PropertyGroup): method register (line 29) | def register(cls): method unregister (line 34) | def unregister(cls): method _id (line 39) | def _id(cls) -> str: method _attribute (line 43) | def _attribute(cls) -> str: method _lookup (line 47) | def _lookup(cls, id): method _list_backends (line 54) | def _list_backends(cls): method list_models (line 57) | def list_models(self, context) -> List[Model]: method list_controlnet_models (line 64) | def list_controlnet_models(self, context) -> List[Model]: method list_schedulers (line 71) | def list_schedulers(self, context) -> List[str]: method draw_prompt (line 75) | def draw_prompt(self, layout, context): method draw_advanced (line 79) | def draw_advanced(self, layout, context): method draw_speed_optimizations (line 83) | def draw_speed_optimizations(self, layout, context): method draw_memory_optimizations (line 87) | def draw_memory_optimizations(self, layout, context): method draw_extra (line 91) | def draw_extra(self, layout, context): method get_batch_size (line 95) | def get_batch_size(self, context) -> int: method generate (line 102) | def generate( method validate (line 116) | def validate( FILE: api/models/control_net.py class ControlNet (line 6) | class ControlNet: FILE: api/models/fix_it_error.py class FixItError (line 5) | class FixItError(Exception): method __init__ (line 10) | def __init__(self, message, solution: 'Solution'): method _draw (line 15) | def _draw(self, dream_prompt, context, layout): class Solution (line 19) | class Solution: method _draw (line 20) | def _draw(self, dream_prompt, context, layout): class ChangeProperty (line 24) | class ChangeProperty(Solution): method _draw (line 28) | def _draw(self, dream_prompt, context, layout): class RunOperator (line 32) | class RunOperator(Solution): method _draw (line 38) | def _draw(self, dream_prompt, context, layout): FILE: api/models/generation_arguments.py class GenerationArguments (line 11) | class GenerationArguments: method _map_property_name (line 79) | def _map_property_name(name: str) -> str | List[str] | None: FILE: api/models/generation_result.py class GenerationResult (line 7) | class GenerationResult: method tile_images (line 51) | def tile_images(results: list['GenerationResult']) -> NDArray: FILE: api/models/model.py class Model (line 4) | class Model: FILE: api/models/prompt.py class Prompt (line 5) | class Prompt: FILE: api/models/seamless_axes.py class SeamlessAxes (line 3) | class SeamlessAxes(Enum): method __init__ (line 19) | def __init__(self, id, text, x, y): method __eq__ (line 25) | def __eq__(self, other): method __and__ (line 40) | def __and__(self, other): method __or__ (line 43) | def __or__(self, other): method __xor__ (line 46) | def __xor__(self, other): method __invert__ (line 49) | def __invert__(self): method _missing_ (line 53) | def _missing_(cls, value): method bpy_enum (line 74) | def bpy_enum(self, *args): FILE: api/models/step_preview_mode.py class StepPreviewMode (line 3) | class StepPreviewMode(enum.Enum): FILE: api/models/task.py class Task (line 6) | class Task: method name (line 36) | def name(cls) -> str: class PromptToImage (line 41) | class PromptToImage(Task): method name (line 43) | def name(cls): class ImageToImage (line 47) | class ImageToImage(Task): method name (line 53) | def name(cls): class Inpaint (line 57) | class Inpaint(ImageToImage): class MaskSource (line 58) | class MaskSource(IntEnum): method name (line 67) | def name(cls): class DepthToImage (line 71) | class DepthToImage(Task): method name (line 77) | def name(cls): class Outpaint (line 81) | class Outpaint(Task): method name (line 86) | def name(cls): class Upscale (line 90) | class Upscale(Task): method name (line 96) | def name(cls): FILE: community_backends/test.py class TestBackend (line 11) | class TestBackend(Backend): method list_models (line 17) | def list_models(self, context) -> List[Model]: method list_schedulers (line 20) | def list_schedulers(self, context) -> List[str]: method generate (line 23) | def generate(self, task: Task, model: Model, prompt: Prompt, size: Tup... method draw_speed_optimizations (line 26) | def draw_speed_optimizations(self, layout, context): function register (line 29) | def register(): function unregister (line 32) | def unregister(): FILE: diffusers_backend.py function _convert_models (line 18) | def _convert_models(models): class DiffusersBackend (line 24) | class DiffusersBackend(Backend): method list_models (line 82) | def list_models(self, context): method list_controlnet_models (line 106) | def list_controlnet_models(self, context): method list_schedulers (line 117) | def list_schedulers(self, context) -> List[str]: method get_batch_size (line 120) | def get_batch_size(self, context) -> int: method optimizations (line 123) | def optimizations(self) -> Optimizations: method generate (line 133) | def generate(self, arguments: GenerationArguments, step_callback: Step... method validate (line 251) | def validate(self, arguments: GenerationArguments): method draw_advanced (line 278) | def draw_advanced(self, layout, context): method draw_speed_optimizations (line 284) | def draw_speed_optimizations(self, layout, context): method draw_memory_optimizations (line 298) | def draw_memory_optimizations(self, layout, context): FILE: engine/__init__.py class DreamTexturesNodeCategory (line 15) | class DreamTexturesNodeCategory(nodeitems_utils.NodeCategory): method poll (line 17) | def poll(cls, context): function register (line 73) | def register(): function unregister (line 131) | def unregister(): FILE: engine/annotations/ade20k.py function annotation_update (line 11) | def annotation_update(self, context): class ObjectADE20KData (line 14) | class ObjectADE20KData(bpy.types.PropertyGroup): function render_ade20k_map (line 27) | def render_ade20k_map(context, collection=None, invert=True): function draw_annotation (line 96) | def draw_annotation(vertices, indices, color): FILE: engine/annotations/depth.py function render_depth_map (line 8) | def render_depth_map(context, collection=None, invert=True, width=None, ... FILE: engine/annotations/normal.py function render_normal_map (line 8) | def render_normal_map(context, collection=None, width=None, height=None,... FILE: engine/annotations/openpose.py class Side (line 12) | class Side(enum.IntEnum): class Bone (line 16) | class Bone(enum.IntEnum): method identify (line 40) | def identify(self, armature, pose): method name_detection_options (line 53) | def name_detection_options(self): method color (line 92) | def color(self): class BoneOpenPoseData (line 115) | class BoneOpenPoseData(bpy.types.PropertyGroup): function render_openpose_map (line 135) | def render_openpose_map(context, collection=None): function draw_circle_2d (line 227) | def draw_circle_2d(center, radius, segments, color): function draw_ellipse_2d (line 244) | def draw_ellipse_2d(start, end, thickness, segments, color): FILE: engine/annotations/viewport.py function render_viewport_color (line 6) | def render_viewport_color(context, width=None, height=None, matrix=None,... FILE: engine/engine.py class DreamTexturesRenderEngine (line 17) | class DreamTexturesRenderEngine(bpy.types.RenderEngine): method __init__ (line 26) | def __init__(self): method __del__ (line 29) | def __del__(self): method render (line 32) | def render(self, depsgraph): method update_render_passes (line 70) | def update_render_passes(self, scene=None, renderlayer=None): class NewEngineNodeTree (line 74) | class NewEngineNodeTree(bpy.types.Operator): method execute (line 78) | def execute(self, context): function draw_device (line 106) | def draw_device(self, context): function _poll_node_tree (line 116) | def _poll_node_tree(self, value): function _update_engine_backend (line 119) | def _update_engine_backend(self, context): class DreamTexturesRenderEngineProperties (line 126) | class DreamTexturesRenderEngineProperties(bpy.types.PropertyGroup): function engine_panels (line 130) | def engine_panels(): FILE: engine/node.py class DreamTexturesNode (line 4) | class DreamTexturesNode(bpy.types.Node): method poll (line 6) | def poll(cls, tree): FILE: engine/node_executor.py class NodeExecutionContext (line 5) | class NodeExecutionContext: method __init__ (line 6) | def __init__(self, depsgraph, start, update, end, test_break, cache={}): method _evaluate_input (line 15) | def _evaluate_input(self, input): method execute (line 27) | def execute(self, node): function execute (line 71) | def execute(node_tree, depsgraph, node_begin=lambda node: None, node_upd... FILE: engine/node_tree.py class DreamTexturesNodeTree (line 3) | class DreamTexturesNodeTree(bpy.types.NodeTree): method poll (line 10) | def poll(cls, context): FILE: engine/nodes/annotation_nodes.py function _update_annotation_inputs (line 15) | def _update_annotation_inputs(self, context): class NodeAnnotationDepth (line 19) | class NodeAnnotationDepth(DreamTexturesNode): method init (line 25) | def init(self, context): method draw_buttons (line 31) | def draw_buttons(self, context, layout): method execute (line 34) | def execute(self, context, collection, invert): class NodeAnnotationNormal (line 41) | class NodeAnnotationNormal(DreamTexturesNode): method init (line 47) | def init(self, context): method draw_buttons (line 52) | def draw_buttons(self, context, layout): method execute (line 55) | def execute(self, context, collection): class NodeAnnotationOpenPose (line 62) | class NodeAnnotationOpenPose(DreamTexturesNode): method init (line 68) | def init(self, context): method draw_buttons (line 73) | def draw_buttons(self, context, layout): method execute (line 76) | def execute(self, context, collection): class NodeAnnotationADE20K (line 83) | class NodeAnnotationADE20K(DreamTexturesNode): method init (line 89) | def init(self, context): method draw_buttons (line 94) | def draw_buttons(self, context, layout): method execute (line 97) | def execute(self, context, collection): class NodeAnnotationViewport (line 104) | class NodeAnnotationViewport(DreamTexturesNode): method init (line 108) | def init(self, context): method draw_buttons (line 111) | def draw_buttons(self, context, layout): method execute (line 114) | def execute(self, context): FILE: engine/nodes/input_nodes.py class NodeString (line 10) | class NodeString(DreamTexturesNode): method init (line 16) | def init(self, context): method draw_buttons (line 19) | def draw_buttons(self, context, layout): method execute (line 22) | def execute(self, context): class NodeInteger (line 27) | class NodeInteger(DreamTexturesNode): method init (line 33) | def init(self, context): method draw_buttons (line 36) | def draw_buttons(self, context, layout): method execute (line 39) | def execute(self, context): class NodeCollection (line 44) | class NodeCollection(DreamTexturesNode): method init (line 50) | def init(self, context): method draw_buttons (line 53) | def draw_buttons(self, context, layout): method execute (line 56) | def execute(self, context): class NodeImage (line 61) | class NodeImage(DreamTexturesNode): method init (line 67) | def init(self, context): method draw_buttons (line 70) | def draw_buttons(self, context, layout): method execute (line 75) | def execute(self, context): class NodeImageFile (line 82) | class NodeImageFile(DreamTexturesNode): method init (line 86) | def init(self, context): method draw_buttons (line 91) | def draw_buttons(self, context, layout): method execute (line 94) | def execute(self, context, path): class NodeRenderProperties (line 101) | class NodeRenderProperties(DreamTexturesNode): method init (line 105) | def init(self, context): method draw_buttons (line 111) | def draw_buttons(self, context, layout): method execute (line 114) | def execute(self, context): FILE: engine/nodes/pipeline_nodes.py class NodeSocketControlNet (line 19) | class NodeSocketControlNet(bpy.types.NodeSocket): method __init__ (line 23) | def __init__(self): method draw (line 26) | def draw(self, context, layout, node, text): method draw_color (line 29) | def draw_color(self, context, node): class ControlType (line 32) | class ControlType(enum.IntEnum): class ControlNet (line 39) | class ControlNet: method control (line 46) | def control(self, context): function _update_stable_diffusion_sockets (line 60) | def _update_stable_diffusion_sockets(self, context): class NodeStableDiffusion (line 68) | class NodeStableDiffusion(DreamTexturesNode): method update (line 80) | def update(self): method init (line 83) | def init(self, context): method draw_buttons (line 104) | def draw_buttons(self, context, layout): method execute (line 111) | def execute(self, context, prompt, negative_prompt, width, height, ste... function _update_control_net_sockets (line 183) | def _update_control_net_sockets(self, context): class NodeControlNet (line 187) | class NodeControlNet(DreamTexturesNode): method init (line 203) | def init(self, context): method draw_buttons (line 212) | def draw_buttons(self, context, layout): method execute (line 218) | def execute(self, context, collection, image, conditioning_scale): FILE: engine/nodes/utility_nodes.py class NodeMath (line 8) | class NodeMath(DreamTexturesNode): method init (line 22) | def init(self, context): method draw_buttons (line 28) | def draw_buttons(self, context, layout): method perform (line 31) | def perform(self, a, b): method execute (line 42) | def execute(self, context, a, b): class NodeRandomValue (line 47) | class NodeRandomValue(DreamTexturesNode): method init (line 55) | def init(self, context): method draw_buttons (line 61) | def draw_buttons(self, context, layout): method execute (line 64) | def execute(self, context, min, max): class NodeRandomSeed (line 69) | class NodeRandomSeed(DreamTexturesNode): method init (line 73) | def init(self, context): method draw_buttons (line 76) | def draw_buttons(self, context, layout): method execute (line 79) | def execute(self, context): class NodeSeed (line 84) | class NodeSeed(DreamTexturesNode): method init (line 90) | def init(self, context): method draw_buttons (line 93) | def draw_buttons(self, context, layout): method execute (line 96) | def execute(self, context): class NodeClamp (line 101) | class NodeClamp(DreamTexturesNode): method init (line 105) | def init(self, context): method draw_buttons (line 112) | def draw_buttons(self, context, layout): method execute (line 115) | def execute(self, context, value, min, max): class NodeFramePath (line 120) | class NodeFramePath(DreamTexturesNode): method init (line 124) | def init(self, context): method draw_buttons (line 129) | def draw_buttons(self, context, layout): method execute (line 132) | def execute(self, context, frame): class NodeCropImage (line 137) | class NodeCropImage(DreamTexturesNode): method init (line 141) | def init(self, context): method draw_buttons (line 150) | def draw_buttons(self, context, layout): method execute (line 153) | def execute(self, context, image, x, y, width, height): class NodeResizeImage (line 162) | class NodeResizeImage(DreamTexturesNode): method init (line 166) | def init(self, context): method draw_buttons (line 173) | def draw_buttons(self, context, layout): method execute (line 176) | def execute(self, context, image, width, height): class NodeJoinImages (line 183) | class NodeJoinImages(DreamTexturesNode): method init (line 192) | def init(self, context): method draw_buttons (line 198) | def draw_buttons(self, context, layout): method execute (line 201) | def execute(self, context, a, b): class NodeSeparateColor (line 212) | class NodeSeparateColor(DreamTexturesNode): method init (line 216) | def init(self, context): method draw_buttons (line 224) | def draw_buttons(self, context, layout): method execute (line 227) | def execute(self, context, color): class NodeCombineColor (line 235) | class NodeCombineColor(DreamTexturesNode): method init (line 239) | def init(self, context): method draw_buttons (line 247) | def draw_buttons(self, context, layout): method execute (line 250) | def execute(self, context, red, green, blue, alpha): class NodeColorCorrect (line 255) | class NodeColorCorrect(DreamTexturesNode): method init (line 263) | def init(self, context): method draw_buttons (line 269) | def draw_buttons(self, context, layout): method execute (line 272) | def execute(self, context, image, target): class NodeSwitch (line 292) | class NodeSwitch(DreamTexturesNode): method init (line 296) | def init(self, context): method draw_buttons (line 303) | def draw_buttons(self, context, layout): method execute (line 306) | def execute(self, context, switch, false, true): class NodeCompare (line 311) | class NodeCompare(DreamTexturesNode): method init (line 324) | def init(self, context): method draw_buttons (line 330) | def draw_buttons(self, context, layout): method execute (line 333) | def execute(self, context, a, b): class NodeReplaceString (line 351) | class NodeReplaceString(DreamTexturesNode): method init (line 355) | def init(self, context): method draw_buttons (line 362) | def draw_buttons(self, context, layout): method execute (line 365) | def execute(self, context, string, find, replace): FILE: generator_process/__init__.py class RunInSubprocess (line 5) | class RunInSubprocess(Exception): method __new__ (line 12) | def __new__(cls, func=None): method always (line 19) | def always(func): method when (line 28) | def when(condition: bool | Callable[..., bool]): method when_raised (line 45) | def when_raised(func): method _copy_attributes (line 57) | def _copy_attributes(src, dst): class Generator (line 62) | class Generator(Actor): method call (line 82) | def call(func, *args, **kwargs): FILE: generator_process/actions/choose_device.py function choose_device (line 4) | def choose_device(self, optimizations) -> str: FILE: generator_process/actions/control_net.py function control_net (line 14) | def control_net( FILE: generator_process/actions/controlnet_aux.py function controlnet_aux (line 6) | def controlnet_aux( FILE: generator_process/actions/convert_original_stable_diffusion_to_diffusers.py function convert_original_stable_diffusion_to_diffusers (line 8) | def convert_original_stable_diffusion_to_diffusers( FILE: generator_process/actions/depth_to_image.py function depth_to_image (line 12) | def depth_to_image( FILE: generator_process/actions/detect_seamless/__init__.py function detect_seamless (line 9) | def detect_seamless(self, image: image_utils.ImageOrPath) -> SeamlessAxes: FILE: generator_process/actions/huggingface_hub.py class Model (line 22) | class Model: function hf_list_models (line 30) | def hf_list_models( function hf_list_installed_models (line 54) | def hf_list_installed_models(self) -> list[Model]: class DownloadStatus (line 120) | class DownloadStatus: method hook_download_tqdm (line 126) | def hook_download_tqdm(cls, future): function hf_snapshot_download (line 156) | def hf_snapshot_download( FILE: generator_process/actions/image_to_image.py function image_to_image (line 14) | def image_to_image( FILE: generator_process/actions/inpaint.py function inpaint (line 11) | def inpaint( FILE: generator_process/actions/load_model.py function revision_paths (line 9) | def revision_paths(model, config="model_index.json"): function cache_check (line 37) | def cache_check(*, exists_callback=None): function _load_controlnet_model (line 52) | def _load_controlnet_model(cache, model, half_precision): function _load_checkpoint (line 94) | def _load_checkpoint(model_class, checkpoint, dtype, **kwargs): function _convert_pipe (line 136) | def _convert_pipe(cache, model, pipe, model_class, half_precision, sched... function _load_pipeline (line 148) | def _load_pipeline(cache, model, model_class, half_precision, scheduler,... function load_model (line 185) | def load_model(self, model_class, model, optimizations, scheduler, contr... FILE: generator_process/actions/outpaint.py function outpaint (line 7) | def outpaint( FILE: generator_process/actions/prompt_to_image.py function prompt_to_image (line 13) | def prompt_to_image( function _conv_forward_asymmetric (line 128) | def _conv_forward_asymmetric(self, input, weight, bias): function _lora_compatible_conv_forward (line 151) | def _lora_compatible_conv_forward(self, hidden_states, scale=1.0): function _configure_model_padding (line 154) | def _configure_model_padding(model, seamless_axes): FILE: generator_process/actions/upscale.py function upscale (line 11) | def upscale( FILE: generator_process/actor.py function _patch_zip_direct_transformers_import (line 13) | def _patch_zip_direct_transformers_import(): function _load_dependencies (line 26) | def _load_dependencies(): function main_thread_rendering_finished (line 55) | def main_thread_rendering_finished(): class ActorContext (line 61) | class ActorContext(enum.IntEnum): class Message (line 71) | class Message: method __init__ (line 78) | def __init__(self, method_name, args, kwargs): function _start_backend (line 86) | def _start_backend(cls, message_queue, response_queue): class TracedError (line 93) | class TracedError(BaseException): method __init__ (line 94) | def __init__(self, base: BaseException, trace: str): class Actor (line 100) | class Actor: method __init__ (line 125) | def __init__(self, context: ActorContext, message_queue: Queue = None,... method _setup (line 132) | def _setup(self): method shared (line 145) | def shared(cls: Type[T]) -> T: method start (line 148) | def start(self: T) -> T: method close (line 172) | def close(self): method shared_close (line 185) | def shared_close(cls: Type[T]): method is_alive (line 191) | def is_alive(self): method can_use (line 198) | def can_use(self): method _backend_loop (line 203) | def _backend_loop(self): method _receive (line 207) | def _receive(self, message: Message): method _send (line 245) | def _send(self, name): method __del__ (line 277) | def __del__(self): FILE: generator_process/block_in_use.py function block_in_use (line 1) | def block_in_use(func): FILE: generator_process/directml_patches.py function pad (line 10) | def pad(input, pad, mode="constant", value=None, *, pre_patch): function layer_norm (line 32) | def layer_norm(input, normalized_shape, weight = None, bias = None, eps ... function retry_OOM (line 38) | def retry_OOM(module): function enable (line 81) | def enable(pipe): function disable (line 134) | def disable(pipe): FILE: generator_process/future.py class Future (line 5) | class Future: method __init__ (line 22) | def __init__(self): method result (line 33) | def result(self, last_only=False): method exception (line 55) | def exception(self): method cancel (line 62) | def cancel(self): method _run_on_main_thread (line 65) | def _run_on_main_thread(self, func): method add_response (line 75) | def add_response(self, response): method set_exception (line 85) | def set_exception(self, exception: BaseException): method set_done (line 95) | def set_done(self): method add_response_callback (line 108) | def add_response_callback(self, callback: Callable[['Future', Any], No... method add_exception_callback (line 115) | def add_exception_callback(self, callback: Callable[['Future', BaseExc... method add_done_callback (line 124) | def add_done_callback(self, callback: Callable[['Future'], None]): FILE: generator_process/models/checkpoint.py class Checkpoint (line 7) | class Checkpoint: FILE: generator_process/models/image_generation_result.py function step_latents (line 4) | def step_latents(pipe, mode, latents, generator, iteration, steps): function step_images (line 54) | def step_images(images, generator, iteration, steps): function decode_latents (line 68) | def decode_latents(pipe, latents): function approximate_decoded_latents (line 71) | def approximate_decoded_latents(latents, scale=None): FILE: generator_process/models/model_config.py class ModelConfig (line 6) | class ModelConfig(enum.Enum): method original_config (line 19) | def original_config(self): method pipeline (line 43) | def pipeline(self): FILE: generator_process/models/model_type.py class ModelType (line 7) | class ModelType(enum.IntEnum): method _missing_ (line 21) | def _missing_(cls, _): method recommended_model (line 24) | def recommended_model(self) -> str: method matches_task (line 41) | def matches_task(self, task: Task) -> bool: method from_task (line 63) | def from_task(task: Task) -> 'ModelType | None': method from_config (line 79) | def from_config(config: ModelConfig): FILE: generator_process/models/optimizations.py class CPUOffload (line 11) | class CPUOffload(Enum): method __bool__ (line 16) | def __bool__(self): class Optimizations (line 21) | class Optimizations: method infer_device (line 41) | def infer_device() -> str: method device_supports (line 51) | def device_supports(cls, property, device) -> bool: method can_use (line 60) | def can_use(self, property, device) -> bool: method can_use_half (line 63) | def can_use_half(self, device): method cpu_offloading (line 70) | def cpu_offloading(self, device): method apply (line 73) | def apply(self, pipeline, device): FILE: generator_process/models/scheduler.py class Scheduler (line 3) | class Scheduler(enum.Enum): method create (line 23) | def create(self, pipeline): FILE: generator_process/models/upscale_tiler.py class UpscaleTiler (line 9) | class UpscaleTiler: method __init__ (line 10) | def __init__( method axis_tiles (line 60) | def axis_tiles(axis_size: int, tile_size: int, blend: int, seamless: b... method combined (line 76) | def combined(self) -> NDArray: method index_to_xy (line 79) | def index_to_xy(self, index: int): method __getitem__ (line 84) | def __getitem__(self, key: int | tuple[int, int]) -> NDArray: method __setitem__ (line 120) | def __setitem__(self, key: int | tuple[int, int], tile: NDArray): method __iter__ (line 157) | def __iter__(self): method __len__ (line 162) | def __len__(self): function tiled_decode_latents (line 166) | def tiled_decode_latents(self, latents, return_dict=False, *, pre_patch,... function configure_model_padding (line 210) | def configure_model_padding(model, seamless_axes): function _conv_forward_asymmetric (line 240) | def _conv_forward_asymmetric(self, input, weight, bias): FILE: image_utils.py function version_str (line 29) | def version_str(version): function _bpy_version_error (line 57) | def _bpy_version_error(required_version, feature, module): function size (line 63) | def size(array: NDArray) -> Tuple[int, int]: function channels (line 71) | def channels(array: NDArray) -> int: function ensure_alpha (line 79) | def ensure_alpha(array: NDArray, alpha=None) -> NDArray: function ensure_opaque (line 103) | def ensure_opaque(array: NDArray) -> NDArray: function ensure_channel_dim (line 112) | def ensure_channel_dim(array: NDArray) -> NDArray: function rgb (line 121) | def rgb(array: NDArray) -> NDArray: function rgba (line 139) | def rgba(array: NDArray, alpha=None) -> NDArray: function grayscale (line 156) | def grayscale(array: NDArray) -> NDArray: function _passthrough_alpha (line 180) | def _passthrough_alpha(from_array, to_array): function linear_to_srgb (line 187) | def linear_to_srgb(array: NDArray, clamp=True) -> NDArray: function srgb_to_linear (line 209) | def srgb_to_linear(array: NDArray) -> NDArray: function color_transform (line 226) | def color_transform(array: NDArray, from_color_space: str, to_color_spac... function render_color_transform (line 289) | def render_color_transform( function scene_color_transform (line 396) | def scene_color_transform(array: NDArray, scene: Union["bpy.types.Scene"... function _unsigned (line 415) | def _unsigned(dtype: DTypeLike) -> DTypeLike: function to_dtype (line 428) | def to_dtype(array: NDArray, dtype: DTypeLike) -> NDArray: function resize (line 501) | def resize(array: NDArray, size: Tuple[int, int], clamp=True): function bpy_to_np (line 549) | def bpy_to_np(image: "bpy.types.Image", *, color_space: str | None = "sR... function np_to_bpy (line 578) | def np_to_bpy(array: NDArray, name=None, existing_image=None, float_buff... function render_pass_to_np (line 645) | def render_pass_to_np( function np_to_render_pass (line 668) | def np_to_render_pass( function _mode (line 701) | def _mode(array, mode): function pil_to_np (line 715) | def pil_to_np(image, *, dtype: DTypeLike | None = np.float32, mode: Lite... function np_to_pil (line 727) | def np_to_pil(array: NDArray, *, mode: Literal["RGB", "RGBA", "L", "LA"]... function _dtype_to_type_desc (line 741) | def _dtype_to_type_desc(dtype): function path_to_np (line 772) | def path_to_np( function image_to_np (line 812) | def image_to_np( FILE: operators/dream_texture.py function get_source_image (line 16) | def get_source_image(context, source: Literal['file', 'open_editor']): class DreamTexture (line 33) | class DreamTexture(bpy.types.Operator): method poll (line 40) | def poll(cls, context): method execute (line 49) | def execute(self, context): function kill_generator (line 222) | def kill_generator(context=bpy.context): class ReleaseGenerator (line 231) | class ReleaseGenerator(bpy.types.Operator): method execute (line 237) | def execute(self, context): class CancelGenerator (line 241) | class CancelGenerator(bpy.types.Operator): method poll (line 250) | def poll(cls, context): method execute (line 253) | def execute(self, context): FILE: operators/inpaint_area_brush.py class InpaintAreaBrushActivated (line 6) | class InpaintAreaBrushActivated(bpy.types.GizmoGroup): method setup (line 13) | def setup(self, context): method __del__ (line 27) | def __del__(self): class InpaintAreaBrush (line 32) | class InpaintAreaBrush(bpy.types.WorkSpaceTool): method draw_settings (line 42) | def draw_settings(self, layout, tool): FILE: operators/install_dependencies.py class PipInstall (line 14) | class PipInstall(IntEnum): function install_pip (line 19) | def install_pip(method = PipInstall.STANDARD): function install_pip_any (line 62) | def install_pip_any(*methods): function get_pip_install (line 73) | def get_pip_install(): function install_and_import_requirements (line 97) | def install_and_import_requirements(requirements_txt=None, pip_install=P... class InstallDependencies (line 133) | class InstallDependencies(bpy.types.Operator): method invoke (line 139) | def invoke(self, context, event): method execute (line 142) | def execute(self, context): class UninstallDependencies (line 162) | class UninstallDependencies(bpy.types.Operator): method execute (line 170) | def execute(self, context): FILE: operators/notify_result.py class NotifyResult (line 5) | class NotifyResult(bpy.types.Operator): method modal (line 13) | def modal(self, context, event): method invoke (line 22) | def invoke(self, context, event): method execute (line 26) | def execute(self, context): FILE: operators/open_latest_version.py function check_for_updates (line 10) | def check_for_updates(): function new_version_available (line 19) | def new_version_available(): function do_force_show_download (line 23) | def do_force_show_download(): function is_force_show_download (line 26) | def is_force_show_download(): class OpenLatestVersion (line 29) | class OpenLatestVersion(bpy.types.Operator): method poll (line 36) | def poll(cls, context): method execute (line 39) | def execute(self, context): FILE: operators/project.py function _validate_projection (line 33) | def _validate_projection(context): function dream_texture_projection_panels (line 72) | def dream_texture_projection_panels(): function bake (line 182) | def bake(context, mesh, src, dest, src_uv, dest_uv): class ProjectDreamTexture (line 238) | class ProjectDreamTexture(bpy.types.Operator): method poll (line 245) | def poll(cls, context): method get_uv_layer (line 258) | def get_uv_layer(cls, mesh: bmesh.types.BMesh): method execute (line 266) | def execute(self, context): FILE: operators/upscale.py function get_source_image (line 16) | def get_source_image(context): class Upscale (line 31) | class Upscale(bpy.types.Operator): method poll (line 38) | def poll(cls, context): method execute (line 41) | def execute(self, context): FILE: operators/view_history.py class SCENE_UL_HistoryList (line 8) | class SCENE_UL_HistoryList(bpy.types.UIList): method draw_item (line 9) | def draw_item(self, context, layout, data, item, icon, active_data, ac... class RecallHistoryEntry (line 20) | class RecallHistoryEntry(bpy.types.Operator): method poll (line 27) | def poll(self, context): method execute (line 30) | def execute(self, context): class ClearHistory (line 61) | class ClearHistory(bpy.types.Operator): method execute (line 67) | def execute(self, context): class RemoveHistorySelection (line 72) | class RemoveHistorySelection(bpy.types.Operator): method poll (line 79) | def poll(self, context): method execute (line 82) | def execute(self, context): class ExportHistorySelection (line 87) | class ExportHistorySelection(bpy.types.Operator, ExportHelper): method poll (line 101) | def poll(self, context): method invoke (line 104) | def invoke(self, context, event): method execute (line 110) | def execute(self, context): class ImportPromptFile (line 122) | class ImportPromptFile(bpy.types.Operator, ImportHelper): method execute (line 135) | def execute(self, context): FILE: preferences.py class OpenURL (line 19) | class OpenURL(bpy.types.Operator): method execute (line 27) | def execute(self, context): class ImportWeights (line 34) | class ImportWeights(bpy.types.Operator, ImportHelper): method execute (line 52) | def execute(self, context): class Model (line 71) | class Model(bpy.types.PropertyGroup): class PREFERENCES_UL_ModelList (line 81) | class PREFERENCES_UL_ModelList(bpy.types.UIList): method draw_item (line 82) | def draw_item(self, context, layout, data, item, icon, active_data, ac... function set_model_list (line 101) | def set_model_list(model_list: str, models: list): class checkpoint_lookup (line 114) | class checkpoint_lookup: method get (line 118) | def get(cls, item): class model_lookup (line 121) | class model_lookup: method get (line 125) | def get(cls, item): function fetch_installed_models (line 128) | def fetch_installed_models(blocking=True): class ModelSearch (line 166) | class ModelSearch(bpy.types.Operator): method execute (line 172) | def execute(self, context): class InstallModel (line 176) | class InstallModel(bpy.types.Operator): method execute (line 186) | def execute(self, context): function _model_search (line 216) | def _model_search(self, context): function _update_ui (line 221) | def _update_ui(self, context): function _template_model_download_progress (line 228) | def _template_model_download_progress(context, layout): class CheckpointGroup (line 238) | class CheckpointGroup(bpy.types.PropertyGroup): class LinkCheckpoint (line 248) | class LinkCheckpoint(bpy.types.Operator, ImportHelper): method invoke (line 266) | def invoke(self, context, _event): method execute (line 272) | def execute(self, context): class UnlinkCheckpoint (line 296) | class UnlinkCheckpoint(bpy.types.Operator): method execute (line 301) | def execute(self, context): class PREFERENCES_UL_CheckpointList (line 311) | class PREFERENCES_UL_CheckpointList(bpy.types.UIList): method draw_item (line 312) | def draw_item(self, context, layout, data, item, icon, active_data, ac... class StableDiffusionPreferences (line 321) | class StableDiffusionPreferences(bpy.types.AddonPreferences): method register (line 345) | def register(): method draw (line 348) | def draw(self, context): FILE: prompt_engineering.py function texture_prompt (line 75) | def texture_prompt(tokens): function photography_prompt (line 84) | def photography_prompt(tokens): function concept_art_prompt (line 108) | def concept_art_prompt(tokens): function custom_prompt (line 118) | def custom_prompt(tokens): function file_batch_prompt (line 127) | def file_batch_prompt(tokens): function map_structure (line 144) | def map_structure(x): FILE: property_groups/control_net.py function control_net_options (line 9) | def control_net_options(self, context): class ControlNet (line 50) | class ControlNet(bpy.types.PropertyGroup): class ControlNetsAddMenu (line 61) | class ControlNetsAddMenu(bpy.types.Menu): method draw (line 65) | def draw(self, context): class ControlNetsAdd (line 74) | class ControlNetsAdd(bpy.types.Operator): method execute (line 80) | def execute(self, context): class ControlNetsRemove (line 84) | class ControlNetsRemove(bpy.types.Operator): method execute (line 90) | def execute(self, context): class BakeControlNetImage (line 94) | class BakeControlNetImage(bpy.types.Operator): method execute (line 101) | def execute(self, context): FILE: property_groups/dream_prompt.py function scheduler_options (line 20) | def scheduler_options(self, context): function init_image_actions_filtered (line 46) | def init_image_actions_filtered(self, context): function inpaint_mask_sources_filtered (line 55) | def inpaint_mask_sources_filtered(self, context): function modify_action_source_type (line 67) | def modify_action_source_type(self, context): function model_options (line 76) | def model_options(self, context): function _model_update (line 82) | def _model_update(self, context): function backend_options (line 87) | def backend_options(self, context): function seed_clamp (line 93) | def seed_clamp(self, ctx): function map_structure_token_items (line 154) | def map_structure_token_items(value): function generate_prompt (line 172) | def generate_prompt(self): function get_prompt_subject (line 188) | def get_prompt_subject(self): function get_seed (line 195) | def get_seed(self): function generate_args (line 208) | def generate_args(self, context, iteration=0, init_image=None, control_i... function get_backend (line 291) | def get_backend(self) -> api.Backend: FILE: property_groups/seamless_result.py function update (line 10) | def update(self, context): class SeamlessResult (line 17) | class SeamlessResult(bpy.types.PropertyGroup): method check (line 24) | def check(self, image): method update_args (line 54) | def update_args(self, args, as_id=False): FILE: realtime_viewport.py function debounce (line 15) | def debounce(wait_time): function DREAMTEXTURES_HT_viewport_enabled (line 39) | def DREAMTEXTURES_HT_viewport_enabled(self, context): function create_image (line 51) | def create_image(): function register_realtime_viewport (line 56) | def register_realtime_viewport(): function unregister_realtime_viewport (line 159) | def unregister_realtime_viewport(): FILE: render_pass.py function register_render_pass (line 21) | def register_render_pass(): function unregister_render_pass (line 77) | def unregister_render_pass(): function _render_dream_textures_pass (line 86) | def _render_dream_textures_pass(self, layer, size, scene, render_pass, r... FILE: scripts/train_detect_seamless.py class SeamlessModel (line 43) | class SeamlessModel(nn.Module): method __init__ (line 44) | def __init__(self): method forward (line 62) | def forward(self, x: torch.Tensor): function image_edges (line 76) | def image_edges(path): function prepare_edge (line 92) | def prepare_edge(edge: NDArray, axis: str) -> torch.Tensor: function prepare_edges (line 103) | def prepare_edges(edge_x: NDArray, edge_y: NDArray) -> tuple[torch.Tenso... function seamless_tensor (line 111) | def seamless_tensor(seamless): class EdgeDataset (line 115) | class EdgeDataset(Dataset): method __init__ (line 116) | def __init__(self, path): method _load_dir (line 124) | def _load_dir(self, imdir, seamless): method __len__ (line 140) | def __len__(self): method __getitem__ (line 143) | def __getitem__(self, idx) -> tuple[torch.Tensor, torch.Tensor, str, s... class PermutedEdgeDataset (line 164) | class PermutedEdgeDataset(Dataset): method __init__ (line 167) | def __init__(self, dataset: EdgeDataset | str): method __len__ (line 172) | def __len__(self): method __getitem__ (line 175) | def __getitem__(self, idx): function mix_iter (line 185) | def mix_iter(*iterables): function train (line 208) | def train(model: nn.Module, train_datasets, valid_datasets, epochs=1000,... function validate (line 277) | def validate(model, datasets): function save_npz (line 320) | def save_npz(path, state_dict): function load_npz (line 324) | def load_npz(path): function main (line 332) | def main(): FILE: scripts/zip_dependencies.py function main (line 6) | def main(): FILE: ui/panels/dream_texture.py function dream_texture_panels (line 15) | def dream_texture_panels(): function create_panel (line 71) | def create_panel(space_type, region_type, parent_id, ctor, get_prompt, u... function prompt_panel (line 88) | def prompt_panel(sub_panel, space_type, get_prompt, get_seamless_result=... function size_panel (line 149) | def size_panel(sub_panel, space_type, get_prompt): function init_image_panels (line 169) | def init_image_panels(sub_panel, space_type, get_prompt): function control_net_panel (line 226) | def control_net_panel(sub_panel, space_type, get_prompt): function advanced_panel (line 259) | def advanced_panel(sub_panel, space_type, get_prompt): function optimization_panels (line 291) | def optimization_panels(sub_panel, space_type, get_prompt, parent_id=""): function actions_panel (line 324) | def actions_panel(sub_panel, space_type, get_prompt): FILE: ui/panels/history.py function history_panels (line 10) | def history_panels(): FILE: ui/panels/render_properties.py class RenderPropertiesPanel (line 7) | class RenderPropertiesPanel(bpy.types.Panel): method poll (line 17) | def poll(self, context): method draw_header (line 20) | def draw_header(self, context): method draw (line 23) | def draw(self, context): function render_properties_panels (line 51) | def render_properties_panels(): FILE: ui/panels/upscaling.py function upscaling_panels (line 9) | def upscaling_panels(): FILE: ui/presets.py class DreamTexturesPresetPanel (line 11) | class DreamTexturesPresetPanel(PresetPanel, Panel): class DREAM_PT_AdvancedPresets (line 14) | class DREAM_PT_AdvancedPresets(DreamTexturesPresetPanel): class DREAM_MT_AdvancedPresets (line 19) | class DREAM_MT_AdvancedPresets(Menu): class AddAdvancedPreset (line 25) | class AddAdvancedPreset(AddPresetBase, Operator): class RestoreDefaultPresets (line 53) | class RestoreDefaultPresets(Operator): method execute (line 59) | def execute(self, context): function register_default_presets (line 65) | def register_default_presets(force=False): function default_presets_missing (line 74) | def default_presets_missing(): FILE: version.py function version_tag (line 2) | def version_tag(version): function version_tuple (line 5) | def version_tuple(tag):