dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImTextureStatus.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImTextureStatus
( ImTextureStatus
, pattern Destroyed
, pattern OK
, pattern WantCreate
, pattern WantDestroy
, pattern WantUpdates
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- enums
-- | Status of a texture to communicate with Renderer Backend.
type ImTextureStatus = CInt
pattern OK :: ImTextureStatus
pattern OK = #{const ImTextureStatus_OK}
-- | Backend destroyed the texture.
pattern Destroyed :: ImTextureStatus
pattern Destroyed = #{const ImTextureStatus_Destroyed}
-- | Requesting backend to create the texture. Set status OK when done.
pattern WantCreate :: ImTextureStatus
pattern WantCreate = #{const ImTextureStatus_WantCreate}
-- | Requesting backend to update specific blocks of pixels (write to texture portions which have never been used before). Set status OK when done.
pattern WantUpdates :: ImTextureStatus
pattern WantUpdates = #{const ImTextureStatus_WantUpdates}
-- | Requesting backend to destroy the texture. Set status to Destroyed when done.
pattern WantDestroy :: ImTextureStatus
pattern WantDestroy = #{const ImTextureStatus_WantDestroy}