Blender V4.3
ply_file_buffer_binary.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "ply_file_buffer.hh"
12
13namespace blender::io::ply {
16
17 public:
18 void write_vertex(float x, float y, float z) override;
19
20 void write_UV(float u, float v) override;
21
22 void write_data(float v) override;
23
24 void write_vertex_normal(float nx, float ny, float nz) override;
25
26 void write_vertex_color(uchar r, uchar g, uchar b, uchar a) override;
27
28 void write_vertex_end() override;
29
30 void write_face(char size, Span<uint32_t> const &vertex_indices) override;
31
32 void write_edge(int first, int second) override;
33};
34} // namespace blender::io::ply
unsigned char uchar
ATTR_WARN_UNUSED_RESULT const BMVert * v
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
Definition btQuadWord.h:117
void write_vertex_normal(float nx, float ny, float nz) override
void write_vertex_color(uchar r, uchar g, uchar b, uchar a) override
void write_UV(float u, float v) override
void write_face(char size, Span< uint32_t > const &vertex_indices) override
void write_vertex(float x, float y, float z) override
void write_edge(int first, int second) override
FileBuffer(const char *filepath, size_t buffer_chunk_size=64 *1024)
local_group_size(16, 16) .push_constant(Type b