Struct SamplerMetadata

Struct Documentation

struct SamplerMetadata

Contains metadata about a given sampler used by the stream.

Public Members

SamplerFlags flags

See also

Misc. creation flags. SamplerFlags/SamplerFlagBits

Filter magFilter

Value specifying the magnification filter to apply to lookups.

See also

Filter

Filter minFilter

Value specifying the minification filter to apply to lookups.

See also

Filter

Filter mipmapMode

Value specifying the mipmap filter to apply to lookups.

See also

Filter

SamplerAddressMode addressModeU

Method to use for resolving an x texture coordinate that is outside the 0 to 1 range.

See also

SamplerAddressMode

SamplerAddressMode addressModeV

Method to use for resolving a v texture coordinate that is outside the 0 to 1 range.

See also

SamplerAddressMode

SamplerAddressMode addressModeW

Method to use for resolving a w texture coordinate that is outside the 0 to 1 range.

See also

SamplerAddressMode

float mipLodBias

Offset from the calculated mipmap level.

float maxAnisotropy

Anisotropy clamp value.

bool compareEnable

True if comparision operations are enabled during lookups.

See also

CompareOp

CompareOp compareOp

The comparison function to apply to fetched data before filtering.

See also

CompareOp

float minLod

Used to clamp the computed LOD value.

float maxLod

Used to clamp the computed LOD value.

BorderColor borderColor

Border color to use if kTextureAddressBorder is specified for addressModeU, addressModeV, or addressModeW.

See also

BorderColor

bool unnormalizedCoordinates

Controls whether to use unnormalized or normalized texel coordinates to address texels of the image.