Navigation
API > API/Editor > API/Editor/UnrealEd
Batched element parameters for previewing 2d textures.
| Name | FBatchedElementTexture2DPreviewParameters |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Texture2DPreview.h |
| Include Path | #include "Texture2DPreview.h" |
Syntax
class FBatchedElementTexture2DPreviewParameters : public FBatchedElementParameters
Inheritance Hierarchy
- FRefCountedObject → FBatchedElementParameters → FBatchedElementTexture2DPreviewParameters
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBatchedElementTexture2DPreviewParameters
(
float InMipLevel, |
MipLevel = -1 to auto-mip Layer is for VT, must be an integer SliceIndex = -1 for all | Texture2DPreview.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsNormalMap | bool | Texture2DPreview.h | ||
| bIsSingleChannelFormat | bool | Texture2DPreview.h | ||
| bIsSingleVTPhysicalSpace | bool | Texture2DPreview.h | ||
| bIsTextureArray | bool | Texture2DPreview.h | ||
| bIsVirtualTexture | bool | Parameters that are used to select a shader permutation | Texture2DPreview.h | |
| bUsePointSampling | bool | Whether to use nearest-point sampling when rendering the texture | Texture2DPreview.h | |
| LayerIndex | float | Texture2DPreview.h | ||
| MipLevel | float | Parameters that need to be passed to the shader | Texture2DPreview.h | |
| SliceIndex | float | Texture2DPreview.h |
Functions
Public
Overridden from FBatchedElementParameters
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BindShaders
(
FRHICommandList& RHICmdList, |
Binds vertex and pixel shaders for this element | Texture2DPreview.h |