Patch Update - LoadTexture Tweak - V10.0.1

This commit is contained in:
2025-05-05 16:12:38 +02:00
parent 8e6b7409d9
commit e68f1d5dd0
7 changed files with 74 additions and 101 deletions

View File

@@ -3,6 +3,8 @@
#include <WICTextureLoader.h>
#include <SimpleMath.h>
#include "d3dclass.h"
enum class ObjectType
{
Sphere,
@@ -96,6 +98,7 @@ public:
std::string ObjectTypeToString(ObjectType objectType);
void LaunchObject();
void LoadTexturesFromPath(std::vector<std::wstring>& texturePaths, TextureContainer& texturesContainer,D3DClass* m_Direct3D);
void SetAlpha(float alpha) { m_alpha = alpha; }
float GetAlpha() const { return m_alpha; }
void SetInitialStretch(float initialStretch) { m_initialStretch = initialStretch; }
@@ -127,8 +130,6 @@ private:
std::string m_name;
ObjectType m_type = ObjectType::Unknown;
ShaderType m_activeShader = ShaderType::LIGHTING;
float m_boundingRadius;