FOpenGLDynamicRHI::RHISetShaderSampler

Sets sampler state.

Windows
MacOS
Linux

Override Hierarchy

IRHICommandContext::RHISetShaderSampler()

FOpenGLDynamicRHI::RHISetShaderSampler()

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp

Syntax

virtual void RHISetShaderSampler
(
    FRHIGraphicsShader * Shader,
    uint32 SamplerIndex,
    FRHISamplerState * NewState
)

Remarks

Sets sampler state.

Parameters

Parameter

Description

Shader

The shader to set the sampler for.

SamplerIndex

The index of the sampler.

NewState

The new sampler state.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss