Rebel Fork Framework
Urho3D::RaytracingGeometryMaterial Struct Reference

Material of raytracing geometry. More...

#include <Urho3D/Glow/RaytracerScene.h>

Public Member Functions

Vector2 ConvertUV (const Vector2 &uv) const
 Return transformed UV coordinates.
 
Color SampleDiffuse (const Vector2 &uv) const
 Return diffuse value at UV.
 

Public Attributes

bool opaque_ {}
 Whether the material is opaque.
 
Vector3 diffuseColor_ {}
 Diffuse color.
 
float alpha_ {}
 Alpha value.
 
bool storeUV_ {}
 Whether to store main texture UV.
 
Vector4 uOffset_
 Transform for U coordinate.
 
Vector4 vOffset_
 Transform for V coordinate.
 
ea::string diffuseImageName_
 Resource name of diffuse image.
 
SharedPtr< ImagediffuseImage_
 Diffuse image.
 
int diffuseImageWidth_ {}
 Diffuse image width.
 
int diffuseImageHeight_ {}
 Diffuse image height.
 

Detailed Description

Material of raytracing geometry.


The documentation for this struct was generated from the following file: