|
Blender V4.3
|
Public Member Functions | |
| DisplayGPUTexture ()=default | |
| ~DisplayGPUTexture () | |
| DisplayGPUTexture (const DisplayGPUTexture &other)=delete | |
| DisplayGPUTexture & | operator= (DisplayGPUTexture &other)=delete |
| DisplayGPUTexture (DisplayGPUTexture &&other) noexcept | |
| DisplayGPUTexture & | operator= (DisplayGPUTexture &&other) |
| bool | gpu_resources_ensure (const uint texture_width, const uint texture_height) |
| void | gpu_resources_destroy () |
Public Attributes | |
| GPUTexture * | gpu_texture = nullptr |
| int | width = 0 |
| int | height = 0 |
Static Public Attributes | |
| static std::atomic< int > | num_used = 0 |
Protected Member Functions | |
| void | reset () |
Definition at line 170 of file blender/display_driver.cpp.
|
default |
|
inline |
Definition at line 177 of file blender/display_driver.cpp.
References gpu_texture.
|
delete |
|
inlinenoexcept |
Definition at line 185 of file blender/display_driver.cpp.
|
inline |
Definition at line 241 of file blender/display_driver.cpp.
References gpu_texture, GPU_TEXTURE_FREE_SAFE, num_used, and reset().
Referenced by gpu_resources_ensure().
|
inline |
Definition at line 206 of file blender/display_driver.cpp.
References gpu_resources_destroy(), GPU_RGBA16F, GPU_SAMPLER_EXTEND_MODE_EXTEND, gpu_texture, GPU_texture_create_2d(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), GPU_TEXTURE_USAGE_GENERAL, height, LOG, max, num_used, and width.
Referenced by BlenderDisplayDriver::update_begin().
|
inline |
Definition at line 191 of file blender/display_driver.cpp.
References gpu_texture, height, and width.
|
delete |
|
inlineprotected |
Definition at line 264 of file blender/display_driver.cpp.
References gpu_texture, height, and width.
Referenced by gpu_resources_destroy().
| GPUTexture* DisplayGPUTexture::gpu_texture = nullptr |
Definition at line 257 of file blender/display_driver.cpp.
Referenced by gpu_resources_destroy(), gpu_resources_ensure(), operator=(), reset(), and ~DisplayGPUTexture().
| int DisplayGPUTexture::height = 0 |
Definition at line 261 of file blender/display_driver.cpp.
Referenced by gpu_resources_ensure(), operator=(), and reset().
|
inlinestatic |
Definition at line 173 of file blender/display_driver.cpp.
Referenced by BlenderDisplayDriver::draw(), gpu_resources_destroy(), and gpu_resources_ensure().
| int DisplayGPUTexture::width = 0 |
Definition at line 260 of file blender/display_driver.cpp.
Referenced by gpu_resources_ensure(), operator=(), and reset().