Class CustomMaterialResourceFile¶
Defined in File custom_material_resource_file.h
Inheritance Relationships¶
Base Type¶
public MaterialResourceFile
(Class MaterialResourceFile)
Class Documentation¶
-
class
CustomMaterialResourceFile
: public MaterialResourceFile¶ Representation of a custom material.
Public Functions
-
~CustomMaterialResourceFile
()¶
-
void
recompileShaders
()¶
-
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
()¶
-
void
drawTextureSlots
(const char *label, Vector<Ref<ImageResourceFile>> &textures)¶
-
float
getFloat
(int index)¶
-
bool
setFloat
(int index, float value)¶
-