Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Public Attributes | List of all members
gf::RenderAttributeInfo Struct Reference

Attribute info. More...

#include <gf/RenderTarget.h>

Public Attributes

const char * name
 Name of the attribute. More...
 
int size
 Size of the attribute. More...
 
RenderAttributeType type
 Type of the attribute. More...
 
bool normalized
 Is the attribute normalized? More...
 
std::size_t offset
 Offset of the attribute in the vertex. More...
 

Detailed Description

Attribute info.

Member Data Documentation

◆ name

const char* gf::RenderAttributeInfo::name

Name of the attribute.

◆ normalized

bool gf::RenderAttributeInfo::normalized

Is the attribute normalized?

◆ offset

std::size_t gf::RenderAttributeInfo::offset

Offset of the attribute in the vertex.

◆ size

int gf::RenderAttributeInfo::size

Size of the attribute.

◆ type

RenderAttributeType gf::RenderAttributeInfo::type

Type of the attribute.