C# Class Nez.EffectResource

Afficher le fichier Open project: prime31/Nez

Private Properties

Свойство Type Description
getEmbeddedResourceBytes byte[]
getMonoGameEmbeddedResourceBytes byte[]

Méthodes publiques

Méthode Description
getFileResourceBytes ( string path ) : byte[]

fetches the raw byte data of a file from the Content folder. Used to keep the Effect subclass code simple and clean due to the Effect constructor requiring the byte[].

Private Methods

Méthode Description
getEmbeddedResourceBytes ( string name ) : byte[]

gets the raw byte[] from an EmbeddedResource

getMonoGameEmbeddedResourceBytes ( string name ) : byte[]

Method Details

getFileResourceBytes() public static méthode

fetches the raw byte data of a file from the Content folder. Used to keep the Effect subclass code simple and clean due to the Effect constructor requiring the byte[].
public static getFileResourceBytes ( string path ) : byte[]
path string Path.
Résultat byte[]