16 lines
293 B
C++
Executable file
16 lines
293 B
C++
Executable file
#pragma once
|
|
|
|
#include <Metal/Metal.hpp>
|
|
|
|
#include "gfx_texture.hpp"
|
|
|
|
class GFXMetalTexture : public GFXTexture {
|
|
public:
|
|
MTL::Texture* handle = nullptr;
|
|
MTL::SamplerState* sampler = nullptr;
|
|
|
|
int array_length = 1;
|
|
bool is_cubemap = false;
|
|
|
|
MTL::PixelFormat format;
|
|
};
|