Represents a OpenGL GPU texture resource.
uint32_t GetTextureId() const
Returns the OpenGL id / name of the texture.
HGIGL_API void SubmitLayoutChange(HgiTextureUsage newLayout) override
This function does not do anything.
HGIGL_API size_t GetByteSizeOfResource() const override
Returns the byte size of the GPU texture.
HGIGL_API uint64_t GetBindlessHandle()
Returns the bindless gpu handle (caller must verify extension support)
HGIGL_API uint64_t GetRawResource() const override
This function returns the handle to the Hgi backend's gpu resource, cast to a uint64_t.
Represents a graphics platform independent GPU texture resource.
Describes the properties needed to create a GPU texture.
Describes the properties needed to create a GPU texture view from an existing GPU texture object.