Blender V5.0
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
15struct GPUVertFormat;
16
18uint padding(uint offset, uint alignment);
20
21namespace blender::gpu {
22
23bool is_fetch_normalized(VertAttrType attr_type);
24bool is_fetch_float(VertAttrType attr_type);
25
26} // namespace blender::gpu
unsigned int uint
uint vertex_buffer_size(const GPUVertFormat *format, uint vertex_len)
uint padding(uint offset, uint alignment)
void VertexFormat_pack(GPUVertFormat *format)
format
bool is_fetch_normalized(VertAttrType attr_type)
bool is_fetch_float(VertAttrType attr_type)