|
Blender V5.3
|
#include <gpu_shader_update_mipmaps.bsl.hh>
Public Member Functions | |
| void | store_sample (int2 dst_coord, float color) |
| float | load_sample (int2 src_coord) |
Public Attributes | |
| float | intermediate_level [MAX_SHARED_SAMPLES][MAX_SHARED_SAMPLES] |
Shared storage that can store intermediate results encoded as uint.
Definition at line 90 of file gpu_shader_update_mipmaps.bsl.hh.
Definition at line 102 of file gpu_shader_update_mipmaps.bsl.hh.
References intermediate_level, int2::x, and int2::y.
Definition at line 97 of file gpu_shader_update_mipmaps.bsl.hh.
References intermediate_level, int2::x, and int2::y.
| float builtin::mipmaps::SharedUnorm::intermediate_level[MAX_SHARED_SAMPLES][MAX_SHARED_SAMPLES] |
When generating 2 levels, the results the first level are cached here; this is the input tile needed to generate the 8x8 tile of the second level.
Definition at line 95 of file gpu_shader_update_mipmaps.bsl.hh.
Referenced by load_sample(), and store_sample().