|
Blender V5.3
|
#include "BLI_assert.hh"#include "BLI_compiler_compat.hh"#include "BLI_math_vector_types.hh"#include "BLI_string_ref.hh"#include "BLI_sys_types.hh"#include "GPU_format.hh"Go to the source code of this file.
Classes | |
| struct | blender::gpu::AttrType< T > |
| struct | blender::GPUVertAttr |
| struct | blender::GPUVertAttr::Type |
| struct | blender::GPUVertFormat |
| struct | blender::gpu::GenericVertexFormat< T > |
| struct | blender::gpu::GenericVertexFormat< int8_t > |
| struct | blender::gpu::GenericVertexFormat< uint8_t > |
| struct | blender::gpu::GenericVertexFormat< bool > |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::gpu |
Macros | |
| #define | DECLARE(a, b, c, blender_enum, d, e, f, g, h) |
| #define | GPU_VERTEX_FORMAT_EXPAND(impl) |
| #define | DECLARE(a, b, c, blender_enum, d, e, f, g, h) |
| #define | GPU_VERTEX_DEPRECATED_FORMAT_EXPAND(impl) |
| #define | GPU_VERTEX_FORMAT_EXPAND_TYPED(impl) |
| #define | ATTR_TYPE_MAPPING(_type, b, c, blender_enum, d, e, f, g, h) |
| #define | GPU_VERTEX_FORMAT_ADD_ATTR(attr) |
| #define | _ATTR_EXPAND1(a) |
| #define | _ATTR_EXPAND2(a, b) |
| #define | _ATTR_EXPAND3(a, b, c) |
| #define | _ATTR_EXPAND4(a, b, c, d) |
| #define | _ATTR_EXPAND5(a, b, c, d, e) |
| #define | _ATTR_EXPAND6(a, b, c, d, e, f) |
| #define | _ATTR_EXPAND7(a, b, c, d, e, f, g) |
| #define | _ATTR_EXPAND8(a, b, c, d, e, f, g, h) |
| #define | _ATTR_EXPAND9(a, b, c, d, e, f, g, h, i) |
| #define | _ATTR_EXPAND10(a, b, c, d, e, f, g, h, i, j) |
| #define | _ATTR_EXPAND11(a, b, c, d, e, f, g, h, i, j, k) |
| #define | _ATTR_EXPAND12(a, b, c, d, e, f, g, h, i, j, k, l) |
| #define | _ATTR_EXPAND13(a, b, c, d, e, f, g, h, i, j, k, l, m) |
| #define | _ATTR_EXPAND14(a, b, c, d, e, f, g, h, i, j, k, l, m, n) |
| #define | _ATTR_EXPAND15(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
| #define | _ATTR_EXPAND16(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) |
| #define | GPU_VERTEX_FORMAT_ADD_ATTR_EXPAND(...) |
| #define | GPU_VERTEX_FORMAT_FUNC(_VertT, ...) |
Enumerations | |
| enum class | blender::gpu::VertAttrType : uint8_t { blender::gpu::Invalid = 0 } |
| enum | blender::GPUVertCompType { blender::GPU_COMP_I8 = 0 , blender::GPU_COMP_U8 , blender::GPU_COMP_I16 , blender::GPU_COMP_U16 , blender::GPU_COMP_I32 , blender::GPU_COMP_U32 , blender::GPU_COMP_F32 , blender::GPU_COMP_I10 , blender::GPU_COMP_MAX } |
| enum | blender::GPUVertFetchMode { blender::GPU_FETCH_FLOAT = 0 , blender::GPU_FETCH_INT , blender::GPU_FETCH_INT_TO_FLOAT_UNIT } |
Variables | |
| static constexpr int | blender::GPU_VERT_ATTR_MAX_LEN = 16 |
| static constexpr int | blender::GPU_VERT_ATTR_MAX_NAMES = 6 |
| static constexpr int | blender::GPU_VERT_ATTR_NAMES_BUF_LEN = 256 |
| static constexpr int | blender::GPU_VERT_FORMAT_MAX_NAMES = 63 |
| static constexpr int | blender::GPU_MAX_SAFE_ATTR_NAME = 12 |
GPU vertex format
Definition in file GPU_vertex_format.hh.
| #define _ATTR_EXPAND1 | ( | a | ) |
Definition at line 248 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND10 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j ) |
Definition at line 273 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND11 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k ) |
Definition at line 276 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND12 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l ) |
Definition at line 279 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND13 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m ) |
Definition at line 282 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND14 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n ) |
Definition at line 285 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND15 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o ) |
Definition at line 288 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND16 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p ) |
Definition at line 291 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND2 | ( | a, | |
| b ) |
Definition at line 249 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND3 | ( | a, | |
| b, | |||
| c ) |
Definition at line 252 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND4 | ( | a, | |
| b, | |||
| c, | |||
| d ) |
Definition at line 255 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND5 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e ) |
Definition at line 258 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND6 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
Definition at line 261 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND7 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g ) |
Definition at line 264 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND8 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 267 of file GPU_vertex_format.hh.
| #define _ATTR_EXPAND9 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i ) |
Definition at line 270 of file GPU_vertex_format.hh.
| #define ATTR_TYPE_MAPPING | ( | _type, | |
| b, | |||
| c, | |||
| blender_enum, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 143 of file GPU_vertex_format.hh.
| #define DECLARE | ( | a, | |
| b, | |||
| c, | |||
| blender_enum, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 28 of file GPU_vertex_format.hh.
| #define DECLARE | ( | a, | |
| b, | |||
| c, | |||
| blender_enum, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 28 of file GPU_vertex_format.hh.
| #define GPU_VERTEX_DEPRECATED_FORMAT_EXPAND | ( | impl | ) |
Definition at line 82 of file GPU_vertex_format.hh.
Referenced by blender::gpu::gpu_vertex_format_to_metal().
| #define GPU_VERTEX_FORMAT_ADD_ATTR | ( | attr | ) |
Definition at line 243 of file GPU_vertex_format.hh.
| #define GPU_VERTEX_FORMAT_ADD_ATTR_EXPAND | ( | ... | ) |
Definition at line 296 of file GPU_vertex_format.hh.
| #define GPU_VERTEX_FORMAT_EXPAND | ( | impl | ) |
Definition at line 30 of file GPU_vertex_format.hh.
Referenced by blender::gpu::gpu_vertex_format_to_metal().
| #define GPU_VERTEX_FORMAT_EXPAND_TYPED | ( | impl | ) |
Definition at line 110 of file GPU_vertex_format.hh.
| #define GPU_VERTEX_FORMAT_FUNC | ( | _VertT, | |
| ... ) |
Definition at line 298 of file GPU_vertex_format.hh.
Referenced by blender::draw::test_draw_curves_interpolate_attributes(), blender::draw::test_draw_curves_interpolate_position(), blender::draw::test_draw_curves_lib(), and blender::draw::test_draw_curves_topology().