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
3037 3038 3039 |
# File 'lib/imgui.rb', line 3037 def Create(format, w, h) ImGui::ImTextureData_Create(self, format, w, h) end |
#DestroyPixels ⇒ Object
3041 3042 3043 |
# File 'lib/imgui.rb', line 3041 def DestroyPixels() ImGui::ImTextureData_DestroyPixels(self) end |
#GetPitch ⇒ Object
3057 3058 3059 |
# File 'lib/imgui.rb', line 3057 def GetPitch() ImGui::ImTextureData_GetPitch(self) end |
#GetPixels ⇒ Object
3045 3046 3047 |
# File 'lib/imgui.rb', line 3045 def GetPixels() ImGui::ImTextureData_GetPixels(self) end |
#GetPixelsAt(x, y) ⇒ Object
3049 3050 3051 |
# File 'lib/imgui.rb', line 3049 def GetPixelsAt(x, y) ImGui::ImTextureData_GetPixelsAt(self, x, y) end |
#GetSizeInBytes ⇒ Object
3053 3054 3055 |
# File 'lib/imgui.rb', line 3053 def GetSizeInBytes() ImGui::ImTextureData_GetSizeInBytes(self) end |
#GetTexID ⇒ Object
3065 3066 3067 |
# File 'lib/imgui.rb', line 3065 def GetTexID() ImGui::ImTextureData_GetTexID(self) end |
#GetTexRef ⇒ Object
3061 3062 3063 |
# File 'lib/imgui.rb', line 3061 def GetTexRef() ImGui::ImTextureData_GetTexRef(self) end |
#SetStatus(status) ⇒ Object
3073 3074 3075 |
# File 'lib/imgui.rb', line 3073 def SetStatus(status) ImGui::ImTextureData_SetStatus(self, status) end |
#SetTexID(tex_id) ⇒ Object
3069 3070 3071 |
# File 'lib/imgui.rb', line 3069 def SetTexID(tex_id) ImGui::ImTextureData_SetTexID(self, tex_id) end |