Botcraft 1.21.4
Loading...
Searching...
No Matches
Botcraft::Renderer::TextureData Struct Reference

#include <Atlas.hpp>

Public Attributes

std::pair< int, int > size
 <Width, Height>
 
std::pair< int, int > position
 <Col, Row>
 
Transparency transparency
 
Animation animation
 

Detailed Description

Definition at line 11 of file Atlas.hpp.

Member Data Documentation

◆ animation

Animation Botcraft::Renderer::TextureData::animation

◆ position

std::pair<int, int> Botcraft::Renderer::TextureData::position

<Col, Row>

Definition at line 16 of file Atlas.hpp.

Referenced by Botcraft::Entity::InitializeFaces(), and Botcraft::Blockstate::UpdateModelsWithAtlasData().

◆ size

std::pair<int, int> Botcraft::Renderer::TextureData::size

<Width, Height>

Definition at line 14 of file Atlas.hpp.

Referenced by Botcraft::Entity::InitializeFaces(), and Botcraft::Blockstate::UpdateModelsWithAtlasData().

◆ transparency

Transparency Botcraft::Renderer::TextureData::transparency

The documentation for this struct was generated from the following file: