Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_framebuffer.h
| Show All 30 Lines | |||||
| #pragma once | #pragma once | ||||
| #include "GPU_texture.h" | #include "GPU_texture.h" | ||||
| typedef enum eGPUFrameBufferBits { | typedef enum eGPUFrameBufferBits { | ||||
| GPU_COLOR_BIT = (1 << 0), | GPU_COLOR_BIT = (1 << 0), | ||||
| GPU_DEPTH_BIT = (1 << 1), | GPU_DEPTH_BIT = (1 << 1), | ||||
| GPU_STENCIL_BIT = (1 << 2), | GPU_STENCIL_BIT = (1 << 2), | ||||
| GPU_FRAME_BUFFER_MAX_DONT_USE = ~(0) | |||||
| } eGPUFrameBufferBits; | } eGPUFrameBufferBits; | ||||
| ENUM_OPERATORS(eGPUFrameBufferBits) | ENUM_OPERATORS(eGPUFrameBufferBits, GPU_FRAME_BUFFER_MAX_DONT_USE) | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| typedef struct GPUAttachment { | typedef struct GPUAttachment { | ||||
| struct GPUTexture *tex; | struct GPUTexture *tex; | ||||
| int layer, mip; | int layer, mip; | ||||
| ▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines | |||||