Modules

d3d_compiler

moduleSource
Windows

#import "d3d_compiler";

Procedures#

(shader: string, source_name: string, pDefines: [] string, pInclude: *ID3DInclude, entry_point: string, target: string, Flags1: u32, Flags2: u32) -> (bytecode: string, errors: string, HRESULT)

Reviewed string overloads deliberately ignore define slices. Native blob ownership differs between the copied-memory and direct file interfaces.

(file_name: string, pDefines: [] string, pInclude: *ID3DInclude, entry_point: string, target: string, Flags1: u32, Flags2: u32) -> (pCode: *ID3DBlob, pErrorMsgs: *ID3DBlob, HRESULT)