Skip to content

KDGpu::SamplerOptions

#include <sampler_options.h>

Public Attributes

Name
std::string_view label
FilterMode magFilter
FilterMode minFilter
MipmapFilterMode mipmapFilter
AddressMode u
AddressMode v
AddressMode w
float lodMinClamp
float lodMaxClamp
bool anisotropyEnabled
float maxAnisotropy
bool compareEnabled
CompareOperation compare
bool normalizedCoordinates

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 2024-11-23 at 00:01:14 +0000