![]() |
CMSC23700 Common Code Library
Support code for CS23700 programming projects
|
#include <cs237-application.hpp>
Public Member Functions | |
SamplerInfo () | |
SamplerInfo (vk::Filter magF, vk::Filter minF, vk::SamplerMipmapMode mm, vk::SamplerAddressMode am, vk::BorderColor color) | |
sampler info for 1D texture | |
SamplerInfo (vk::Filter magF, vk::Filter minF, vk::SamplerMipmapMode mm, vk::SamplerAddressMode am1, vk::SamplerAddressMode am2, vk::BorderColor color) | |
sampler info for 2D texture | |
Public Attributes | |
vk::Filter | magFilter |
vk::Filter | minFilter |
vk::SamplerMipmapMode | mipmapMode |
vk::SamplerAddressMode | addressModeU |
vk::SamplerAddressMode | addressModeV |
vk::SamplerAddressMode | addressModeW |
vk::BorderColor | borderColor |
Information for creating a sampler object. This is more limited than Vulkan's vk::SamplerCreateInfo structure, but should cover the common cases used in this class.
|
inline |
|
inline |
sampler info for 1D texture
|
inline |
sampler info for 2D texture
vk::SamplerAddressMode cs237::Application::SamplerInfo::addressModeU |
vk::SamplerAddressMode cs237::Application::SamplerInfo::addressModeV |
vk::SamplerAddressMode cs237::Application::SamplerInfo::addressModeW |
vk::BorderColor cs237::Application::SamplerInfo::borderColor |
vk::Filter cs237::Application::SamplerInfo::magFilter |
vk::Filter cs237::Application::SamplerInfo::minFilter |
vk::SamplerMipmapMode cs237::Application::SamplerInfo::mipmapMode |