Open AODQ opened 2 years ago
Currently samplers are created alongside the texture. This is because I initially thought OpenGL did not support their separation, however the OpenGL standard introduced this in some 4.x update.
typedef struct { PuleGfxGpuImage image; + PuleGfxGpuSampler sampler; uint32_t mipmapLevel; // default 0 } PuleGfxFramebufferImageAttachment;
typedef struct { uint32_t width; uint32_t height; PuleGfxImageTarget target; PuleGfxImageByteFormat byteFormat; - PuleGfxSampler sampler; void const * optionalInitialData; } PuleGfxImageCreateInfo;
Description
Currently samplers are created alongside the texture. This is because I initially thought OpenGL did not support their separation, however the OpenGL standard introduced this in some 4.x update.
Proposed ABI Changes