820 B
820 B
Juliet\src\Graphics\D3D12\D3D12Shader
Source Files
- Header:
Juliet\src\Graphics\D3D12\D3D12Shader.h - Source:
Juliet\src\Graphics\D3D12\D3D12Shader.cpp
AI Description
This D3D12 header defines a structure and factory functions for creating GPU shaders in the Juliet engine. The source allocates memory dynamically to hold shader byte code, returning it as an abstract Shader pointer while managing internal buffer stats like sampler counts within the concrete struct.
Symbols
Namespace Juliet::D3D12
Classes, Structs & Unions
struct D3D12Shader
Functions & Methods
extern Shader* CreateShader(NonNullPtr<GPUDriver> driver, ByteBuffer shaderByteCode, ShaderCreateInfo& shaderCreateInfo)extern void DestroyShader(NonNullPtr<GPUDriver> driver, NonNullPtr<Shader> shader)