reckfellENGINE

GltfTextureSampler

Represents a glTF texture sampler

On this page
class GltfTextureSamplerReckfellSharpInherits Resource

Represents a glTF texture sampler

Represents a texture sampler as defined by the base glTF spec. Texture samplers in glTF specify how to sample data from the texture's base image, when rendering the texture on an object.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

GltfTextureSamplerConstructor
# GltfTextureSampler
C#
public GltfTextureSampler();

Properties4

MagFilterProperty
# MagFilter
C#
public int MagFilter { get; set; }

Texture's magnification filter, used when texture appears larger on screen than the source image.

MinFilterProperty
# MinFilter
C#
public int MinFilter { get; set; }

Texture's minification filter, used when the texture appears smaller on screen than the source image.

WrapSProperty
# WrapS
C#
public int WrapS { get; set; }

Wrapping mode to use for S-axis (horizontal) texture coordinates.

WrapTProperty
# WrapT
C#
public int WrapT { get; set; }

Wrapping mode to use for T-axis (vertical) texture coordinates.

Methods8

GetMagFilterint
# GetMagFilter
C#
public int GetMagFilter();
Returns int
GetMinFilterint
# GetMinFilter
C#
public int GetMinFilter();
Returns int
GetWrapSint
# GetWrapS
C#
public int GetWrapS();
Returns int
GetWrapTint
# GetWrapT
C#
public int GetWrapT();
Returns int
SetMagFiltervoid
# SetMagFilter
C#
public void SetMagFilter(int filterMode);
Parameters
NameTypeDefault
filterModeint—
SetMinFiltervoid
# SetMinFilter
C#
public void SetMinFilter(int filterMode);
Parameters
NameTypeDefault
filterModeint—
SetWrapSvoid
# SetWrapS
C#
public void SetWrapS(int wrapMode);
Parameters
NameTypeDefault
wrapModeint—
SetWrapTvoid
# SetWrapT
C#
public void SetWrapT(int wrapMode);
Parameters
NameTypeDefault
wrapModeint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.