|
Blender V5.0
|
#include <DRW_gpu_wrapper.hh>
Inherits blender::NonCopyable.
Inherited by blender::draw::TextureFromPool, blender::draw::TextureRef, and blender::eevee::UtilityTexture.
Static Public Member Functions | |
| static void | swap (Texture &a, Texture &b) |
Protected Member Functions | |
| void | free_texture_views () |
Protected Attributes | |
| gpu::Texture * | tx_ = nullptr |
| gpu::Texture * | stencil_view_ = nullptr |
| Vector< gpu::Texture *, 0 > | mip_views_ |
| Vector< gpu::Texture *, 0 > | layer_views_ |
| gpu::Texture * | layer_range_view_ = nullptr |
| const char * | name_ |
Definition at line 525 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 535 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 537 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 549 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 562 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 573 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 585 of file DRW_gpu_wrapper.hh.
|
default |
|
inline |
Definition at line 597 of file DRW_gpu_wrapper.hh.
|
inline |
Clear the entirety of the texture using one pixel worth of data.
Definition at line 905 of file DRW_gpu_wrapper.hh.
|
inline |
Clear the entirety of the texture using one pixel worth of data.
Definition at line 921 of file DRW_gpu_wrapper.hh.
|
inline |
Clear the entirety of the texture using one pixel worth of data.
Definition at line 913 of file DRW_gpu_wrapper.hh.
|
inline |
Clear the texture to NaN for floats, or a to debug value for integers. (For debugging uninitialized data issues)
Definition at line 930 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 860 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 652 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 665 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 680 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 693 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 708 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 721 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the texture has the correct properties. Recreating it if needed. Return true if a texture has been created.
Definition at line 734 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the availability of layer views. Layer views covers all layers of array textures. Returns true if the views were (re)created.
Definition at line 783 of file DRW_gpu_wrapper.hh.
|
inline |
Ensure the availability of mipmap views. MIP view covers all layers of array textures.
Definition at line 748 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 959 of file DRW_gpu_wrapper.hh.
|
inline |
Free the internal texture but not the #draw::Texture itself.
Definition at line 967 of file DRW_gpu_wrapper.hh.
|
inlineprotected |
Definition at line 987 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 602 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 855 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 890 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 885 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 870 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 880 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 875 of file DRW_gpu_wrapper.hh.
|
inline |
Returns true if the texture has been allocated or acquired from the pool.
Definition at line 845 of file DRW_gpu_wrapper.hh.
|
inline |
Layer range view cover only the given range. This can only be called to create one range. View is recreated if:
Definition at line 824 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 800 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 773 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 765 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 608 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 615 of file DRW_gpu_wrapper.hh.
Definition at line 626 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 865 of file DRW_gpu_wrapper.hh.
|
inline |
WORKAROUND: used when needing a ref to the Texture and not the gpu::Texture.
Definition at line 621 of file DRW_gpu_wrapper.hh.
|
inline |
Returns a buffer containing the texture data for the specified miplvl. The memory block needs to be manually freed by MEM_freeN().
Definition at line 954 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 895 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 805 of file DRW_gpu_wrapper.hh.
|
inlinestatic |
Swap the content of the two textures.
Definition at line 976 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 850 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 531 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 530 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 529 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 532 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 528 of file DRW_gpu_wrapper.hh.
|
protected |
Definition at line 527 of file DRW_gpu_wrapper.hh.