C# Класс OptixCore.Library.SurfaceProgram

A Program representing a Surface shader program. Called when a ray intersects a surface.
Наследование: OptixCore.Library.OptixProgram
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SurfaceProgram ( OptixCore.Library.Context context, RayHitType type, String filename, String programName ) : System

Creates a program located at [filename] with main function [programName]

Приватные методы

Метод Описание
SurfaceProgram ( OptixCore.Library.Context ctx, RayHitType type, IntPtr program ) : System

Описание методов

SurfaceProgram() публичный Метод

Creates a program located at [filename] with main function [programName]
public SurfaceProgram ( OptixCore.Library.Context context, RayHitType type, String filename, String programName ) : System
context OptixCore.Library.Context Context with which to create the program.
type RayHitType Type of ray this program represents.
filename String Path of the compiled cuda ptx file holding the program.
programName String Name of the main function of the program.
Результат System