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 Contextcontext_alloc (void *ghost_window)=0
 
virtual Batchbatch_alloc (void)=0
 
virtual DrawListdrawlist_alloc (int list_length)=0
 
virtual FrameBufferframebuffer_alloc (const char *name)=0
 
virtual IndexBufindexbuf_alloc (void)=0
 
virtual QueryPoolquerypool_alloc (void)=0
 
virtual Shadershader_alloc (const char *name)=0
 
virtual Texturetexture_alloc (const char *name)=0
 
virtual UniformBufuniformbuf_alloc (int size, const char *name)=0
 
virtual VertBufvertbuf_alloc (void)=0
 

Static Public Member Functions

Backend selection
static GPUBackendget (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: