Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Data::SamplerParameters Struct Reference

GPU Sampler configuration. More...

#include <Engine/Data/Texture.hpp>

+ Collaboration diagram for Ra::Engine::Data::SamplerParameters:

Public Attributes

GLenum wrapS { GL_CLAMP_TO_EDGE }
 OpenGL wrap mode in the s direction.
 
GLenum wrapT { GL_CLAMP_TO_EDGE }
 OpenGL wrap mode in the t direction.
 
GLenum wrapR { GL_CLAMP_TO_EDGE }
 OpenGL wrap mode in the r direction.
 
GLenum minFilter { GL_LINEAR }
 OpenGL minification filter ( GL_LINEAR or GL_NEAREST or GL_XXX_MIPMAP_YYY )
 
GLenum magFilter { GL_LINEAR }
 OpenGL magnification filter ( GL_LINEAR or GL_NEAREST )
 

Detailed Description

GPU Sampler configuration.

Definition at line 22 of file Texture.hpp.

Member Data Documentation

◆ magFilter

GLenum Ra::Engine::Data::SamplerParameters::magFilter { GL_LINEAR }

OpenGL magnification filter ( GL_LINEAR or GL_NEAREST )

Definition at line 32 of file Texture.hpp.

◆ minFilter

GLenum Ra::Engine::Data::SamplerParameters::minFilter { GL_LINEAR }

OpenGL minification filter ( GL_LINEAR or GL_NEAREST or GL_XXX_MIPMAP_YYY )

Definition at line 30 of file Texture.hpp.

◆ wrapR

GLenum Ra::Engine::Data::SamplerParameters::wrapR { GL_CLAMP_TO_EDGE }

OpenGL wrap mode in the r direction.

Definition at line 28 of file Texture.hpp.

◆ wrapS

GLenum Ra::Engine::Data::SamplerParameters::wrapS { GL_CLAMP_TO_EDGE }

OpenGL wrap mode in the s direction.

Definition at line 24 of file Texture.hpp.

◆ wrapT

GLenum Ra::Engine::Data::SamplerParameters::wrapT { GL_CLAMP_TO_EDGE }

OpenGL wrap mode in the t direction.

Definition at line 26 of file Texture.hpp.


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