This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (sampler != null) | |
{ | |
TextureSamplerUtil.SetSampler(Texture, sampler); | |
importer.wrapMode = Texture.wrapMode; | |
importer.wrapModeU = Texture.wrapModeU; | |
importer.wrapModeV = Texture.wrapModeV; | |
importer.wrapModeW = Texture.wrapModeW; | |
importer.filterMode = Texture.filterMode; | |
importer.SaveAndReimport(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses | |
ForUsing; | |
type | |
TFoo = class | |
private | |
FValue: Integer; | |
public | |
constructor Create(Value: Integer); | |
destructor Destroy; override; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit ForUsing; | |
interface | |
type | |
TUsing<T: class> = record | |
private | |
type | |
TEnumerator = class | |
private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit RioGetItFix; | |
interface | |
procedure Register; | |
implementation | |
uses | |
Winapi.Windows, System.SysUtils, Vcl.Themes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit USushiBreak; | |
interface | |
uses | |
System.Classes, Vcl.Controls, Vcl.Graphics, Vcl.Forms, ToolsAPI; | |
procedure Register; | |
implementation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit Lyna.Generators; | |
interface | |
uses | |
SysUtils, Rtti, TypInfo; | |
type | |
TRange = record | |
strict private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
TObjectHelper = class helper for TObject | |
public | |
class function &&op_LogicalOr<T: class>(A, B: T): T; static; | |
end; | |
class function TObjectHelper.&&op_LogicalOr<T>(A, B: T): T; | |
begin | |
if A <> nil then | |
Result := A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program Project1; | |
{$APPTYPE CONSOLE} | |
uses | |
System.SysUtils, System.Classes, System.Types, Vcl.Dialogs; | |
type | |
TStringListEx = class(TStringList) | |
public |