Navigation
API > API/Plugins > API/Plugins/DMXPixelMappingRenderer
Renders the texture that is used to pixel map
| Name | UDMXPixelMappingPreprocessRenderer |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingRenderer/Public/DMXPixelMappingPreprocessRenderer.h |
| Include Path | #include "DMXPixelMappingPreprocessRenderer.h" |
Syntax
UCLASS (BlueprintType)
class UDMXPixelMappingPreprocessRenderer : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDMXPixelMappingPreprocessRenderer
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplyMaterialProxy | TSharedPtr< UE::DMXPixelMapping::Rendering::Preprocess::Private::IPreprocessApplyFilterMaterialProxy > | Proxy to render the input | DMXPixelMappingPreprocessRenderer.h | |
| bApplyFilterMaterialEachDownsamplePass | bool | If true, the filter material is applied each downsample pass, otherwise only once after the last pass | DMXPixelMappingPreprocessRenderer.h |
|
| BlurDistance | float | Blur distance applied, only applicable if the filter matierial has a "BlurDistance" parameter | DMXPixelMappingPreprocessRenderer.h |
|
| BlurDistanceParamterName | FName | The blur distance parameter name in the Filter Material | DMXPixelMappingPreprocessRenderer.h |
|
| bShowInputSize | bool | If true, shows the input size property | DMXPixelMappingPreprocessRenderer.h |
|
| CustomOutputSize | FIntPoint | Size of the rendered texture | DMXPixelMappingPreprocessRenderer.h |
|
| FilterMaterial | TObjectPtr< UMaterialInterface > | Filter material applied to the rendered input | DMXPixelMappingPreprocessRenderer.h |
|
| FilterMID | TObjectPtr< UMaterialInstanceDynamic > | Actual material instance dynamic applied to the rendered input | DMXPixelMappingPreprocessRenderer.h |
|
| InputSize | FVector2D | Size of the input texture (Material and User Widget only) | DMXPixelMappingPreprocessRenderer.h |
|
| NumDownSamplePasses | int32 | Number of times the pixelmapping input is downsampled | DMXPixelMappingPreprocessRenderer.h |
|
| OutputSizeMode | EDMXPixelMappingRenderingPreprocessorSizeMode | Defines how the texture is resized after filtering | DMXPixelMappingPreprocessRenderer.h |
|
| RenderInputProxy | TSharedPtr< UE::DMXPixelMapping::Rendering::Preprocess::Private::IPreprocessRenderInputProxy > | Proxy to render the input | DMXPixelMappingPreprocessRenderer.h | |
| TextureParameterName | FName | The texture parameter name in the Filter Material | DMXPixelMappingPreprocessRenderer.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearInput() |
Clears input | DMXPixelMappingPreprocessRenderer.h | |
float GetBlurDistance() |
Returns the blur distance parameter | DMXPixelMappingPreprocessRenderer.h | |
FName GetBlurDistanceParameterName() |
Returns the blur distance parameter name | DMXPixelMappingPreprocessRenderer.h | |
TOptional< FVector2D > GetDesiredOutputSize2D() |
Returns the desired output size, or an unset optional vector 2D if the resulting size should be used | DMXPixelMappingPreprocessRenderer.h | |
const TObjectPtr< UMaterialInstanceDynamic > & GetFilterMID() |
Returns the Filter material, or nullptr if no Filter material is set | DMXPixelMappingPreprocessRenderer.h | |
int32 GetNumDownsamplePasses() |
Returns the number of time the texture should be downsampled by factor 2 | DMXPixelMappingPreprocessRenderer.h | |
UTexture * GetRenderedTexture() |
Returns the rendered input texture, or nullptr if no texture was rendered yet | DMXPixelMappingPreprocessRenderer.h | |
FVector2D GetResultingSize2D() |
Returns the resulting size of preprocessing, even if rendering did not occur yet | DMXPixelMappingPreprocessRenderer.h | |
FName GetTextureParameterName() |
Returns the texture parameter name | DMXPixelMappingPreprocessRenderer.h | |
void Render() |
Renders the current input | DMXPixelMappingPreprocessRenderer.h | |
void SetInputMaterial
(
UMaterialInterface* InMaterial |
DEPRECATED 5.4 - Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
void SetInputMaterial
(
UMaterialInterface* InMaterial, |
Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
void SetInputTexture
(
UTexture* InTexture |
DEPRECATED 5.4 - Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
void SetInputTexture
(
UTexture* InTexture, |
Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
void SetInputUserWidget
(
UUserWidget* InUserWidget |
DEPRECATED 5.4 - Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
void SetInputUserWidget
(
UUserWidget* InUserWidget, |
Sets the input texture that is used when rendering | DMXPixelMappingPreprocessRenderer.h | |
bool ShouldApplyFilterMaterialEachDownsamplePass() |
Returns true, if the Filter material should be applied each downsample pass | DMXPixelMappingPreprocessRenderer.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
DMXPixelMappingPreprocessRenderer.h | ||
virtual void PostLoad() |
DMXPixelMappingPreprocessRenderer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetBlurDistanceMemberNameChecked() |
DMXPixelMappingPreprocessRenderer.h | ||
static FName GetCustomOutputSizeMemberNameChecked() |
DMXPixelMappingPreprocessRenderer.h | ||
static FName GetFilterMaterialMemberNameChecked() |
DMXPixelMappingPreprocessRenderer.h | ||
static FName GetOutputSizeModeMemberNameChecked() |
Property name getters. | DMXPixelMappingPreprocessRenderer.h |