Blender V5.3
blender::gpu::MTLContextTextureUtils Struct Reference

#include <mtl_context.hh>

Public Member Functions

template<typename T>
void free_cached_pso_map (Map< T, id< MTLComputePipelineState > > &map)
void init ()
void cleanup ()

Public Attributes

Map< DepthTextureUpdateRoutineSpecialization, gpu::Shader * > depth_2d_update_shaders
gpu::Shader * fullscreen_blit_shader = nullptr
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_1d_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_1d_array_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_2d_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_2d_array_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_3d_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_cube_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_cube_array_read_compute_psos
Map< TextureReadRoutineSpecialization, id< MTLComputePipelineState > > texture_buffer_read_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_1d_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_1d_array_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_2d_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_2d_array_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_3d_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_cube_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_cube_array_update_compute_psos
Map< TextureUpdateRoutineSpecialization, id< MTLComputePipelineState > > texture_buffer_update_compute_psos

Detailed Description

Definition at line 240 of file mtl_context.hh.

Member Function Documentation

◆ cleanup()

◆ free_cached_pso_map()

template<typename T>
void blender::gpu::MTLContextTextureUtils::free_cached_pso_map ( Map< T, id< MTLComputePipelineState > > & map)
inline

Definition at line 282 of file mtl_context.hh.

References T.

Referenced by cleanup().

◆ init()

void blender::gpu::MTLContextTextureUtils::init ( )
inline

Definition at line 290 of file mtl_context.hh.

References fullscreen_blit_shader.

Referenced by blender::gpu::MTLContext::MTLContext().

Member Data Documentation

◆ depth_2d_update_shaders

Map<DepthTextureUpdateRoutineSpecialization, gpu::Shader *> blender::gpu::MTLContextTextureUtils::depth_2d_update_shaders

Definition at line 247 of file mtl_context.hh.

Referenced by cleanup().

◆ fullscreen_blit_shader

gpu::Shader* blender::gpu::MTLContextTextureUtils::fullscreen_blit_shader = nullptr

Definition at line 248 of file mtl_context.hh.

Referenced by cleanup(), and init().

◆ texture_1d_array_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_1d_array_read_compute_psos

Definition at line 253 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_array_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_1d_array_update_compute_psos

Definition at line 268 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_1d_read_compute_psos

Definition at line 251 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_1d_update_compute_psos

Definition at line 266 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_array_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_2d_array_read_compute_psos

Definition at line 256 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_array_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_2d_array_update_compute_psos

Definition at line 272 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_2d_read_compute_psos

Definition at line 254 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_2d_update_compute_psos

Definition at line 270 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_3d_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_3d_read_compute_psos

Definition at line 257 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_3d_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_3d_update_compute_psos

Definition at line 274 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_buffer_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_buffer_read_compute_psos

Definition at line 263 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_buffer_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_buffer_update_compute_psos

Definition at line 280 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_array_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_cube_array_read_compute_psos

Definition at line 261 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_array_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_cube_array_update_compute_psos

Definition at line 278 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_read_compute_psos

Map<TextureReadRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_cube_read_compute_psos

Definition at line 259 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_update_compute_psos

Map<TextureUpdateRoutineSpecialization, id<MTLComputePipelineState> > blender::gpu::MTLContextTextureUtils::texture_cube_update_compute_psos

Definition at line 276 of file mtl_context.hh.

Referenced by cleanup().


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