LeviLamina
Loading...
Searching...
No Matches
Texture.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/renderer/hal/ResourceBase.h"
7#include "mc/deps/renderer/hal/null/TextureNull.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace mce { class RenderContext; }
12namespace mce { struct TextureDescription; }
13// clang-format on
14
15namespace mce {
16
17class Texture : public ::mce::ResourceBase<::mce::TextureNull> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::UntypedStorage<8, 16> mUnkccf3f0;
22 ::ll::UntypedStorage<8, 16> mUnk9ecf64;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 Texture& operator=(Texture const&);
28 Texture(Texture const&);
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI Texture();
34
35 MCNAPI Texture(::mce::Texture&& other);
36
37 MCNAPI void bindTexture(::mce::RenderContext& renderContext, uint textureUnit, uint shaderStagesBits) const;
38
39 MCNAPI void createTexture(::mce::RenderContext& renderContext, ::mce::TextureDescription const& textureDescription);
40
41 MCNAPI void deleteTexture();
42
43 MCNAPI ::mce::TextureDescription const& getDescription() const;
44
45 MCNAPI bool isCreated() const;
46
47 MCNAPI ::mce::Texture& operator=(::mce::Texture&& texture);
48
49 MCNAPI void resolveTexture(::mce::RenderContext& renderContext, ::mce::Texture* src);
50
51 MCNAPI void safelyDeleteTexture();
52
54
56
57 MCNAPI void unbindTexture(::mce::RenderContext& renderContext, uint shaderStagesBits) const;
58
59 MCNAPI ~Texture();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI void* $ctor();
66
67 MCNAPI void* $ctor(::mce::Texture&& other);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCNAPI void $dtor();
74 // NOLINTEND
75};
76
77} // namespace mce
Definition RenderContext.h:7
Definition Texture.h:7
MCAPI ~Texture()
MCAPI void unbindTexture(::mce::RenderContext &renderContext, uint shaderStagesBits) const
MCAPI void safelyDeleteTexture()
MCAPI void createTexture(::mce::RenderContext &renderContext, ::mce::TextureDescription const &textureDescription)
MCAPI::mce::TextureDescription const & getDescription() const
MCAPI Texture(::mce::Texture &&other)
MCAPI void transitionToPixelShaderResourceState() const
MCAPI bool isCreated() const
MCAPI void * $ctor(::mce::Texture &&other)
MCAPI void resolveTexture(::mce::RenderContext &renderContext, ::mce::Texture *src)
MCAPI::mce::Texture & operator=(::mce::Texture &&texture)
MCAPI void transitionToNonPixelShaderResourceState() const
MCAPI void * $ctor()
MCAPI void deleteTexture()
MCAPI void bindTexture(::mce::RenderContext &renderContext, uint textureUnit, uint shaderStagesBits) const
MCAPI Texture()
MCAPI void $dtor()
Definition TextureDescription.h:7