![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MetalResources.h>
Inheritance diagram for FMetalResourceViewBase:Classes | |
| struct | FBufferView |
| struct | FTextureBufferBacked |
Public Types | |
| enum class | EMetalType { Null = TStorage::IndexOfType<FEmptyVariantState>() , TextureView = TStorage::IndexOfType<MTLTexturePtr>() , BufferView = TStorage::IndexOfType<FBufferView>() , TextureBufferBacked = TStorage::IndexOfType<FTextureBufferBacked>() } |
| typedef TVariant< FEmptyVariantState, MTLTexturePtr, FBufferView, FTextureBufferBacked > | TStorage |
Public Types inherited from TLinkedListBase< ContainerType, ElementType, IteratorType > | |
| typedef IteratorType< ContainerType, ElementType > | TIterator |
| typedef IteratorType< ContainerType, const ElementType > | TConstIterator |
Public Member Functions | |
| virtual | ~FMetalResourceViewBase () |
| EMetalType | GetMetalType () const |
| const MTLTexturePtr & | GetTextureView () const |
| const FBufferView & | GetBufferView () const |
| const FTextureBufferBacked & | GetTextureBufferBacked () const |
| virtual void | UpdateView (FMetalRHICommandContext *Context, const bool bConstructing)=0 |
Public Member Functions inherited from TIntrusiveLinkedList< FMetalResourceViewBase > | |
| TIntrusiveLinkedList () | |
Public Member Functions inherited from TLinkedListBase< ContainerType, ElementType, IteratorType > | |
| TLinkedListBase () | |
| void | Unlink () |
| void | LinkBefore (ContainerType *Before) |
| void | LinkAfter (ContainerType *After) |
| void | LinkReplace (ContainerType *Replace) |
| void | LinkHead (ContainerType *&Head) |
| UE_FORCEINLINE_HINT bool | IsLinked () |
| UE_FORCEINLINE_HINT ContainerType ** | GetPrevLink () const |
| UE_FORCEINLINE_HINT ContainerType * | GetNextLink () const |
| UE_FORCEINLINE_HINT ContainerType * | Next () |
Public Attributes | |
| TArray< TTuple< MTL::Resource *, MTL::ResourceUsage > > | ReferencedResources |
Protected Member Functions | |
| FMetalResourceViewBase (FMetalDevice &InDevice) | |
| void | InitAsTextureView (MTLTexturePtr) |
| void | InitAsBufferView (FMetalBufferPtr Buffer, uint32 Offset, uint32 Size) |
| void | InitAsTextureBufferBacked (MTLTexturePtr Texture, FMetalBufferPtr Buffer, uint32 Offset, uint32 Size, EPixelFormat Format, bool bIsBuffer) |
| void | Invalidate () |
Protected Attributes | |
| FMetalDevice & | Device |
| bool | bOwnsResource = true |
| typedef TVariant<FEmptyVariantState , MTLTexturePtr , FBufferView , FTextureBufferBacked > FMetalResourceViewBase::TStorage |
|
strong |
|
inlineprotected |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
pure virtual |
Implemented in FMetalShaderResourceView, and FMetalUnorderedAccessView.
|
protected |