|
Blender V4.3
|
Classes | |
| class | AbstractDrawingMode |
| class | AbstractSpaceAccessor |
| class | BaseTextureMethod |
| class | BatchUpdater |
| Create gpu::Batch for a IMAGE_ScreenSpaceTextureInfo. More... | |
| struct | FloatBufferCache |
| Float buffer cache for image buffers. More... | |
| struct | FloatImageBuffer |
| struct | IMAGE_Data |
| struct | IMAGE_InstanceData |
| struct | IMAGE_Shaders |
| class | ImageEngine |
| struct | ImageUsage |
| class | OneTexture |
| class | ScreenSpaceDrawingMode |
| class | ScreenTileTextures |
| Screen space method using a multiple textures covering the region. More... | |
| struct | ShaderParameters |
| class | SpaceImageAccessor |
| class | SpaceNodeAccessor |
| struct | TextureInfo |
Enumerations | |
| enum class | ImageDrawFlags { Default = 0 , ShowAlpha = (1 << 0) , ApplyAlpha = (1 << 1) , Shuffling = (1 << 2) , Depth = (1 << 3) } |
Functions | |
| static std::unique_ptr< AbstractSpaceAccessor > | space_accessor_from_context (const DRWContextState *draw_ctx) |
| ENUM_OPERATORS (ImageDrawFlags, ImageDrawFlags::Depth) | |
| GPUShader * | IMAGE_shader_image_get () |
| GPUShader * | IMAGE_shader_depth_get () |
| void | IMAGE_shader_free () |
Engine Callbacks | |
| static void | IMAGE_engine_init (void *ved) |
| static void | IMAGE_cache_init (void *vedata) |
| static void | IMAGE_cache_populate (void *, Object *) |
| static void | IMAGE_draw_scene (void *vedata) |
| static void | IMAGE_engine_free () |
| static void | IMAGE_instance_free (void *_instance_data) |
Variables | ||
| constexpr float | EPSILON_UV_BOUNDS = 0.00001f | |
| static const DrawEngineDataSize | IMAGE_data_size = DRW_VIEWPORT_DATA_SIZE(IMAGE_Data) | |
| struct { | ||
| IMAGE_Shaders blender::draw::image_engine::shaders | ||
| } | e_data = {{nullptr}} | |
|
strong |
| Enumerator | |
|---|---|
| Default | |
| ShowAlpha | |
| ApplyAlpha | |
| Shuffling | |
| Depth | |
Definition at line 16 of file image_enums.hh.
| blender::draw::image_engine::ENUM_OPERATORS | ( | ImageDrawFlags | , |
| ImageDrawFlags::Depth | ) |
|
static |
Definition at line 148 of file image_engine.cc.
References blender::draw::image_engine::ImageEngine< DrawingMode >::begin_sync(), DRW_context_state_get(), and blender::draw::image_engine::ImageEngine< DrawingMode >::image_sync().
|
static |
Definition at line 156 of file image_engine.cc.
|
static |
Definition at line 161 of file image_engine.cc.
References blender::draw::image_engine::ImageEngine< DrawingMode >::draw_finish(), blender::draw::image_engine::ImageEngine< DrawingMode >::draw_viewport(), and DRW_context_state_get().
|
static |
Definition at line 169 of file image_engine.cc.
References IMAGE_shader_free().
|
static |
Definition at line 140 of file image_engine.cc.
References blender::draw::image_engine::IMAGE_Data::instance_data.
|
static |
Definition at line 174 of file image_engine.cc.
| GPUShader * blender::draw::image_engine::IMAGE_shader_depth_get | ( | ) |
Definition at line 38 of file image_shader.cc.
References e_data, GPU_shader_create_from_info_name(), and sh_data.
| void blender::draw::image_engine::IMAGE_shader_free | ( | ) |
Definition at line 47 of file image_shader.cc.
References DRW_SHADER_FREE_SAFE, and e_data.
Referenced by IMAGE_engine_free().
| GPUShader * blender::draw::image_engine::IMAGE_shader_image_get | ( | ) |
Definition at line 29 of file image_shader.cc.
References e_data, GPU_shader_create_from_info_name(), and sh_data.
|
static |
Definition at line 38 of file image_engine.cc.
References BLI_assert_unreachable, DRWContextState::space_data, SPACE_IMAGE, SPACE_NODE, and SpaceLink::spacetype.
| struct { ... } blender::draw::image_engine::e_data |
Referenced by IMAGE_shader_depth_get(), IMAGE_shader_free(), and IMAGE_shader_image_get().
|
constexpr |
Definition at line 24 of file image_drawing_mode.hh.
|
static |
Definition at line 182 of file image_engine.cc.
| IMAGE_Shaders blender::draw::image_engine::shaders |
Definition at line 26 of file image_shader.cc.