FShaderParamTypeDefinition

Fully describes the name and type of a parameter a shader exposes.

Choose your operating system:

Windows

macOS

Linux

References

Module

ComputeFramework

Header

/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ShaderParamTypeDefinition.h

Include

#include "ComputeFramework/ShaderParamTypeDefinition.h"

Syntax

USTRUCT()
struct FShaderParamTypeDefinition

Remarks

Fully describes the name and type of a parameter a shader exposes.

Variables

Name Description

Public variable UProperty

uint16

 

ArrayElementCount

Public variable UProperty

EShaderParamBin...

 

BindingType

Public variable UProperty Category, EditAnywhere

FString

 

Name

Public variable UProperty

EShaderResource...

 

ResourceType

Public variable UProperty Category visibleanywhere

FString

 

TypeDeclaration

Public variable UProperty

FShaderValueTyp...

 

ValueType

The value type for this definition.

Functions

Name Description

Public function Const

bool

 

IsAnyBufferType()

Public function Const

bool

 

IsAnyTextureType()

Public function Const

bool

 

IsValid()

Determines if the type definition is valid according to HLSL rules.

Public function Static

EShaderFunda...

 

ParseDimension

(
    const FString& Str
)

Public function Static

EShaderFunda...

 

ParseFundamental

(
    const FString& Str
)

Public function Static

FIntVector2

 

ParseMatrixDimension

(
    const FString& Str
)

Public function Static

EShaderResou...

 

ParseResource

(
    const FString& Str
)

Public function Static

uint8

 

ParseVectorDimension

(
    const FString& Str
)

Public function

void

 

ResetTypeDeclaration()