Fix OpenGL sampler and copy semantics

This commit is contained in:
2026-03-26 02:14:21 +08:00
parent c47e871c5a
commit 1ef3048da1
6 changed files with 215 additions and 6 deletions

View File

@@ -35,7 +35,9 @@ struct OpenGLSamplerDesc {
SamplerWrapMode wrapR = SamplerWrapMode::Repeat;
SamplerCompareMode compareMode = SamplerCompareMode::None;
int compareFunc = 0;
float mipLodBias = 0.0f;
float maxAnisotropy = 1.0f;
float borderColor[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
float minLod = -1000.0f;
float maxLod = 1000.0f;
};