HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RV_Utils.h File Reference
#include "RV_API.h"
#include "RV_TypePtrs.h"
#include <UT/UT_Vector3.h>
#include <UT/UT_Matrix4.h>
#include <UT/UT_UniquePtr.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for RV_Utils.h:

Go to the source code of this file.

Namespaces

 RV_Utils
 

Typedefs

typedef UT_UniquePtr< RV_VKImageRV_VKImagePtr
 

Functions

RV_API RV_VKImagePtr RV_Utils::getRandomTexture (RV_Render *r, unsigned int seed, bool interp, int size=64)
 Returns an 8b RGBA 64x64 texture with 0-1 random values in all comps. More...
 
RV_API RV_VKImagePtr RV_Utils::getRandomTexture3D (RV_Render *r, unsigned int seed, bool interp, int size=32)
 Returns an 8b RGBA size^3 3D texture with 0-1 random values. More...
 
RV_API RV_VKImagePtr RV_Utils::getRandomTextureArray (RV_Render *r, unsigned int seed, bool interp, int num_layers, int size=64)
 Returns an 8b RGBA size^2 2D texture array of size 'num_layers'. More...
 
RV_API UT_UniquePtr< RV_VKImageRV_Utils::resolveMSTexture (RV_Render *r, RV_VKImage *ms_image)
 
RV_API bool RV_Utils::setupColorCorrection (RV_Render *r, RV_ShaderProgram *sh, int set_number, const PXL_Lookup *lut, fpreal brightness, fpreal bright_shift, fpreal gamma, fpreal alpha_scale, exint &lut_version, UT_UniquePtr< RV_ShaderVariableSet > &set, UT_UniquePtr< RV_ShaderBlock > &block, UT_UniquePtr< RV_VKImage > &main_lut_image, UT_UniquePtr< RV_VKImage > &pre_lut_image)
 Create resources for color correction in HOUcolorCorrect(). More...
 
RV_API void RV_Utils::createLUTTexture (RV_Render *r, const PXL_Lookup *lut, UT_UniquePtr< RV_VKImage > &main_lut, UT_UniquePtr< RV_VKImage > &pre)
 

Typedef Documentation

Definition at line 28 of file RV_Utils.h.