std::optional< GLuint > GetFBO() const
void MarkSliceInitialized(size_t slice) const
std::optional< GLuint > GetGLHandle() const
@ kRenderBufferMultisampled
bool IsSliceInitialized(size_t slice) const
TextureGLES(ReactorGLES::Ref reactor, TextureDescriptor desc)
static std::shared_ptr< TextureGLES > WrapFBO(ReactorGLES::Ref reactor, TextureDescriptor desc, GLuint fbo)
A lightweight object that describes the attributes of a texture that can then used an allocator to cr...
bool SetAsFramebufferAttachment(GLenum target, AttachmentType attachment_type) const