Blender
V5.0
source
blender
gpu
intern
gpu_vertex_format_private.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2016 by Mike Erwin. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11
#pragma once
12
13
#include "
GPU_vertex_buffer.hh
"
14
15
struct
GPUVertFormat
;
16
17
void
VertexFormat_pack
(
GPUVertFormat
*
format
);
18
uint
padding
(
uint
offset,
uint
alignment);
19
uint
vertex_buffer_size
(
const
GPUVertFormat
*
format
,
uint
vertex_len);
20
21
namespace
blender::gpu
{
22
23
bool
is_fetch_normalized
(
VertAttrType
attr_type);
24
bool
is_fetch_float
(
VertAttrType
attr_type);
25
26
}
// namespace blender::gpu
uint
unsigned int uint
Definition
BLI_sys_types.h:64
GPU_vertex_buffer.hh
vertex_buffer_size
uint vertex_buffer_size(const GPUVertFormat *format, uint vertex_len)
Definition
gpu_vertex_format.cc:359
padding
uint padding(uint offset, uint alignment)
Definition
gpu_vertex_format.cc:547
VertexFormat_pack
void VertexFormat_pack(GPUVertFormat *format)
Definition
gpu_vertex_format.cc:566
format
format
Definition
logImageCore.h:35
blender::gpu
Definition
blf_internal_types.hh:32
blender::gpu::is_fetch_normalized
bool is_fetch_normalized(VertAttrType attr_type)
Definition
gpu_vertex_format.cc:238
blender::gpu::VertAttrType
VertAttrType
Definition
GPU_vertex_format.hh:23
blender::gpu::is_fetch_float
bool is_fetch_float(VertAttrType attr_type)
Definition
gpu_vertex_format.cc:255
GPUVertFormat
Definition
GPU_vertex_format.hh:217
Generated on
for Blender by
doxygen
1.16.1