Class: ImTextureData
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImTextureData
- Defined in:
- lib/imgui.rb
Instance Method Summary collapse
- #Create(format, w, h) ⇒ Object
- #DestroyPixels ⇒ Object
- #GetPitch ⇒ Object
- #GetPixels ⇒ Object
- #GetPixelsAt(x, y) ⇒ Object
- #GetSizeInBytes ⇒ Object
- #GetTexID ⇒ Object
- #GetTexRef ⇒ Object
- #SetStatus(status) ⇒ Object
- #SetTexID(tex_id) ⇒ Object
Instance Method Details
#Create(format, w, h) ⇒ Object
3055 3056 3057 |
# File 'lib/imgui.rb', line 3055 def Create(format, w, h) ImGui::ImTextureData_Create(self, format, w, h) end |
#DestroyPixels ⇒ Object
3059 3060 3061 |
# File 'lib/imgui.rb', line 3059 def DestroyPixels() ImGui::ImTextureData_DestroyPixels(self) end |
#GetPitch ⇒ Object
3075 3076 3077 |
# File 'lib/imgui.rb', line 3075 def GetPitch() ImGui::ImTextureData_GetPitch(self) end |
#GetPixels ⇒ Object
3063 3064 3065 |
# File 'lib/imgui.rb', line 3063 def GetPixels() ImGui::ImTextureData_GetPixels(self) end |
#GetPixelsAt(x, y) ⇒ Object
3067 3068 3069 |
# File 'lib/imgui.rb', line 3067 def GetPixelsAt(x, y) ImGui::ImTextureData_GetPixelsAt(self, x, y) end |
#GetSizeInBytes ⇒ Object
3071 3072 3073 |
# File 'lib/imgui.rb', line 3071 def GetSizeInBytes() ImGui::ImTextureData_GetSizeInBytes(self) end |
#GetTexID ⇒ Object
3083 3084 3085 |
# File 'lib/imgui.rb', line 3083 def GetTexID() ImGui::ImTextureData_GetTexID(self) end |
#GetTexRef ⇒ Object
3079 3080 3081 |
# File 'lib/imgui.rb', line 3079 def GetTexRef() ImGui::ImTextureData_GetTexRef(self) end |
#SetStatus(status) ⇒ Object
3091 3092 3093 |
# File 'lib/imgui.rb', line 3091 def SetStatus(status) ImGui::ImTextureData_SetStatus(self, status) end |
#SetTexID(tex_id) ⇒ Object
3087 3088 3089 |
# File 'lib/imgui.rb', line 3087 def SetTexID(tex_id) ImGui::ImTextureData_SetTexID(self, tex_id) end |