Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gwn_vertex_format_private.h « gawain « gawain « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1a0f734eda43d916415ceb8fa99f25f64dc4707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

// Gawain vertex format (private interface for use inside Gawain)
//
// This code is part of the Gawain library, with modifications
// specific to integration with Blender.
//
// Copyright 2016-2017 Mike Erwin
//
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of
// the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

void VertexFormat_pack(Gwn_VertFormat*);
unsigned padding(unsigned offset, unsigned alignment);
unsigned vertex_buffer_size(const Gwn_VertFormat*, unsigned vertex_ct);