<commit_before>#pragma once

#include "pixelboost/graphics/device/bufferFormats.h"

namespace pb
{
    
class GraphicsDevice;

struct Vertex_P3
{
    float position[3];
    float __padding;
};
    
struct Vertex_P3_UV
{
    float position[3];
    float uv[2];
    float __padding[3]; // for 32-byte alignment
};

struct Vertex_P3_C4
{
    float position[3];
    float color[4];
};
    
struct Vertex_P3_C4_UV
{
    float position[3];
    float uv[2];
    float color[4];
    float __padding[2]; // for 48-byte alignment
};

struct Vertex_P3_N3_UV
{
    float position[3];
    float normal[3];
    float uv[2];
};
    
struct Vertex_P3_N3_UV_BW
{
    float position[3];
    float normal[3];
    float uv[2];
    char bones[4];
    float boneWeights[4];
};

class VertexBuffer
{<commit_msg>Remove padding from vertex buffers<commit_after>#pragma once

#include "pixelboost/graphics/device/bufferFormats.h"

namespace pb
{
    
class GraphicsDevice;

struct Vertex_P3
{
    float position[3];
};
    
struct Vertex_P3_UV
{
    float position[3];
    float uv[2];
};

struct Vertex_P3_C4
{
    float position[3];
    float color[4];
};
    
struct Vertex_P3_C4_UV
{
    float position[3];
    float uv[2];
    float color[4];
};

struct Vertex_P3_N3_UV
{
    float position[3];
    float normal[3];
    float uv[2];
};
    
struct Vertex_P3_N3_UV_BW
{
    float position[3];
    float normal[3];
    float uv[2];
    char bones[4];
    float boneWeights[4];
};

class VertexBuffer
{
{'fraction_non_alphanumeric': 0.11705006765899864, 'fraction_numerical': 0.03924221921515562, 'mean_word_length': 3.1197771587743732, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4245533', 'n_tokens_mistral': 577, 'n_tokens_neox': 562, 'n_words': 124}