Home -> ITextureSampler2DArray

Declaration

class ITextureSampler2DArray :public ITextureSampler;

Description

The ITextureSampler2DArray interface represents a sampler for performing texture lookups from ITextureBuffer2DArray resources in a shader.

Enumerations

Name Description
Public Enum WrapMode
Defines the way texture coordinates are wrapped during sampling
Public Enum FilterMode
Defines the filter mode to use during sampling
Public Enum MipmapMode
Defines the mipmap mode to use during sampling

Members

Initialization methods

Name Description
Public member Delete
Schedules the object for deletion. After calling this method, the object will be destroyed after the current frame completes drawing.

Format methods

Name Description
Public member SetTextureWrapMode
Specifies the wrap mode to use when sampling from the texture
Public member SetTextureFilterMode
Specifies the filter mode to use when sampling from the texture
Public member SetTextureMipmapMode
Specifies the filter mode to use when sampling from the texture
Public member SetMipmapLevelMapping
Adjusts the way mipmap levels are used by the sampler
Public member SetAnisotropicFilterMode
Allows anisotropic filtering to be enabled and configured for sampling from the texture. Requires the AnisotropicFiltering feature to be enabled when creating the renderer.

See also