Blender  V2.93
Public Member Functions | List of all members
blender::gpu::GPUBackend Class Referenceabstract

#include <gpu_backend.hh>

Inherited by blender::gpu::GLBackend.

Public Member Functions

virtual ~GPUBackend ()
 
virtual void samplers_update (void)=0
 
virtual Context * context_alloc (void *ghost_window)=0
 
virtual Batch * batch_alloc (void)=0
 
virtual DrawList * drawlist_alloc (int list_length)=0
 
virtual FrameBuffer * framebuffer_alloc (const char *name)=0
 
virtual IndexBuf * indexbuf_alloc (void)=0
 
virtual QueryPool * querypool_alloc (void)=0
 
virtual Shader * shader_alloc (const char *name)=0
 
virtual Texture * texture_alloc (const char *name)=0
 
virtual UniformBuf * uniformbuf_alloc (int size, const char *name)=0
 
virtual VertBuf * vertbuf_alloc (void)=0
 

Static Public Member Functions

Backend selection
static GPUBackend * get (void)
 

Detailed Description

Definition at line 43 of file gpu_backend.hh.

Constructor & Destructor Documentation

◆ ~GPUBackend()

virtual blender::gpu::GPUBackend::~GPUBackend ( )
inlinevirtual

Definition at line 45 of file gpu_backend.hh.

Member Function Documentation

◆ batch_alloc()

virtual Batch* blender::gpu::GPUBackend::batch_alloc ( void  )
pure virtual

Implemented in blender::gpu::GLBackend.

Referenced by GPU_batch_calloc().

◆ context_alloc()

virtual Context* blender::gpu::GPUBackend::context_alloc ( void *  ghost_window)
pure virtual

Implemented in blender::gpu::GLBackend.

◆ drawlist_alloc()

virtual DrawList* blender::gpu::GPUBackend::drawlist_alloc ( int  list_length)
pure virtual

Implemented in blender::gpu::GLBackend.

Referenced by GPU_draw_list_create().

◆ framebuffer_alloc()

virtual FrameBuffer* blender::gpu::GPUBackend::framebuffer_alloc ( const char *  name)
pure virtual

Implemented in blender::gpu::GLBackend.

◆ get()

GPUBackend * GPUBackend::get ( void  )
static

◆ indexbuf_alloc()

virtual IndexBuf* blender::gpu::GPUBackend::indexbuf_alloc ( void  )
pure virtual

Implemented in blender::gpu::GLBackend.

◆ querypool_alloc()

virtual QueryPool* blender::gpu::GPUBackend::querypool_alloc ( void  )
pure virtual

Implemented in blender::gpu::GLBackend.

Referenced by gpu_select_query_begin().

◆ samplers_update()

virtual void blender::gpu::GPUBackend::samplers_update ( void  )
pure virtual

Implemented in blender::gpu::GLBackend.

Referenced by GPU_samplers_update().

◆ shader_alloc()

virtual Shader* blender::gpu::GPUBackend::shader_alloc ( const char *  name)
pure virtual

Implemented in blender::gpu::GLBackend.

Referenced by GPU_shader_create_ex().

◆ texture_alloc()

virtual Texture* blender::gpu::GPUBackend::texture_alloc ( const char *  name)
pure virtual

◆ uniformbuf_alloc()

virtual UniformBuf* blender::gpu::GPUBackend::uniformbuf_alloc ( int  size,
const char *  name 
)
pure virtual

◆ vertbuf_alloc()

virtual VertBuf* blender::gpu::GPUBackend::vertbuf_alloc ( void  )
pure virtual

The documentation for this class was generated from the following files: