PipelineInfo::CullMode and PipelineInfo::RasterMode are no longer within the PipelineInfo class, enabling easier forward declaration.
KRMaterial::bind now accepts remaining parameters required to set up the pipeline. Removed GL calls from KRModel. Replaced ifdef guards with pragma once. KRMesh::model_format_t changed to ModelFormat and is no longer within KRMesh, enabling easier forward declaration.
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
#include "KREngine-common.h"
|
||||
#include "KRContextObject.h"
|
||||
|
||||
#ifndef KRDEVICE_H
|
||||
#define KRDEVICE_H
|
||||
#pragma once
|
||||
|
||||
class KRDevice : public KRContextObject
|
||||
{
|
||||
@@ -68,5 +67,3 @@ public:
|
||||
VmaAllocator m_allocator;
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // KRDEVICE_H
|
||||
|
||||
Reference in New Issue
Block a user