|
| LOpenGLMaterial (const TObjectPtr< LShader > &Shader, const std::string &Name) |
|
| LOpenGLMaterial (TObjectPtr< LMaterial > Material, const std::string &Name) |
|
virtual void | Invalidate () override |
|
virtual void | OnShaderReloaded () override |
|
virtual FORCEINLINE FBuffer | GetUniformStorageBuffer () const override |
|
virtual FORCEINLINE FBuffer & | GetUniformStorageBuffer () override |
|
virtual void | Set (const std::string &Name, const int Value) override |
|
virtual void | Set (const std::string &Name, const bool Value) override |
|
virtual void | Set (const std::string &Name, const float Value) override |
|
virtual void | Set (const std::string &Name, const uint32_t Value) override |
|
virtual void | Set (const std::string &Name, const glm::vec2 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::vec3 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::vec4 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::ivec2 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::ivec3 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::ivec4 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::mat3 &Value) override |
|
virtual void | Set (const std::string &Name, const glm::mat4 &Value) override |
|
virtual void | Set (const std::string &Name, const TObjectPtr< LTexture2D > &Texture) override |
|
virtual void | Set (const std::string &Name, const TObjectPtr< LTexture2D > &Texture, const uint32_t ArrayIndex) override |
|
virtual void | Set (const std::string &Name, const TObjectPtr< LImage2D > &Image) override |
|
virtual float & | GetFloat (const std::string &Name) override |
|
virtual int32_t & | GetInt (const std::string &Name) override |
|
virtual uint32_t & | GetUInt (const std::string &Name) override |
|
virtual bool & | GetBool (const std::string &Name) override |
|
virtual glm::vec2 & | GetVector2 (const std::string &Name) override |
|
virtual glm::vec3 & | GetVector3 (const std::string &Name) override |
|
virtual glm::vec4 & | GetVector4 (const std::string &Name) override |
|
virtual glm::mat3 & | GetMatrix3 (const std::string &Name) override |
|
virtual glm::mat4 & | GetMatrix4 (const std::string &Name) override |
|
virtual void | SetTexture (TObjectPtr< LTexture > Texture) override |
| @TODO: Allow for multiple textures per material.
|
|
virtual void | SetTexture (TObjectPtr< LTexture2D > Texture) override |
|
virtual TObjectPtr< LTexture2D > | GetTexture (const std::string &Name="") override |
|
virtual const TObjectPtr< LTexture2D > & | GetTexture (const std::string &Name) const override |
|
virtual TObjectPtr< LTexture2D > | TryGetTexture (const std::string &Name) override |
|
virtual TObjectPtr< LTextureCube > | GetTextureCube (const std::string &Name) override |
|
virtual TObjectPtr< LTextureCube > | TryGetTextureCube (const std::string &Name) override |
|
virtual FORCEINLINE TObjectPtr< LShader > | GetShader () override |
|
virtual FORCEINLINE const std::string & | GetName () const override |
|
| LObject (const LObject &Other) |
|
virtual void | Initialize () |
| Initialize object.
|
|
virtual void | Destroy () |
| Destroy object, releasing all resources.
|
|
virtual FORCEINLINE bool | IsInitialized () const |
| Check if object is initialized.
|
|
FORCEINLINE FObjectHandle | GetObjectHandle () const |
| Get the object handle.
|
|
virtual FORCEINLINE bool | IsObjectValid () const |
| Check if object is valid for use.
|
|
virtual const LClass * | ObjectRegistration ()=0 |
| Register object class.
|
|
virtual FORCEINLINE const LClass * | GetClass () const |
| Get the class for this LObject.
|
|
virtual std::string | ClassName () const =0 |
| Get name of the LObject class.
|
|
LObject & | operator= (const LObject &Other) |
|
void | MarkAsGarbage () |
| Mark object as garbage.
|
|
template<typename T > |
T & | As () |
| Cast object to type T.
|
|
template<typename T > |
const T & | As () const |
| Cast object to type T.
|
|
template<typename T > |
bool | IsA () const |
| Check if the object is or is a derivation of type T.
|
|
virtual FORCEINLINE bool | IsAsset () const |
| Check if object is an asset.
|
|
FORCEINLINE uint32_t | GetReferenceCount () const |
| Return current reference count from all object pointers.
|
|
template<typename OtherClassType > |
FORCEINLINE bool | IsA (OtherClassType OtherObject) const |
| Check if the object is the same type as the passed object's.
|
|