Class CommonEditorResources
Provides access to common resources used in the editor.
Inherited Members
Namespace: Gorgon.Editor
Assembly: Gorgon.Editor.API.dll
Syntax
public static class CommonEditorResources
Fields
| Edit this page View SourceMemoryStreamManager
A small memory stream manager pool for loading resource data using MemoryStream.
Declaration
public static readonly RecyclableMemoryStreamManager MemoryStreamManager
Field Value
Type | Description |
---|---|
RecyclableMemoryStreamManager |
Properties
| Edit this page View SourceCheckerBoardPatternImage
Property to return a checkerboard pattern image (encoded as DDS/DXT1 data) for background images
Declaration
public static IGorgonImage CheckerBoardPatternImage { get; }
Property Value
Type | Description |
---|---|
IGorgonImage |
Remarks
The image size is 256x256.
KeyboardIcon
Property to return a keyboard icon (encoded as DDS/DXT5 data).
Declaration
public static IGorgonImage KeyboardIcon { get; }
Property Value
Type | Description |
---|---|
IGorgonImage |
KeyboardIconLarge
Property to return a large (64x64) version of the keybaord icon (encoded as DDS/DXT5 data).
Declaration
public static IGorgonImage KeyboardIconLarge { get; }
Property Value
Type | Description |
---|---|
IGorgonImage |
Methods
| Edit this page View SourceLoadResources()
Function to load the common resources at application start up.
Declaration
public static void LoadResources()
UnloadResources()
Function to unload all resources at the end of the application life cycle.
Declaration
public static void UnloadResources()