NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
stexture.hpp File Reference

Provides data structures for representing essential components of a texture. More...

#include <filesystem>
#include <string>
#include <vector>
#include "NNL/common/fixed_type.hpp"
#include "NNL/common/io.hpp"
#include "NNL/simple_asset/svalue.hpp"

Go to the source code of this file.

Classes

struct  nnl::SPixel
 Represents a pixel with red, green, blue, and alpha color channels. More...
struct  nnl::STexture
 Represents a simple texture. More...

Namespaces

namespace  nnl

Enumerations

enum class  nnl::STextureFilter {
  nnl::STextureFilter::kNearest = 0 , nnl::STextureFilter::kLinear = 1 , nnl::STextureFilter::kNearestMipmapNearest = 4 , nnl::STextureFilter::kLinearMipmapNearest = 5 ,
  nnl::STextureFilter::kNearestMipmapLinear = 6 , nnl::STextureFilter::kLinearMipmapLinear = 7
}
 Specifies the filtering methods used for texture sampling. More...

Detailed Description

Provides data structures for representing essential components of a texture.

This file defines structures that facilitate the conversion between common image formats (such as JPG and PNG) and in-game texture formats.

See also
nnl::STexture
nnl::texture::Texture