Definition OpenglTexture.h:18
GLenum wrapType
Definition OpenglTexture.h:25
bool isMultiSampled() const
Definition OpenglTexture.h:70
GLenum filterType
Definition OpenglTexture.h:24
uint32 isImmutableStorage
Definition OpenglTexture.h:28
uint32 numPixelComponents
Definition OpenglTexture.h:27
void create(const TextureDesc &desc)
Definition OpenglTexture.cpp:21
void bindNonDSATexture() const
Definition OpenglTexture.cpp:183
void bindSlot(uint32 slotIndex) const
Definition OpenglTexture.cpp:195
GLsizei widthPx
Definition OpenglTexture.h:21
void createMultiSampled(const TextureDesc &desc)
Definition OpenglTexture.cpp:61
void createImmutableStorage(const TextureDesc &desc)
Definition OpenglTexture.cpp:33
void destroy()
Definition OpenglTexture.cpp:200
GLuint textureID
Definition OpenglTexture.h:20
std::size_t numPixels() const
Definition OpenglTexture.h:65
bool hasResource() const
Definition OpenglTexture.h:75
GLsizei numSamples
Definition OpenglTexture.h:26
GLsizei heightPx
Definition OpenglTexture.h:22
void uploadPixelData(TSpanView< std::byte > pixelData, EPixelFormat pixelFormat, EPixelComponent pixelComponent)
Upload pixel data for the full texture.
Definition OpenglTexture.cpp:87
bool isColor() const
Definition OpenglTexture.cpp:206
GLenum internalFormat
Definition OpenglTexture.h:23
Definition ghi_infos.h:101