obs-StreamFX/source/obs/gs/gs-vertex.hpp

26 lines
573 B
C++
Raw Normal View History

// AUTOGENERATED COPYRIGHT HEADER START
// Copyright (C) 2019-2023 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
// AUTOGENERATED COPYRIGHT HEADER END
#pragma once
#include "common.hpp"
#include "gs-limits.hpp"
2021-06-08 02:38:24 +00:00
namespace streamfx::obs::gs {
struct vertex {
vec3* position;
vec3* normal;
vec3* tangent;
uint32_t* color;
vec4* uv[MAXIMUM_UVW_LAYERS];
vertex();
vertex(vec3* p, vec3* n, vec3* t, uint32_t* col, vec4* uv[MAXIMUM_UVW_LAYERS]);
~vertex();
private:
2019-08-04 14:20:26 +00:00
bool _has_store;
void* _store;
};
2021-06-08 02:38:24 +00:00
} // namespace streamfx::obs::gs