C# Класс Nez.EffectResource

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
getEmbeddedResourceBytes byte[]
getMonoGameEmbeddedResourceBytes byte[]

Открытые методы

Метод Описание
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[].

Приватные методы

Метод Описание
getEmbeddedResourceBytes ( string name ) : byte[]

gets the raw byte[] from an EmbeddedResource

getMonoGameEmbeddedResourceBytes ( string name ) : byte[]

Описание методов

getFileResourceBytes() публичный статический Метод

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.
Результат byte[]