CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::StreamingTexture::MipData Struct Reference

A mip-level bitmap data for a texture. More...

#include <CeresEngine/Texture/Texture.hpp>

Public Attributes

Format format = Format::RGBA8UInt
 The format used by the bitmap data.
 
BitmapExtent extents
 Determines the size of the bitmap.
 
SPtr< HResourceStreamstream
 A reference to the stream that backs this mip level data.
 

Detailed Description

A mip-level bitmap data for a texture.

Member Data Documentation

◆ extents

BitmapExtent CeresEngine::StreamingTexture::MipData::extents

Determines the size of the bitmap.

◆ format

Format CeresEngine::StreamingTexture::MipData::format = Format::RGBA8UInt

The format used by the bitmap data.

This will control how the bytes in mData are interpreted into colors.

◆ stream

SPtr<HResourceStream> CeresEngine::StreamingTexture::MipData::stream

A reference to the stream that backs this mip level data.


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