class ShaderInclude

Inherits: Resource

Raw text resource that serves as an include file for shaders.

Public

Methods

GetString

const String &GetString() const

Text of the include file.

staticCreate

static HShaderInclude Create(const String &includeString)

Creates a new include file resource with the specified include string.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const

Returns an interface you can use to access class' Run Time Type Information.

Internal

Methods

staticCreatePtrInternal

static SPtr<ShaderInclude> CreatePtrInternal(const String &includeString)

Creates an include file resource with the specified include string.

Private

Constructors

ShaderInclude

ShaderInclude(const String &includeString)

Fields

mString

String mString