engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
TD3D11Texture2D< BaseResourceType > 模板类 参考

2D texture (vanilla, cubemap or 2D array) 更多...

#include <D3D11Resources.h>

+ 类 TD3D11Texture2D< BaseResourceType > 继承关系图:

Public 成员函数

virtual void * GetNativeResource () const override final
 FRHITexture override. 更多...
 
void * Lock (uint32 MipIndex, uint32 ArrayIndex, EResourceLockMode LockMode, uint32 &DestStride, bool bForceLockDeferred=false)
 Locks one of the texture's mip-maps. 更多...
 
 TD3D11Texture2D (class FD3D11DynamicRHI *InD3DRHI, ID3D11Texture2D *InResource, ID3D11ShaderResourceView *InShaderResourceView, bool bInCreatedRTVsPerSlice, int32 InRTVArraySize, const TArray< TRefCountPtr< ID3D11RenderTargetView > > &InRenderTargetViews, TRefCountPtr< ID3D11DepthStencilView > *InDepthStencilViews, uint32 InSizeX, uint32 InSizeY, uint32 InSizeZ, uint32 InNumMips, uint32 InNumSamples, EPixelFormat InFormat, bool bInCubemap, ETextureCreateFlags InFlags, bool bInPooled, const FClearValueBinding &InClearValue)
 Initialization constructor.
 
void Unlock (uint32 MipIndex, uint32 ArrayIndex)
 Unlocks a previously locked mip-map.
 
- Public 成员函数 继承自 FD3D11TextureBase
ID3D11RenderTargetView * GetRenderTargetView (int32 MipIndex, int32 ArraySliceIndex) const
 Get the render target view for the specified mip and array slice. 更多...
 

Public 属性

ETextureCreateFlags Flags
 Flags used when the texture was created
 

额外继承的成员函数

- Protected 属性 继承自 FD3D11TextureBase
FD3D11BaseShaderResource * BaseShaderResource
 Pointer to the base shader resource. 更多...
 
FD3D11DynamicRHI * D3DRHI
 The D3D11 RHI that created this texture.
 
TRefCountPtr< ID3D11DepthStencilView > DepthStencilViews [FExclusiveDepthStencil::MaxIndex]
 A depth-stencil targetable view of the texture.
 
int32 MemorySize
 Amount of memory allocated by this texture, in bytes.
 
uint32 NumDepthStencilViews
 Number of Depth Stencil Views - used for fast call tracking.
 
TArray< TRefCountPtr< ID3D11RenderTargetView > > RenderTargetViews
 A render targetable view of the texture.
 
TRefCountPtr< ID3D11Resource > Resource
 The texture resource.
 
TRefCountPtr< ID3D11ShaderResourceView > ShaderResourceView
 A shader resource view of the texture.
 

详细描述

template<typename BaseResourceType>
class TD3D11Texture2D< BaseResourceType >

2D texture (vanilla, cubemap or 2D array)

成员函数说明

◆ GetNativeResource()

template<typename BaseResourceType >
virtual void * TD3D11Texture2D< BaseResourceType >::GetNativeResource ( ) const
inlinefinaloverridevirtual

FRHITexture override.

See FRHITexture::GetNativeResource()

◆ Lock()

template<typename BaseResourceType >
void * TD3D11Texture2D< BaseResourceType >::Lock ( uint32  MipIndex,
uint32  ArrayIndex,
EResourceLockMode  LockMode,
uint32 &  DestStride,
bool  bForceLockDeferred = false 
)

Locks one of the texture's mip-maps.

返回
A pointer to the specified texture data.

该类的文档由以下文件生成: