FBX파일 읽기 로직 완성
This commit is contained in:
@@ -39,6 +39,7 @@ class Graphics final {
|
||||
BufferHandle CreateIndexBuffer(gsl::span<std::uint32_t> indices);
|
||||
void DestroyBuffer(BufferHandle handle);
|
||||
TextureHandle CreateTexture(gsl::czstring path);
|
||||
TextureHandle CreateTexture(gsl::span<std::uint8_t> image_file_data);
|
||||
void DestroyTexture(TextureHandle handle);
|
||||
|
||||
private:
|
||||
|
||||
12
include/vulkan/model.h
Normal file
12
include/vulkan/model.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
#include "vertex.h"
|
||||
|
||||
namespace veng {
|
||||
struct Model {
|
||||
std::vector<veng::Vertex> vertices;
|
||||
std::vector<std::uint32_t> indices;
|
||||
glm::mat4 transform;
|
||||
};
|
||||
} // namespace veng
|
||||
Reference in New Issue
Block a user