Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
textures [2020/01/12 21:03] admintextures [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Textures ====== 
  
-Gorilla3D extends FMX texture support of TTextureBitmap. With default FMX behaviour you're only allowed to create a RGBA texture. 
- 
-===== Supported Formats ===== 
- 
- 
-===== Min-/Mag Filter ===== 
- 
-===== Wrapping ===== 
- 
- 
-<file pascal> 
-LTexture := TGorillaTextureBitmap.Create(1024, 1024); 
-LTexture.BeginSetup(); 
-try 
-    with LTexture do 
-    begin 
-        Components := TPixelFormatEx.RGB32F; 
-        Format := TPixelFormatEx.RGB; 
-        MinFilter := TTextureFilter.Linear; 
-        MagFilter := TTextureFilter.Linear; 
-        WrapS := TGorillaTextureWrap.ClampToBorder; 
-        WrapT := TGorillaTextureWrap.ClampToBorder; 
-    end; 
-finally 
-    LTexture.EndSetup(); 
-end; 
-</file>