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