Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGSamplerDescription Struct Reference

#include <qsgtexture_p.h>

+ Collaboration diagram for QSGSamplerDescription:

Static Public Member Functions

static QSGSamplerDescription fromTexture (QSGTexture *t)
 

Public Attributes

QSGTexture::Filtering filtering = QSGTexture::Nearest
 
QSGTexture::Filtering mipmapFiltering = QSGTexture::None
 
QSGTexture::WrapMode horizontalWrap = QSGTexture::ClampToEdge
 
QSGTexture::WrapMode verticalWrap = QSGTexture::ClampToEdge
 
QSGTexture::AnisotropyLevel anisotropylevel = QSGTexture::AnisotropyNone
 

Detailed Description

Definition at line 24 of file qsgtexture_p.h.

Member Function Documentation

◆ fromTexture()

QSGSamplerDescription QSGSamplerDescription::fromTexture ( QSGTexture * t)
static

Definition at line 63 of file qsgtexture.cpp.

References filtering.

Member Data Documentation

◆ anisotropylevel

QSGTexture::AnisotropyLevel QSGSamplerDescription::anisotropylevel = QSGTexture::AnisotropyNone

Definition at line 30 of file qsgtexture_p.h.

◆ filtering

QSGTexture::Filtering QSGSamplerDescription::filtering = QSGTexture::Nearest

Definition at line 26 of file qsgtexture_p.h.

Referenced by fromTexture().

◆ horizontalWrap

QSGTexture::WrapMode QSGSamplerDescription::horizontalWrap = QSGTexture::ClampToEdge

Definition at line 28 of file qsgtexture_p.h.

◆ mipmapFiltering

QSGTexture::Filtering QSGSamplerDescription::mipmapFiltering = QSGTexture::None

Definition at line 27 of file qsgtexture_p.h.

◆ verticalWrap

QSGTexture::WrapMode QSGSamplerDescription::verticalWrap = QSGTexture::ClampToEdge

Definition at line 29 of file qsgtexture_p.h.


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