GltfTextureSampler
Represents a glTF texture sampler
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
public GltfTextureSampler();Properties4
MagFilterProperty
public int MagFilter { get; set; }Texture's magnification filter, used when texture appears larger on screen than the source image.
MinFilterProperty
public int MinFilter { get; set; }Texture's minification filter, used when the texture appears smaller on screen than the source image.
WrapSProperty
public int WrapS { get; set; }Wrapping mode to use for S-axis (horizontal) texture coordinates.
WrapTProperty
public int WrapT { get; set; }Wrapping mode to use for T-axis (vertical) texture coordinates.
Methods8
GetMagFilterint
public int GetMagFilter();Returns
intGetMinFilterint
public int GetMinFilter();Returns
intGetWrapSint
public int GetWrapS();Returns
intGetWrapTint
public int GetWrapT();Returns
intSetMagFiltervoid
public void SetMagFilter(int filterMode);| Name | Type | Default |
|---|---|---|
filterMode | int | — |
SetMinFiltervoid
public void SetMinFilter(int filterMode);| Name | Type | Default |
|---|---|---|
filterMode | int | — |
SetWrapSvoid
public void SetWrapS(int wrapMode);| Name | Type | Default |
|---|---|---|
wrapMode | int | — |
SetWrapTvoid
public void SetWrapT(int wrapMode);| Name | Type | Default |
|---|---|---|
wrapMode | int | — |
Reckfell Engine documentationBack to top ↑