Class SkyMaterialResourceFile

Inheritance Relationships

Base Type

Class Documentation

class SkyMaterialResourceFile : public MaterialResourceFile

Representation of a sky material.

Public Functions

SkyMaterialResourceFile(const FilePath &path)
~SkyMaterialResourceFile()
void setSky(Ref<ImageCubeResourceFile> sky)
const Shader *getShader() const
Vector<Ref<GPUTexture>> getTextures() const
void bindShader()
void bindTextures()
void bindSamplers()
void bindVSCB()
void bindPSCB()
JSON::json getJSON() const
ID3D11ShaderResourceView *getPreview() const
void reimport()

Reload the file buffer from disk.

bool save()
void draw()

Public Static Functions

static void Load()
static void Destroy()