GlbData.UseTextureSampler

GlbData.UseTextureSampler method

Creates or reuses a TextureSampler instance at !:GlbImage.LogicalTextureSamplers.

public TextureSampler UseTextureSampler(TextureWrapMode ws, TextureWrapMode wt, 
    TextureMipMapFilter min, TextureInterpolationFilter mag)
ParameterTypeDescription
wsTextureWrapModeThe TextureWrapMode in the S axis.
wtTextureWrapModeThe TextureWrapMode in the T axis.
minTextureMipMapFilterA value of TextureMipMapFilter.
magTextureInterpolationFilterA value of TextureInterpolationFilter.

Return Value

A TextureSampler instance, or null if all the arguments are default values.

See Also