2023-02-28 01:15:26 +00:00
|
|
|
// AUTOGENERATED COPYRIGHT HEADER START
|
|
|
|
// Copyright (C) 2019-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
|
|
|
// AUTOGENERATED COPYRIGHT HEADER END
|
2017-09-17 19:55:16 +00:00
|
|
|
|
|
|
|
#pragma once
|
2020-04-02 15:02:01 +00:00
|
|
|
#include "common.hpp"
|
2019-01-14 10:23:21 +00:00
|
|
|
#include "gs-limits.hpp"
|
|
|
|
|
2021-06-08 02:38:24 +00:00
|
|
|
namespace streamfx::obs::gs {
|
2018-03-20 11:43:37 +00:00
|
|
|
struct vertex {
|
2018-09-27 01:07:13 +00:00
|
|
|
vec3* position;
|
|
|
|
vec3* normal;
|
|
|
|
vec3* tangent;
|
2018-01-18 04:01:54 +00:00
|
|
|
uint32_t* color;
|
2018-09-27 01:07:13 +00:00
|
|
|
vec4* uv[MAXIMUM_UVW_LAYERS];
|
2018-01-19 01:58:57 +00:00
|
|
|
|
2018-03-20 11:43:37 +00:00
|
|
|
vertex();
|
|
|
|
vertex(vec3* p, vec3* n, vec3* t, uint32_t* col, vec4* uv[MAXIMUM_UVW_LAYERS]);
|
|
|
|
~vertex();
|
2018-01-19 01:58:57 +00:00
|
|
|
|
|
|
|
private:
|
2019-08-04 14:20:26 +00:00
|
|
|
bool _has_store;
|
|
|
|
void* _store;
|
2017-09-17 19:55:16 +00:00
|
|
|
};
|
2021-06-08 02:38:24 +00:00
|
|
|
} // namespace streamfx::obs::gs
|