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

#include <mtl_context.hh>

Public Member Functions

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

Public Attributes

blender::Map< DepthTextureUpdateRoutineSpecialisation, gpu::Shader * > depth_2d_update_shaders
gpu::Shaderfullscreen_blit_shader = nullptr
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_1d_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_1d_array_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_2d_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_2d_array_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_3d_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_cube_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_cube_array_read_compute_psos
blender::Map< TextureReadRoutineSpecialisation, id< MTLComputePipelineState > > texture_buffer_read_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_1d_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_1d_array_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_2d_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_2d_array_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_3d_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_cube_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_cube_array_update_compute_psos
blender::Map< TextureUpdateRoutineSpecialisation, id< MTLComputePipelineState > > texture_buffer_update_compute_psos

Detailed Description

Definition at line 287 of file mtl_context.hh.

Member Function Documentation

◆ cleanup()

◆ free_cached_pso_map()

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

Definition at line 332 of file mtl_context.hh.

References T.

Referenced by cleanup().

◆ init()

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

Definition at line 340 of file mtl_context.hh.

References fullscreen_blit_shader.

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

Member Data Documentation

◆ depth_2d_update_shaders

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

Definition at line 294 of file mtl_context.hh.

Referenced by cleanup().

◆ fullscreen_blit_shader

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

Definition at line 295 of file mtl_context.hh.

Referenced by cleanup(), and init().

◆ texture_1d_array_read_compute_psos

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

Definition at line 301 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_array_update_compute_psos

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

Definition at line 318 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_read_compute_psos

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

Definition at line 299 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_1d_update_compute_psos

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

Definition at line 316 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_array_read_compute_psos

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

Definition at line 305 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_array_update_compute_psos

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

Definition at line 322 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_read_compute_psos

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

Definition at line 303 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_2d_update_compute_psos

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

Definition at line 320 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_3d_read_compute_psos

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

Definition at line 307 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_3d_update_compute_psos

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

Definition at line 324 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_buffer_read_compute_psos

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

Definition at line 313 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_buffer_update_compute_psos

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

Definition at line 330 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_array_read_compute_psos

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

Definition at line 311 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_array_update_compute_psos

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

Definition at line 328 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_read_compute_psos

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

Definition at line 309 of file mtl_context.hh.

Referenced by cleanup().

◆ texture_cube_update_compute_psos

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

Definition at line 326 of file mtl_context.hh.

Referenced by cleanup().


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