Blender V5.0
gl_texture.hh File Reference
#include "MEM_guardedalloc.h"
#include "BLI_assert.h"
#include "gpu_texture_private.hh"

Go to the source code of this file.

Classes

class  blender::gpu::GLTexture
class  blender::gpu::GLPixelBuffer

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define CASE(a, b, c, blender_enum, d, e, f, gl_pixel_enum, h)

Functions

GLenum blender::gpu::to_gl_internal_format (TextureFormat format)
GLenum blender::gpu::to_gl_target (GPUTextureType type)
GLenum blender::gpu::to_gl_proxy (GPUTextureType type)
GLenum blender::gpu::swizzle_to_gl (const char swizzle)
GLenum blender::gpu::to_gl (eGPUDataFormat format)
GLenum blender::gpu::to_gl_data_format (TextureFormat format)
GLenum blender::gpu::channel_len_to_gl (int channel_len)

Macro Definition Documentation

◆ CASE

#define CASE ( a,
b,
c,
blender_enum,
d,
e,
f,
gl_pixel_enum,
h )
Value:
case TextureFormat::blender_enum: \
return GL_##gl_pixel_enum;