Blender  V3.3
Public Attributes | List of all members
WORKBENCH_Prepass Struct Reference

#include <workbench_private.h>

Public Attributes

struct GHashmaterial_hash
 
struct DRWShadingGroupcommon_shgrp
 
struct DRWShadingGroupvcol_shgrp
 
struct DRWShadingGroupimage_shgrp
 
struct DRWShadingGroupimage_tiled_shgrp
 

Detailed Description

Definition at line 211 of file workbench_private.h.

Member Data Documentation

◆ common_shgrp

struct DRWShadingGroup* WORKBENCH_Prepass::common_shgrp

First common (non-vertex-color and non-image-colored) shading group to created subgroups.

Definition at line 215 of file workbench_private.h.

Referenced by workbench_material_setup_ex(), workbench_opaque_cache_init(), and workbench_transparent_cache_init().

◆ image_shgrp

struct DRWShadingGroup* WORKBENCH_Prepass::image_shgrp

First Image shading group to created subgroups.

Definition at line 219 of file workbench_private.h.

Referenced by workbench_image_setup_ex(), workbench_opaque_cache_init(), and workbench_transparent_cache_init().

◆ image_tiled_shgrp

struct DRWShadingGroup* WORKBENCH_Prepass::image_tiled_shgrp

First UDIM (tiled image) shading group to created subgroups.

Definition at line 221 of file workbench_private.h.

Referenced by workbench_image_setup_ex(), workbench_opaque_cache_init(), and workbench_transparent_cache_init().

◆ material_hash

struct GHash* WORKBENCH_Prepass::material_hash

Hash storing shading group for each Material or GPUTexture to reduce state changes.

Definition at line 213 of file workbench_private.h.

Referenced by workbench_cache_finish(), workbench_image_setup_ex(), workbench_material_setup_ex(), workbench_opaque_cache_init(), and workbench_transparent_cache_init().

◆ vcol_shgrp

struct DRWShadingGroup* WORKBENCH_Prepass::vcol_shgrp

First Vertex Color shading group to created subgroups.

Definition at line 217 of file workbench_private.h.

Referenced by workbench_material_setup_ex(), workbench_opaque_cache_init(), and workbench_transparent_cache_init().


The documentation for this struct was generated from the following file: