Skip to content

KDGpu::SamplerOptions

#include <sampler_options.h>

Public Attributes

Public Attributes Documentation

variable label

1
std::string_view label;

variable magFilter

1
FilterMode magFilter { FilterMode::Nearest };

variable minFilter

1
FilterMode minFilter { FilterMode::Nearest };

variable mipmapFilter

1
MipmapFilterMode mipmapFilter { MipmapFilterMode::Nearest };

variable u

1
AddressMode u { AddressMode::Repeat };

variable v

1
AddressMode v { AddressMode::Repeat };

variable w

1
AddressMode w { AddressMode::Repeat };

variable lodMinClamp

1
float lodMinClamp { 0.0f };

variable lodMaxClamp

1
float lodMaxClamp { MipmapLodClamping::NoClamping };

variable anisotropyEnabled

1
bool anisotropyEnabled { false };

variable maxAnisotropy

1
float maxAnisotropy { 1.0f };

variable compareEnabled

1
bool compareEnabled { false };

variable compare

1
CompareOperation compare { CompareOperation::Never };

variable normalizedCoordinates

1
bool normalizedCoordinates { true };

Updated on 2025-04-12 at 00:01:45 +0000