Blender V4.3
BLI_smaa_textures.h File Reference

Go to the source code of this file.

Macros

#define AREATEX_WIDTH   160
 
#define AREATEX_HEIGHT   560
 
#define AREATEX_PITCH   (AREATEX_WIDTH * 2)
 
#define AREATEX_SIZE   (AREATEX_HEIGHT * AREATEX_PITCH)
 
#define SEARCHTEX_WIDTH   64
 
#define SEARCHTEX_HEIGHT   16
 
#define SEARCHTEX_PITCH   SEARCHTEX_WIDTH
 
#define SEARCHTEX_SIZE   (SEARCHTEX_HEIGHT * SEARCHTEX_PITCH)
 

Variables

const unsigned char areaTexBytes []
 
const unsigned char searchTexBytes []
 

Macro Definition Documentation

◆ AREATEX_HEIGHT

◆ AREATEX_PITCH

#define AREATEX_PITCH   (AREATEX_WIDTH * 2)

Definition at line 17 of file BLI_smaa_textures.h.

◆ AREATEX_SIZE

#define AREATEX_SIZE   (AREATEX_HEIGHT * AREATEX_PITCH)

Definition at line 18 of file BLI_smaa_textures.h.

◆ AREATEX_WIDTH

◆ SEARCHTEX_HEIGHT

◆ SEARCHTEX_PITCH

#define SEARCHTEX_PITCH   SEARCHTEX_WIDTH

Definition at line 29 of file BLI_smaa_textures.h.

◆ SEARCHTEX_SIZE

#define SEARCHTEX_SIZE   (SEARCHTEX_HEIGHT * SEARCHTEX_PITCH)

Definition at line 30 of file BLI_smaa_textures.h.

◆ SEARCHTEX_WIDTH

Variable Documentation

◆ areaTexBytes

const unsigned char areaTexBytes[]
extern

Stored in R8G8 format. Load it in the following format:

  • DX10: DXGI_FORMAT_R8G8_UNORM
  • GPU: GPU_RG8 texture format and GPU_DATA_UBYTE data format.

Definition at line 14 of file smaa_textures.c.

Referenced by blender::workbench::AntiAliasingPass::AntiAliasingPass(), GPENCIL_antialiasing_init(), and blender::realtime_compositor::SMAAPrecomputedTextures::SMAAPrecomputedTextures().

◆ searchTexBytes

const unsigned char searchTexBytes[]
extern

Stored in R8 format. Load it in the following format:

  • DX10: DXGI_FORMAT_R8_UNORM
  • GPU: GPU_R8 texture format and GPU_DATA_UBYTE data format.

Definition at line 14951 of file smaa_textures.c.

Referenced by blender::workbench::AntiAliasingPass::AntiAliasingPass(), GPENCIL_antialiasing_init(), and blender::realtime_compositor::SMAAPrecomputedTextures::SMAAPrecomputedTextures().