FOpenGLDynamicRHI::RHICreateShaderResourceView

Override Hierarchy

FDynamicRHI::RHICreateShaderResourceView()

FOpenGLDynamicRHI::RHICreateShaderResourceView()

Syntax

virtual FShaderResourceViewRHIRef RHICreateShaderResourceView
(
    FTexture2DRHIParamRef Texture2DRHI,
    uint8 MipLevel
)

Remarks

Creates a shader resource view for a 2d texture, viewing only a single mip level. Useful when rendering to one mip while sampling from another.

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLTexture.cpp