Class DecalMaterialResourceFile¶
Defined in File decal_material_resource_file.h
Inheritance Relationships¶
Base Type¶
public MaterialResourceFile
(Class MaterialResourceFile)
Class Documentation¶
-
class
DecalMaterialResourceFile
: public MaterialResourceFile¶ Representation of a material used for drawing decals. Uses ImageResourceFile to store the Decal’s texture.
Public Functions
-
virtual
~DecalMaterialResourceFile
()¶
-
void
setDecal
(Ref<ImageResourceFile> decal)¶
-
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
()¶
-
virtual