C# 클래스 Nez.EffectResource

파일 보기 프로젝트 열기: prime31/Nez

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[]