Gorgon
Show / Hide Table of Contents

Class CommonEditorResources

Provides access to common resources used in the editor.

Inheritance
object
CommonEditorResources
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor
Assembly: Gorgon.Editor.API.dll
Syntax
public static class CommonEditorResources

Fields

| Edit this page View Source

MemoryStreamManager

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 Source

CheckerBoardPatternImage

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.

| Edit this page View Source

KeyboardIcon

Property to return a keyboard icon (encoded as DDS/DXT5 data).

Declaration
public static IGorgonImage KeyboardIcon { get; }
Property Value
Type Description
IGorgonImage
| Edit this page View Source

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 Source

LoadResources()

Function to load the common resources at application start up.

Declaration
public static void LoadResources()
| Edit this page View Source

UnloadResources()

Function to unload all resources at the end of the application life cycle.

Declaration
public static void UnloadResources()
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author